You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,11 +68,17 @@ This image provides various versions that are available via tags. Please read th
68
68
69
69
## Application Setup
70
70
71
-
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.
71
+
We provide aliases for the common commands that execute in the correct context so that environment variables from secrets are available to them:
72
72
73
-
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`
73
+
*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.
74
74
75
-
To use `tootctl` you can run something like `docker exec -it -w /app/www mastodon bin/tootctl <command>`
75
+
* To generate keys for `VAPID_PRIVATE_KEY` & `VAPID_PUBLIC_KEY` run `docker run --rm -it --entrypoint /bin/bash lscr.io/linuxserver/mastodon generate-vapid`
76
+
77
+
Both of the secret generation aliases above can be run without any other setup having been carried out.
78
+
79
+
* To use `tootctl` you can run something like `docker exec -it lscr.io/linuxserver/mastodon tootctl <command>`
80
+
81
+
Using `tootctl` requires you to complete the initial Mastodon configuration first.
76
82
77
83
This container *requires* separate postgres and redis instances to run.
Copy file name to clipboardExpand all lines: readme-vars.yml
+9-3Lines changed: 9 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -76,11 +76,17 @@ param_volumes:
76
76
# application setup block
77
77
app_setup_block_enabled: true
78
78
app_setup_block: |
79
-
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.
79
+
We provide aliases for the common commands that execute in the correct context so that environment variables from secrets are available to them:
80
80
81
-
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`
81
+
* 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.
82
82
83
-
To use `tootctl` you can run something like `docker exec -it -w /app/www mastodon bin/tootctl <command>`
83
+
* To generate keys for `VAPID_PRIVATE_KEY` & `VAPID_PUBLIC_KEY` run `docker run --rm -it --entrypoint /bin/bash lscr.io/linuxserver/mastodon generate-vapid`
84
+
85
+
Both of the secret generation aliases above can be run without any other setup having been carried out.
86
+
87
+
* To use `tootctl` you can run something like `docker exec -it lscr.io/linuxserver/mastodon /tootctl <command>`
88
+
89
+
Using `tootctl` requires you to complete the initial Mastodon configuration first.
84
90
85
91
This container *requires* separate postgres and redis instances to run.
0 commit comments