Update 'README.md'
This commit is contained in:
parent
e498ab3c90
commit
09801668a7
|
@ -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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue