mirror of
https://github.com/shadoll/scatcher.git
synced 2025-12-20 04:27:58 +00:00
29 lines
740 B
YAML
29 lines
740 B
YAML
networks:
|
|
apps-proxy:
|
|
external: true
|
|
name: apps-proxy
|
|
|
|
services:
|
|
catcher:
|
|
image: scatcher
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
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
|
|
|