feat: 完善芽说英语品牌Logo与图标配置,完成跨平台云端同步服务开发与自动化部署
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
speaksprout-sync:
|
||||
build: .
|
||||
container_name: speaksprout-sync
|
||||
restart: always
|
||||
environment:
|
||||
- DATABASE_PATH=/data/speaksprout_sync.db
|
||||
- JWT_SECRET=speaksprout-production-jwt-secret-key-replace-with-random-hex-2026
|
||||
volumes:
|
||||
- ./data:/data
|
||||
ports:
|
||||
- "127.0.0.1:8080:8080"
|
||||
healthcheck:
|
||||
test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8080/api/v1/health')"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
Reference in New Issue
Block a user