Update 'README.md'

This commit is contained in:
knoflook 2022-02-24 08:04:30 +00:00
parent e498ab3c90
commit 09801668a7
1 changed files with 4 additions and 1 deletions

View File

@ -41,9 +41,12 @@ Then, on your host (outside of the containers), you'll need to fix permissions f
chown -R 991:991 /var/lib/docker/volumes/<service-name>_app/_data chown -R 991:991 /var/lib/docker/volumes/<service-name>_app/_data
``` ```
And finally, within any app container, create an admin account: And finally, within the `app` container, create an admin account:
``` ```
export OTP_SECRET=$(cat /run/secrets/otp_secret)
export SECRET_KEY_BASE=$(cat /run/secrets/secret_key_base)
export DB_PASS=$(cat /run/secrets/db_password)
tootctl accounts create <username> --email <email> --confirmed --role admin tootctl accounts create <username> --email <email> --confirmed --role admin
``` ```