Files
scatcher/compose.yml
2024-09-05 09:01:21 +00:00

30 lines
760 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: websecure
traefik.http.routers.catcher.rule: Host(`$APP_URL`)
traefik.http.routers.catcher.tls: true
traefik.http.routers.catcher.tls.certresolver: letsencrypt
traefik.http.services.catcher.loadbalancer.server.port: 8000