Compare commits
3 Commits
2.1.0+1.0.
...
2.1.3+1.0.
Author | SHA1 | Date | |
---|---|---|---|
c3e117bcdf | |||
866c46f20d | |||
caa49701a9 |
@ -3,7 +3,7 @@ version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
image: dobbs/farm:1.0.24
|
||||
image: dobbs/farm:1.0.26
|
||||
command: /bin/sh entrypoint.sh
|
||||
volumes:
|
||||
- "${FEDWIKI_VOLUME}:/home/node/.wiki"
|
||||
@ -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.0+1.0.24"
|
||||
- "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');
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user