Compare commits

...

7 Commits

3 changed files with 25 additions and 7 deletions
+3 -2
View File
@@ -7,8 +7,8 @@
* **Status**: 2, beta
* **Image**: [`listmonk/listmonk`](https://hub.docker.com/r/listmonk/listmonk/), 2, upstream
* **Healthcheck**: No
* **Backups**: No
* **Email**: ?
* **Backups**: Yes
* **Email**: Yes
* **Tests**: 2
* **SSO**: No
<!-- endmetadata -->
@@ -21,3 +21,4 @@
to save secrets in `pass`)
4. `abra app config YOURAPPDOMAIN` - be sure to change `$DOMAIN` to something that resolves to your Docker swarm box. Nothing to change apart from the DOMAIN at the moment.
5. `abra app deploy YOURAPPDOMAIN`
6. To make media uploads work, go to Settings->Media uploads and set upload path to "/uploads" and click the Save-button.
+5 -5
View File
@@ -3,7 +3,7 @@ version: "3.8"
services:
app:
image: listmonk/listmonk:v5.0.1
image: listmonk/listmonk:v6.1.0
networks:
- internal
- proxy
@@ -31,12 +31,12 @@ services:
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=9000"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
- "coop-cloud.${STACK_NAME}.version=4.0.0+v5.0.1"
- "coop-cloud.${STACK_NAME}.version=5.1.0+v6.1.0"
volumes:
- "uploads:/uploads"
db:
image: postgres:13
image: postgres:18
networks:
- internal
secrets:
@@ -51,7 +51,7 @@ services:
timeout: 5s
retries: 6
volumes:
- "postgres_data:/var/lib/postgresql/data"
- "postgres:/var/lib/postgresql"
deploy:
labels:
backupbot.backup: "true"
@@ -81,5 +81,5 @@ networks:
external: true
volumes:
postgres_data:
postgres:
uploads:
+17
View File
@@ -0,0 +1,17 @@
!!! Postgres major version upgrade and volume change !!!
We're bumping from postgres 13 to 18 and the storage location of files has
changed from /var/lib/postgres/data to /var/lib/postgres/18. Volume was
adjusted accordingly. Take a dump of DB before the upgrade by running
pg_dump -U listmonk -Fc -b -f /var/lib/postgres/data/dump
in the db container of the app. Then pull this file out from the docker volume
Then deploy the new version of the app. Next, copy the dump that you just
made into new volume /var/lib/docker/volumes/your_app_name_postgres/_data/dump
After that you can run
pg_restore --clean -U listmonk -d listmonk /var/lib/postgres/dump
Afterwards you should restart the db container and it should be all good.