kopia lustrzana https://github.com/linuxserver/docker-documentation
Bot Updating Documentation
rodzic
f395cd4ffd
commit
c4d45a1226
|
@ -32,12 +32,23 @@ The architectures supported by this image are:
|
|||
| arm64 | ✅ | arm64v8-\<version tag\> |
|
||||
| armhf| ❌ | |
|
||||
|
||||
## Version Tags
|
||||
|
||||
This image provides various versions that are available via tags. Please read the descriptions carefully and exercise caution when using unstable or development tags.
|
||||
|
||||
| Tag | Available | Description |
|
||||
| :----: | :----: |--- |
|
||||
| latest | ✅ | Stable releases. |
|
||||
| develop | ✅ | Pre-releases *only*. |
|
||||
|
||||
## 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.
|
||||
|
||||
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 use `tootctl` you can run something like `docker exec -it -w /app/www mastodon bin/tootctl <command>`
|
||||
|
||||
This container *requires* separate postgres and redis instances to run.
|
||||
|
||||
We support all of the official [environment variables](https://docs.joinmastodon.org/admin/config) for configuration. In place of adding them all to your run/compose you can use an env file such as [this example](https://github.com/mastodon/mastodon/blob/main/.env.production.sample) from the upstream project.
|
||||
|
|
Ładowanie…
Reference in New Issue