5 Commits

Author SHA1 Message Date
9ca0c76307 chore: publish 0.4.1+2.11.1 release 2023-10-19 23:44:06 +02:00
3d21efaa48 add backup label 2023-10-19 23:41:49 +02:00
9a6f96952b chore: publish 0.4.0+2.11.1 release 2023-07-19 10:37:26 +02:00
b3b6841e0b add auto update and timeout env 2023-04-18 18:24:17 +02:00
6ee83da0d7 chore: publish 0.3.0+2.8.3 release 2023-04-05 18:59:45 +02:00
2 changed files with 10 additions and 3 deletions

View File

@ -1,4 +1,6 @@
TYPE=rallly TYPE=rallly
TIMEOUT=300
ENABLE_AUTO_UPDATE=true
DOMAIN=rallly.example.com DOMAIN=rallly.example.com

View File

@ -3,7 +3,7 @@ version: "3.8"
services: services:
app: app:
image: lukevella/rallly:2.2.3 image: lukevella/rallly:2.11.1
networks: networks:
- proxy - proxy
- internal - internal
@ -42,7 +42,7 @@ services:
- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect" - "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true" - "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}" - "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
- "coop-cloud.${STACK_NAME}.version=0.2.0+2.2.3" - "coop-cloud.${STACK_NAME}.version=0.4.1+2.11.1"
healthcheck: healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000"] test: ["CMD", "curl", "-f", "http://localhost:3000"]
interval: 30s interval: 30s
@ -50,7 +50,12 @@ services:
retries: 10 retries: 10
start_period: 1m start_period: 1m
rallly_db: rallly_db:
image: postgres:14.2 image: postgres:14.8
deploy:
labels:
backupbot.backup: "true"
backupbot.backup.pre-hook: "PGPASSWORD=$$(cat /run/secrets/db_password) pg_dump -U postgres $${POSTGRES_DB} > /var/lib/postgresql/data/backup.sql"
backupbot.backup.post-hook: "rm -rf /var/lib/postgresql/data/backup.sql"
volumes: volumes:
- db-data:/var/lib/postgresql/data - db-data:/var/lib/postgresql/data
secrets: secrets: