2021-07-16 09:12:30 +02:00
|
|
|
version: "3.7"
|
|
|
|
networks:
|
2023-07-19 12:29:44 +02:00
|
|
|
external:
|
|
|
|
external: true
|
2021-07-16 17:48:38 +02:00
|
|
|
|
|
|
|
volumes:
|
2023-07-19 12:29:44 +02:00
|
|
|
otm_db:
|
2021-07-16 17:48:38 +02:00
|
|
|
|
2021-07-16 09:12:30 +02:00
|
|
|
services:
|
2023-07-19 12:29:44 +02:00
|
|
|
otm:
|
|
|
|
build: ./
|
|
|
|
container_name: otm
|
|
|
|
networks:
|
|
|
|
- external
|
|
|
|
volumes:
|
|
|
|
- otm_db:/usr/src/app/db
|
|
|
|
labels:
|
2023-08-22 00:01:59 +02:00
|
|
|
- "traefik.http.routers.otm.tls=true"
|
2023-07-19 12:29:44 +02:00
|
|
|
- "traefik.http.routers.otm.entrypoints=web-secure"
|
|
|
|
- "traefik.http.routers.otm.rule=Host(`otm.helcel.net`)"
|
|
|
|
- "traefik.http.routers.otm.middlewares=cors@file"
|
|
|
|
restart: always
|