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

32 lines
688 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.docker.network=${COMPOSE_PROJECT_NAME}_default"
- "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:
...