forked from coop-cloud/federatedwiki
chore: publish 2.1.3+1.0.26 release
This commit is contained in:
parent
866c46f20d
commit
c3e117bcdf
@ -40,7 +40,7 @@ services:
|
|||||||
- "caddy.tls.on_demand="
|
- "caddy.tls.on_demand="
|
||||||
- "backupbot.backup=true"
|
- "backupbot.backup=true"
|
||||||
- "backupbot.backup.path=/home/node/.wiki"
|
- "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:
|
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');
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
if [ ! -f .wiki/config.json ]; then
|
if [ ! -f .wiki/config.json ]; then
|
||||||
cp config/config.json .wiki/config.json
|
cp initial-config/config.json .wiki/config.json
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wiki --farm
|
wiki --farm
|
||||||
|
Loading…
x
Reference in New Issue
Block a user