Compare commits
8 Commits
3.1.3+0.39.4-1
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| c4d128d0b4 | |||
| 7e28140631 | |||
| f066de9f84 | |||
| eef4018af6 | |||
| 63b204e2d2 | |||
| 5b0693901e | |||
| 5e84041083 | |||
| b55198813c |
+2
-2
@@ -25,8 +25,8 @@ CONFIG_FILE="config.json"
|
||||
|
||||
## If using Caddy:
|
||||
## Customize your Caddyfile to determine what domains are accessible and will get TLS certificates.
|
||||
## You are also able to enable access over HTTP by adding domains like: http://${DOMAIN}, http://*.${DOMAIN}, http://*.*.${DOMAIN}
|
||||
CADDY=https://${DOMAIN}, https://*.${DOMAIN}, https://*.*.${DOMAIN}, https://*.*.*.${DOMAIN}
|
||||
## You are also able to enable access over HTTP by adding domains like: http://${DOMAIN}, http://*.${DOMAIN}, http://*.*.${DOMAIN}, http://*.*.*.${DOMAIN}
|
||||
CADDY="https://${DOMAIN}, https://*.${DOMAIN}, https://*.*.${DOMAIN}, https://*.*.*.${DOMAIN}"
|
||||
|
||||
## If using Traefik:
|
||||
## By default traefik allows: https://${DOMAIN}, https://*.${DOMAIN}, https://*.*.${DOMAIN}, https://*.*.*.${DOMAIN}
|
||||
|
||||
+8
-10
@@ -3,7 +3,7 @@ version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
image: git.coopcloud.tech/wiki-cafe/fedwiki-oci-image:0.39.4-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,15 +40,13 @@ services:
|
||||
- "caddy.tls.on_demand="
|
||||
- "backupbot.backup=true"
|
||||
- "backupbot.backup.path=/home/node/.wiki"
|
||||
- "coop-cloud.${STACK_NAME}.version=3.1.3+0.39.4-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
|
||||
# timeout: 2s
|
||||
# retries: 2
|
||||
# start_period: 30s
|
||||
- "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
|
||||
timeout: 2s
|
||||
retries: 2
|
||||
start_period: 30s
|
||||
|
||||
volumes:
|
||||
fedwiki:
|
||||
|
||||
Reference in New Issue
Block a user