diff --git a/compose.yml b/compose.yml index fd62442..9a7d855 100644 --- a/compose.yml +++ b/compose.yml @@ -40,7 +40,7 @@ services: - "caddy.tls.on_demand=" - "backupbot.backup=true" - "backupbot.backup.path=/home/node/.wiki" - - "coop-cloud.${STACK_NAME}.version=2.1.2+1.0.26" + - "coop-cloud.${STACK_NAME}.version=2.1.3+1.0.26" 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'); diff --git a/entrypoint.sh b/entrypoint.sh index fe1d99c..81411bc 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,7 +1,7 @@ #!/bin/sh if [ ! -f .wiki/config.json ]; then - cp config/config.json .wiki/config.json + cp initial-config/config.json .wiki/config.json fi wiki --farm