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
{{ message }}
Repository navigation
Commit 7b0959b
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: readme-vars.yml
+10-3Lines changed: 10 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -79,11 +79,11 @@ app_setup_block_enabled: true
79
79
app_setup_block: |
80
80
We provide aliases for the common commands that execute in the correct context so that environment variables from secrets are available to them:
81
81
82
-
* To generate keys for `SECRET_KEY_BASE` & `OTP_SECRET` run `docker run --rm -it --entrypoint /bin/bash lscr.io/linuxserver/mastodon:glitch generate-secret` once for each.
82
+
* To generate keys for `SECRET_KEY_BASE` & `OTP_SECRET` run `docker run --rm -it --entrypoint /bin/bash lscr.io/linuxserver/mastodon:{{ release_tag }} generate-secret` once for each.
83
83
84
-
* To generate keys for `VAPID_PRIVATE_KEY` & `VAPID_PUBLIC_KEY` run `docker run --rm -it --entrypoint /bin/bash lscr.io/linuxserver/mastodon:glitch generate-vapid`
84
+
* To generate keys for `VAPID_PRIVATE_KEY` & `VAPID_PUBLIC_KEY` run `docker run --rm -it --entrypoint /bin/bash lscr.io/linuxserver/mastodon:{{ release_tag }} generate-vapid`
85
85
86
-
* To generate keys for `ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY`, `ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT`, & `ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY` run `docker run --rm -it --entrypoint /bin/bash lscr.io/linuxserver/mastodon:glitch generate-active-record`
86
+
* To generate keys for `ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY`, `ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT`, & `ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY` run `docker run --rm -it --entrypoint /bin/bash lscr.io/linuxserver/mastodon:{{ release_tag }} generate-active-record`
87
87
88
88
Both of the secret generation aliases above can be run without any other setup having been carried out.
89
89
@@ -97,6 +97,12 @@ app_setup_block: |
97
97
98
98
For more information check out the [mastodon documentation](https://docs.joinmastodon.org/).
99
99
100
+
### Upgrade from 4.7 to 5.0
101
+
102
+
* Stop your running 4.7 container and pull the new image, make sure the DB and Redis are still running
103
+
* Run `docker compose run --rm -e SKIP_POST_DEPLOYMENT_MIGRATIONS=true --entrypoint /bin/bash mastodon migrate`
104
+
* Once the migrations are complete, start the Mastodon container as normal
105
+
100
106
### Running separate sidekiq instances
101
107
102
108
It is currently only supported to run a single queue per container instance *or* all queues in a single container instance.
@@ -174,6 +180,7 @@ init_diagram: |
174
180
"mastodon:glitch" <- Base Images
175
181
# changelog
176
182
changelogs:
183
+
- {date: "03.12.26:", desc: "Add migration helper for major version upgrades."}
177
184
- {date: "29.11.26:", desc: "Fetch Ruby from library image to match the version required by upstream."}
178
185
- {date: "05.07.26:", desc: "Rebase to Alpine 3.24."}
0 commit comments