Compare commits
5 Commits
2.2.1+1.0.
...
2.5.0+1.1.
Author | SHA1 | Date | |
---|---|---|---|
79cab18760 | |||
64687083e9 | |||
fc242b51bb | |||
8807f46e7c | |||
19b698087e |
20
compose.yml
20
compose.yml
@ -3,7 +3,7 @@ version: "3.8"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: dobbs/farm:1.0.29
|
image: dobbs/farm:1.1.1
|
||||||
command: /bin/sh entrypoint.sh
|
command: /bin/sh entrypoint.sh
|
||||||
volumes:
|
volumes:
|
||||||
- "${FEDWIKI_VOLUME}:/home/node/.wiki"
|
- "${FEDWIKI_VOLUME}:/home/node/.wiki"
|
||||||
@ -40,15 +40,15 @@ 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.2.1+1.0.29"
|
- "coop-cloud.${STACK_NAME}.version=2.5.0+1.1.1"
|
||||||
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');
|
||||||
process.exit(1); }); request.end();'"
|
# process.exit(1); }); request.end();'"
|
||||||
interval: 10s
|
# interval: 10s
|
||||||
timeout: 2s
|
# timeout: 2s
|
||||||
retries: 2
|
# retries: 2
|
||||||
start_period: 30s
|
# start_period: 30s
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
fedwiki:
|
fedwiki:
|
||||||
|
1
release/2.3.0+1.1.1
Normal file
1
release/2.3.0+1.1.1
Normal file
@ -0,0 +1 @@
|
|||||||
|
decaffeinated
|
1
release/2.4.0+1.1.1
Normal file
1
release/2.4.0+1.1.1
Normal file
@ -0,0 +1 @@
|
|||||||
|
decaffeinate
|
1
release/2.5.0+1.1.1
Normal file
1
release/2.5.0+1.1.1
Normal file
@ -0,0 +1 @@
|
|||||||
|
decaffeinate
|
Reference in New Issue
Block a user