8 Commits

Author SHA1 Message Date
57b2b21353 increase healthcheck retries
Some checks failed
continuous-integration/drone/push Build is failing
2025-12-23 14:39:33 +01:00
8b48069197 chore: publish 2.3.0+2025.10.0 release
Some checks failed
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is failing
2025-12-03 23:34:07 +01:00
3e25010062 chore: publish 2.2.0+2025.8.0 release
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
2025-10-11 21:07:04 +02:00
93b40b1e29 fix: update cron template version
All checks were successful
continuous-integration/drone/push Build is passing
Fixes a regression introduced in d67f375d47
2025-10-11 21:02:34 +02:00
f277fe7070 Merge pull request 'fix(cron): make sure cron container only returns one container id' (#1) from kolaente/pretix:fix/cron into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #1
Reviewed-by: simon <simon@noreply.git.coopcloud.tech>
2025-10-02 12:06:03 +00:00
13077bb2a4 Merge pull request 'fix: remove languages from set' (#3) from feat/lang into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #3
2025-10-02 11:20:44 +00:00
0dc4c7f70f fix: remove languages from set 2025-09-30 21:01:59 +02:00
d67f375d47 fix: 2025-09-29 20:20:28 +00:00
4 changed files with 19 additions and 18 deletions

View File

@ -1,5 +1,5 @@
export PRETIX_CONFIG_VERSION=v1
export CRON_ENTRYPOINT_VERSION=v1
export PRETIX_CONFIG_VERSION=v2
export CRON_ENTRYPOINT_VERSION=v2
export DB_ENTRYPOINT_VERSION=v2
export PG_BACKUP_VERSION=v1

View File

@ -3,7 +3,7 @@ version: "3.8"
services:
app:
image: 'pretix/standalone:2025.8.0'
image: "pretix/standalone:2025.10.0"
networks:
- proxy
- internal
@ -26,12 +26,12 @@ services:
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
- "coop-cloud.${STACK_NAME}.version=2.1.0+2025.8.0"
- "coop-cloud.${STACK_NAME}.version=2.3.0+2025.10.0"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost/healthcheck"]
interval: 30s
timeout: 10s
retries: 10
retries: 30
start_period: 1m
db:
@ -55,16 +55,21 @@ services:
mode: 0555
entrypoint: /docker-entrypoint.sh
healthcheck:
test: ["CMD-SHELL", "[ -f $${HEALTHCHECK_MARKER} ] || pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]
interval: 10s
test:
[
"CMD-SHELL",
"[ -f $${HEALTHCHECK_MARKER} ] || pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}",
]
interval: 30s
timeout: 5s
retries: 5
retries: 20
start_period: 1m
deploy:
labels:
backupbot.backup: "${ENABLE_BACKUPS:-true}"
backupbot.backup.pre-hook: "/pg_backup.sh backup"
backupbot.backup.pre-hook: "/pg_backup.sh backup"
backupbot.backup.volumes.postgres.path: "backup.sql"
backupbot.restore.post-hook: '/pg_backup.sh restore'
backupbot.restore.post-hook: "/pg_backup.sh restore"
redis:
image: redis:8.0.2-alpine
@ -72,9 +77,10 @@ services:
- "redis:/data"
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 3s
interval: 20s
timeout: 5s
retries: 20
start_period: 1m
networks:
- internal
@ -84,8 +90,7 @@ services:
- STACK_NAME=${STACK_NAME}
volumes:
- /var/run/docker.sock:/var/run/docker.sock
entrypoint:
/entrypoint.sh
entrypoint: /entrypoint.sh
configs:
- source: cron_entrypoint
target: /entrypoint.sh
@ -117,7 +122,6 @@ networks:
external: true
internal:
secrets:
db_password:
external: true

View File

@ -1,3 +1,3 @@
#!/bin/sh
echo '15,45 * * * * docker exec $(docker ps -qf 'name=${STACK_NAME}_app') pretix runperiodic' | crontab - && crond -f -d 8
echo '15,45 * * * * docker exec $(docker ps -qf 'name=^${STACK_NAME}_app') pretix runperiodic' | crontab - && crond -f -d 8

View File

@ -42,9 +42,6 @@ debug=off
location=redis://redis:6379/1
sessions=true
[languages]
enabled=en,de
[celery]
backend=redis://redis:6379/1
broker=redis://redis:6379/2