Bot Updating Documentation

pull/85/head
LinuxServer-CI 2023-01-27 03:16:03 -06:00
rodzic c878e99230
commit 6cf49f9b4b
1 zmienionych plików z 9 dodań i 3 usunięć

Wyświetl plik

@ -43,11 +43,17 @@ This image provides various versions that are available via tags. Please read th
## Application Setup
To generate keys for `SECRET_KEY_BASE` & `OTP_SECRET` run `docker run --rm -it -w /app/www --entrypoint rake lscr.io/linuxserver/mastodon secret` once for each.
We provide aliases for the common commands that execute in the correct context so that environment variables from secrets are available to them:
To generate keys for `VAPID_PRIVATE_KEY` & `VAPID_PUBLIC_KEY` run `docker run --rm -it -w /app/www --entrypoint rake lscr.io/linuxserver/mastodon mastodon:webpush:generate_vapid_key`
* To generate keys for `SECRET_KEY_BASE` & `OTP_SECRET` run `docker run --rm -it --entrypoint /bin/bash lscr.io/linuxserver/mastodon generate-secret` once for each.
To use `tootctl` you can run something like `docker exec -it -w /app/www mastodon bin/tootctl <command>`
* To generate keys for `VAPID_PRIVATE_KEY` & `VAPID_PUBLIC_KEY` run `docker run --rm -it --entrypoint /bin/bash lscr.io/linuxserver/mastodon generate-vapid`
Both of the secret generation aliases above can be run without any other setup having been carried out.
* To use `tootctl` you can run something like `docker exec -it lscr.io/linuxserver/mastodon /tootctl <command>`
Using `tootctl` requires you to complete the initial Mastodon configuration first.
This container *requires* separate postgres and redis instances to run.