Compare commits
5
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ede639916c | ||
|
|
5f50022bb4 | ||
|
|
a5a3b36755 | ||
|
|
a081d1dba0 | ||
|
|
f783d9988b |
+3
-3
@@ -3,7 +3,7 @@ version: "3.8"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: discourse/discourse:2026.7.1
|
image: discourse/discourse:3.5.3
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
- internal
|
- internal
|
||||||
@@ -54,7 +54,7 @@ services:
|
|||||||
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
|
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
|
||||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||||
- "coop-cloud.${STACK_NAME}.version=1.1.0+2026.7.1"
|
- "coop-cloud.${STACK_NAME}.version=1.0.0+3.5.3"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: "curl -fsS http://localhost/srv/status || exit 1"
|
test: "curl -fsS http://localhost/srv/status || exit 1"
|
||||||
interval: 30s
|
interval: 30s
|
||||||
@@ -116,7 +116,7 @@ services:
|
|||||||
backupbot.restore.post-hook: "/pg_backup.sh restore"
|
backupbot.restore.post-hook: "/pg_backup.sh restore"
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:8.10-alpine
|
image: redis:7.4-alpine
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
+1
-13
@@ -2,8 +2,6 @@ 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
|
image. Some env vars need to be renamed for this migration; everything else
|
||||||
should happen automatically.
|
should happen automatically.
|
||||||
|
|
||||||
** WARNING A: renaming env vars
|
|
||||||
|
|
||||||
Rename these in your app's .env (the values carry over):
|
Rename these in your app's .env (the values carry over):
|
||||||
|
|
||||||
DISCOURSE_SMTP_HOST --> DISCOURSE_SMTP_ADDRESS
|
DISCOURSE_SMTP_HOST --> DISCOURSE_SMTP_ADDRESS
|
||||||
@@ -11,17 +9,7 @@ Rename these in your app's .env (the values carry over):
|
|||||||
DISCOURSE_SMTP_AUTH --> DISCOURSE_SMTP_AUTHENTICATION
|
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)
|
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 B: undeploy before deploy
|
WARNING: if your deployment's database has an "install user" other than `postgres`
|
||||||
|
|
||||||
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
|
(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
|
for this migration, otherwise the postgres upgrade aborts with an install-user
|
||||||
mismatch.
|
mismatch.
|
||||||
|
|||||||
Reference in New Issue
Block a user