Compare commits
3 Commits
1.0.0+v2.5
...
main
Author | SHA1 | Date |
---|---|---|
p4u1 | ac974a4631 | |
3wc | f2146b1c11 | |
3wc | 2ba57075cc |
|
@ -4,7 +4,7 @@
|
|||
|
||||
<!-- metadata -->
|
||||
* **Category**: Development
|
||||
* **Status**: 1, alpha
|
||||
* **Status**: 2, beta
|
||||
* **Image**: [`listmonk/listmonk`](https://hub.docker.com/r/listmonk/listmonk/), 2, upstream
|
||||
* **Healthcheck**: No
|
||||
* **Backups**: No
|
||||
|
@ -21,4 +21,3 @@
|
|||
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`
|
||||
|
||||
|
|
12
compose.yml
12
compose.yml
|
@ -3,7 +3,7 @@ version: "3.8"
|
|||
|
||||
services:
|
||||
app:
|
||||
image: listmonk/listmonk:v2.5.1
|
||||
image: listmonk/listmonk:v3.0.0
|
||||
networks:
|
||||
- internal
|
||||
- proxy
|
||||
|
@ -32,7 +32,7 @@ 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=1.0.0+v2.5.1"
|
||||
- "coop-cloud.${STACK_NAME}.version=2.0.0+v3.0.0"
|
||||
volumes:
|
||||
- "uploads:/uploads"
|
||||
|
||||
|
@ -53,6 +53,14 @@ services:
|
|||
retries: 6
|
||||
volumes:
|
||||
- "postgres_data:/var/lib/postgresql/data"
|
||||
deploy:
|
||||
labels:
|
||||
backupbot.backup: "true"
|
||||
backupbot.backup.pre-hook: sh -c 'pg_dump -U "$$POSTGRES_USER" -Fc "$$POSTGRES_DB" | gzip > "/postgres.dump.gz"'
|
||||
backupbot.backup.path: "/postgres.dump.gz"
|
||||
backupbot.backup.post-hook: "rm -f /postgres.dump.gz"
|
||||
backupbot.restore: "true"
|
||||
backupbot.restore.post-hook: sh -c 'gzip -d /postgres.dump.gz && pg_restore --clean -U "$$POSTGRES_USER" --dbname="$$POSTGRES_DB" < /postgres.dump && rm -f /postgres.dump'
|
||||
|
||||
secrets:
|
||||
db_password:
|
||||
|
|
Loading…
Reference in New Issue