infrastructure/ansible/plays/services/thelounge/docker-compose.yaml
Tobias Manske c71f41230f
All checks were successful
continuous-integration/drone/push Build is passing
Traefik define routing networks
2024-01-22 18:56:36 +01:00

20 lines
479 B
YAML

---
version: "3.4"
services:
lounge:
image: thelounge/thelounge:4
volumes:
- data:/var/opt/thelounge
labels:
- "traefik.enable=true"
- "traefik.docker.network=${COMPOSE_PROJECT_NAME}_default"
- "traefik.http.routers.thelounge.rule=Host(`lounge.tobiasmanske.de`)"
- "traefik.http.routers.thelounge.entryPoints=websecure"
- "traefik.http.services.thelounge.loadbalancer.server.port=9000"
restart: always
volumes:
data:
...