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.http.routers.otm.tls=true" - "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