OTM/docker-compose.yml
choelzl 39ffb6ddea
Some checks failed
continuous-integration/drone/push Build is failing
cleanup
2021-07-16 17:40:13 +02:00

21 lines
740 B
YAML

version: "3.7"
networks:
external:
external: true
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.docker.network=external"
restart: always