first commit

This commit is contained in:
brusnitsyn
2026-04-16 17:57:58 +09:00
commit 7a13ff3b74
22 changed files with 3319 additions and 0 deletions

28
docker-compose.yml Normal file
View File

@@ -0,0 +1,28 @@
services:
api:
build: .
container_name: syncio-api
restart: unless-stopped
env_file:
- .env
environment:
START_API_WORKER: "false"
TZ: "${TZ:-Asia/Yakutsk}"
ports:
- "8000:8000"
volumes:
- ./logs:/app/logs
command: ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
worker:
build: .
container_name: syncio-worker
restart: unless-stopped
env_file:
- .env
environment:
START_API_WORKER: "false"
TZ: "${TZ:-Asia/Yakutsk}"
volumes:
- ./logs:/app/logs
command: ["python", "-m", "app.worker"]