add health check endpoint and update webserver routes
This commit is contained in:
@@ -9,4 +9,9 @@ services:
|
||||
- .:/app
|
||||
ports:
|
||||
- "$PORT:$PORT"
|
||||
command: sh -c "npm i -g pnpm && pnpm install && pnpm dev"
|
||||
command: sh -c "npm i -g pnpm && pnpm install && pnpm dev"
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:$PORT/health"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 1
|
||||
Reference in New Issue
Block a user