OTM/docker-compose.yml
2021-07-16 09:12:30 +02:00

19 lines
669 B
YAML

version: "3.7"
networks:
external:
external: true
services:
otm:
build: ./
container_name: otm
networks:
- external
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