forked from coop-cloud/federatedwiki
Disable healthcheck for now
This commit is contained in:
parent
58c8bba02e
commit
19b698087e
16
compose.yml
16
compose.yml
@ -41,14 +41,14 @@ services:
|
||||
- "backupbot.backup=true"
|
||||
- "backupbot.backup.path=/home/node/.wiki"
|
||||
- "coop-cloud.${STACK_NAME}.version=2.2.1+1.0.29"
|
||||
healthcheck:
|
||||
test: "node -e 'var http = require(\"http\"); var options = { host : \"localhost\", port : \"3000\", timeout : 2000, path : \"/view/welcome-visitors\", headers: { \"Host\": \"${DOMAIN}\" } }; var request = http.request(options, (res)
|
||||
=> { console.log(`STATUS: $${res.statusCode}`); if (res.statusCode == 200) { process.exit(0); } else { process.exit(1); } }); request.on(\"error\", function(err) { console.log('ERROR');
|
||||
process.exit(1); }); request.end();'"
|
||||
interval: 10s
|
||||
timeout: 2s
|
||||
retries: 2
|
||||
start_period: 30s
|
||||
# healthcheck:
|
||||
# test: "node -e 'var http = require(\"http\"); var options = { host : \"localhost\", port : \"3000\", timeout : 2000, path : \"/view/welcome-visitors\", headers: { \"Host\": \"${DOMAIN}\" } }; var request = http.request(options, (res)
|
||||
# => { console.log(`STATUS: $${res.statusCode}`); if (res.statusCode == 200) { process.exit(0); } else { process.exit(1); } }); request.on(\"error\", function(err) { console.log('ERROR');
|
||||
# process.exit(1); }); request.end();'"
|
||||
# interval: 10s
|
||||
# timeout: 2s
|
||||
# retries: 2
|
||||
# start_period: 30s
|
||||
|
||||
volumes:
|
||||
fedwiki:
|
||||
|
Loading…
x
Reference in New Issue
Block a user