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=true"
|
||||||
- "backupbot.backup.path=/home/node/.wiki"
|
- "backupbot.backup.path=/home/node/.wiki"
|
||||||
- "coop-cloud.${STACK_NAME}.version=2.2.1+1.0.29"
|
- "coop-cloud.${STACK_NAME}.version=2.2.1+1.0.29"
|
||||||
healthcheck:
|
# 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)
|
# 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');
|
# => { 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();'"
|
# process.exit(1); }); request.end();'"
|
||||||
interval: 10s
|
# interval: 10s
|
||||||
timeout: 2s
|
# timeout: 2s
|
||||||
retries: 2
|
# retries: 2
|
||||||
start_period: 30s
|
# start_period: 30s
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
fedwiki:
|
fedwiki:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user