ansible-infra/resources/chaosknoten/tickets/docker_compose/compose.yaml.j2
Renovate aa28d30e8d
All checks were successful
/ Ansible Lint (pull_request) Successful in 2m59s
/ Ansible Lint (push) Successful in 2m17s
Update docker.io/library/redis Docker tag to v8
2026-04-02 09:30:51 +00:00

48 lines
1,004 B
Django/Jinja

---
services:
database:
image: docker.io/library/postgres:18-alpine
environment:
- "POSTGRES_USER=pretix"
- "POSTGRES_PASSWORD={{ secret__pretix_db_password }}"
- "POSTGRES_DB=pretix"
volumes:
- database:/var/lib/postgresql
networks:
backend:
restart: unless-stopped
redis:
image: docker.io/library/redis:8.6.2
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:2026.3
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: