chore: sync local changes (2026-03-12)

This commit is contained in:
2026-03-12 18:58:36 +08:00
parent 2bd4f06188
commit d8c1e1ee6c
49 changed files with 409 additions and 182 deletions

View File

@@ -0,0 +1,22 @@
version: '3.8'
services:
backend:
build: .
container_name: mengyadriftbottle-backend
ports:
- "3737:4343"
volumes:
- /shumengya/docker/mengyadriftbottle-backend/data:/data
- ./background:/app/background:ro
environment:
- DRIFT_BOTTLE_DATA_DIR=/data
- DRIFT_BOTTLE_SECRET=${DRIFT_BOTTLE_SECRET:-}
- DRIFT_BOTTLE_ADMIN_TOKEN=${DRIFT_BOTTLE_ADMIN_TOKEN:-shumengya520}
restart: unless-stopped
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:4343/api/health')"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s