updated docmost health-check command
This commit is contained in:
@@ -33,7 +33,7 @@ services:
|
||||
- traefik-public
|
||||
- docmost-internal
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--spider", "-q", "http://localhost:3000/"]
|
||||
test: ["CMD", "node", "-e", "const http = require('http'); http.get('http://localhost:3000/', (r) => { process.exit(r.statusCode === 200 ? 0 : 1) }).on('error', () => process.exit(1))"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
@@ -87,4 +87,4 @@ volumes:
|
||||
networks:
|
||||
traefik-public:
|
||||
external: true
|
||||
docmost-internal:
|
||||
docmost-internal:
|
||||
Reference in New Issue
Block a user