1
0

Žiadny popis

ulyc 45bbd3effa 🐛: fix Readme image 2 rokov pred
base 42fa848a66 📝: update paste.sr.ht desc 2 rokov pred
nginx_conf 5510c3134f 🐛: fix nginx mime type 2 rokov pred
postgres_sh a749d100d6 🔨: refactor some code 2 rokov pred
template 4615810185 🐛: fix domain name and nginx depends 2 rokov pred
LICENSE c89f1e5539 📝: add license 2 rokov pred
README.md 45bbd3effa 🐛: fix Readme image 2 rokov pred
init.sh a749d100d6 🔨: refactor some code 2 rokov pred
sourcehut.png 45bbd3effa 🐛: fix Readme image 2 rokov pred
start.sh ccac43e9e6 🔥: remove metasrht-manageuser 2 rokov pred

README.md

sourcehut [x] docker

sourcehut.png

Docker

This project is not recommend for use in production.

Quick Start

bash ./init.sh

docker-compose up --build -d

If you don't set domain, it will be set to localtest.me(Resolve to 127.0.0.1).

You can visit the site at http://meta.localtest.me.

Init Admin Account

$ docker exec -it {{your_container_id}} /bin/sh

$ /usr/bin/metasrht-manageuser [-fmPps] [-e <EMAIL>] [-t <USER_TYPE>] <USERNAME>


Options:
    -e <EMAIL>      set user email
    -f              perform action even if using different authentication method
    -m              modify existing user
    -P              clear password
    -p              set password (default if creating a new user)
    -s              read initial password from stdin (only effective with -p)
    -t <USER_TYPE>  set user type to USER_TYPE; USER_TYPE must be one of these
                    values: unconfirmed, active_non_paying, active_free,
                    active_paying, active_delinquent, admin, unknown, suspended
````
##  Configuration

If you list want to run `lists.sr.ht` or `api` service, you need to set SMTP in [mail] section of `./config.ini` .
Then uncomment the code corresponding in `start.sh`.

bash docker-compose up --build -d --force ````

Advance Configuration

See official document

Requirements

docker-compose version > 1.29

Links