feat: complete server-backed six-lesson app and trial tooling
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+5
-1
@@ -14,6 +14,10 @@ services:
|
||||
DB_PATH: /app/data/app.db
|
||||
JWT_SECRET: ${JWT_SECRET}
|
||||
CORS_ORIGIN: ${CORS_ORIGIN}
|
||||
TRUST_PROXY: "true"
|
||||
TRUST_PROXY_CIDRS: "10.0.0.0/8,172.16.0.0/12,192.168.0.0/16"
|
||||
expose:
|
||||
- "3000"
|
||||
volumes:
|
||||
- backend_sqlite:/app/data
|
||||
restart: unless-stopped
|
||||
@@ -23,7 +27,7 @@ services:
|
||||
"CMD",
|
||||
"node",
|
||||
"-e",
|
||||
"fetch('http://127.0.0.1:3000/health').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))",
|
||||
"fetch('http://127.0.0.1:3000/health/ready').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))",
|
||||
]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
|
||||
Reference in New Issue
Block a user