--- services: database: image: docker.io/library/postgres:15-alpine@sha256:64583b3cb4f2010277bdd9749456de78e5c36f8956466ba14b0b96922e510950 environment: - "POSTGRES_USER=pretix" - "POSTGRES_PASSWORD={{ secret__pretix_db_password }}" - "POSTGRES_DB=pretix" volumes: - database:/var/lib/postgresql/data networks: backend: restart: unless-stopped redis: image: docker.io/library/redis:8.2.2@sha256:4521b581dbddea6e7d81f8fe95ede93f5648aaa66a9dacd581611bf6fe7527bd ports: - "6379:6379" volumes: - redis:/rdata # run redis-server, save a snapshot every 60 seconds if there has been at least 1 write command: ["redis-server", "--save", "60", "1"] restart: unless-stopped networks: backend: pretix: image: docker.io/pretix/standalone:2024.8@sha256:110bac37efa5f736227f158f38e421ed738d03dccc274dfb415b258ab0f75cfe command: ["all"] ports: - "8345:80" volumes: - ./configs/pretix.cfg:/etc/pretix/pretix.cfg - pretix:/data restart: unless-stopped networks: backend: frontend: volumes: database: {} pretix: {} redis: {} networks: backend: internal: true frontend: