38 lines
783 B
YAML
38 lines
783 B
YAML
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"]
|