Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c4d128d0b4 | |||
| 7e28140631 | |||
| f066de9f84 |
+2
-2
@@ -3,7 +3,7 @@ version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
image: git.coopcloud.tech/wiki-cafe/fedwiki-oci-image:0.40.1-1
|
||||
image: git.coopcloud.tech/wiki-cafe/fedwiki-oci-image:0.41.0-rc.0-2
|
||||
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=3.4.0+0.40.1-1"
|
||||
- "coop-cloud.${STACK_NAME}.version=3.3.0+0.41.0-rc.0-1"
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user