Compare commits

..

2 Commits

Author SHA1 Message Date
0d7519e9ef chore: upgrade app 3.5.3 -> 2026.1.5, redis 7.4-alpine -> 8.8-alpine
Some checks failed
cc-ci/testme cc-ci: failure
2026-07-13 17:59:04 +00:00
c10c04c520 chore: upgrade redis 7.4-alpine -> 8.8-alpine
Some checks failed
cc-ci/testme cc-ci: failure
2026-06-19 02:21:36 +00:00
2 changed files with 15 additions and 3 deletions

View File

@ -3,7 +3,7 @@ version: "3.8"
services:
app:
image: discourse/discourse:3.5.3
image: discourse/discourse:2026.1.5
networks:
- proxy
- internal
@ -116,7 +116,7 @@ services:
backupbot.restore.post-hook: "/pg_backup.sh restore"
redis:
image: redis:7.4-alpine
image: redis:8.8-alpine
networks:
- internal
volumes:

View File

@ -2,6 +2,8 @@ This release switches from the bitnami image to the official discourse/discourse
image. Some env vars need to be renamed for this migration; everything else
should happen automatically.
** WARNING A: renaming env vars
Rename these in your app's .env (the values carry over):
DISCOURSE_SMTP_HOST --> DISCOURSE_SMTP_ADDRESS
@ -9,7 +11,17 @@ Rename these in your app's .env (the values carry over):
DISCOURSE_SMTP_AUTH --> DISCOURSE_SMTP_AUTHENTICATION
DISCOURSE_SMTP_PROTOCOL --> DISCOURSE_SMTP_ENABLE_START_TLS (takes a boolean true/false, not the old tls/ssl value, so translate it rather than copying it straight across)
WARNING: if your deployment's database has an "install user" other than `postgres`
** WARNING B: undeploy before deploy
it is necessary to `abra app undeploy` your old discourse app before deploying this version. otherwise the database will get killed and be in a bad state before the migration.
this was a non-fatal error in testing, but still a huge pain.
`abra app undeploy YOURDOMAIN` # cleaning stops your discourse
`abra app deploy YOURDOMAIN` # with the new version
** WARNING C: install user
if your deployment's database has an "install user" other than `postgres`
(some older deployments do), you must set the POSTGRES_USER env var in your .env
for this migration, otherwise the postgres upgrade aborts with an install-user
mismatch.