OTM/docker-compose.yml

25 lines
757 B
YAML
Raw Normal View History

2021-07-16 09:12:30 +02:00
version: "3.7"
networks:
external:
external: true
2021-07-16 17:48:38 +02:00
volumes:
otm_db:
2021-07-16 09:12:30 +02:00
services:
otm:
build: ./
container_name: otm
networks:
- external
2021-07-16 17:40:13 +02:00
volumes:
- otm_db:/usr/src/app/db
2021-07-16 09:12:30 +02:00
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