OTM/docker-compose.yml
sora 56dd425515
All checks were successful
continuous-integration/drone/push Build is passing
Update 'docker-compose.yml'
2021-11-27 17:28:05 +01:00

26 lines
828 B
YAML

version: "3.7"
networks:
external:
external: true
volumes:
otm_db:
services:
otm:
build: ./
container_name: otm
networks:
- external
volumes:
- otm_db:/usr/src/app/db
labels:
- "traefik.enable=true"
- "traefik.http.routers.otm.entrypoints=web-secure"
- "traefik.http.routers.otm.rule=Host(`otm.helcel.net`)"
- "traefik.http.routers.otm.tls=true"
- "traefik.http.services.otm.loadbalancer.server.port=8080"
- "traefik.http.routers.otm.middlewares=cors@file"
- "traefik.docker.network=external"
restart: always