Files
scatcher/compose.yml

30 lines
892 B
YAML

networks:
apps-proxy:
external: true
name: apps-proxy
services:
catcher:
image: scatcher
build:
context: .
dockerfile: Dockerfile
restart: always
volumes:
- ./app.py:/app/app.py
- ./controller:/app/controller
- ./manager:/app/manager
- ./schema:/app/schema
- ./storage:/app/storage
networks:
- apps-proxy
labels:
traefik.enable: true
traefik.docker.network: apps-proxy
traefik.http.routers.catcher.entrypoints: web,websecure
traefik.http.routers.catcher.rule: Host(`$APP_URL`) || Host(`$APP_URL_2`) && !PathPrefix(`/.git`)
traefik.http.routers.catcher.tls: true
traefik.http.routers.catcher.tls.certresolver: letsencrypt
traefik.http.services.catcher.loadbalancer.server.port: 8000
traefik.http.routers.catcher.middlewares: redirect-web-to-websecure@internal