infrastructure/ansible/plays/services/youtrack/docker-compose.yaml

31 lines
623 B
YAML

---
version: "3.4"
services:
youtrack:
image: jetbrains/youtrack:${VERSION}
volumes:
- data:/opt/youtrack/data
- conf:/opt/youtrack/conf
- logs:/opt/youtrack/logs
- backups:/opt/youtrack/backups
labels:
- "traefik.enable=true"
- "traefik.http.routers.youtrack.rule=Host(`youtrack.tobiasmanske.de`)"
- "traefik.http.routers.youtrack.entryPoints=websecure"
- "traefik.http.services.youtrack.loadbalancer.server.port=8080"
restart: always
networks:
- gateway
networks:
gateway:
external: true
volumes:
data:
conf:
logs:
backups:
...