Add monitoring PF service

This commit is contained in:
Grendgi
2026-06-04 14:55:41 +03:00
commit dd3edd7088
41 changed files with 3194 additions and 0 deletions

37
docker-compose.yml Normal file
View File

@@ -0,0 +1,37 @@
services:
web:
build: .
image: dld-permit-monitor:latest
container_name: dld-web
restart: unless-stopped
env_file: .env
environment:
WEB_HOST: 0.0.0.0
WEB_PORT: 8000
ports:
- "8080:8000"
volumes:
- ./data:/app/data
command: ["python", "run_web.py"]
bot:
image: dld-permit-monitor:latest
depends_on:
- web
container_name: dld-bot
restart: unless-stopped
env_file: .env
volumes:
- ./data:/app/data
command: ["python", "-m", "app.bot"]
scheduler:
image: dld-permit-monitor:latest
depends_on:
- web
container_name: dld-scheduler
restart: unless-stopped
env_file: .env
volumes:
- ./data:/app/data
command: ["python", "-m", "app.scheduler"]