Слишком переусложненная структура - но оставим для будущего

This commit is contained in:
ki.sagidullin
2026-04-05 10:05:03 +05:00
parent 018e2a860e
commit f916d764c0
48 changed files with 2222 additions and 5 deletions

33
docker-compose.yml Normal file
View File

@@ -0,0 +1,33 @@
version: '3.8'
services:
app:
build: .
ports:
- "5000:5000"
volumes:
- ./config:/app/config
environment:
- FLASK_ENV=production
depends_on:
- redis
redis:
image: redis:alpine
ports:
- "6379:6379"
# Optional: PostgreSQL
db:
image: postgres:15
environment:
POSTGRES_USER: scheduler
POSTGRES_PASSWORD: scheduler
POSTGRES_DB: scheduler_db
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
volumes:
pgdata: