Compare commits
12 Commits
2.1.2+1.0.
...
2.2.2+1.0.
Author | SHA1 | Date | |
---|---|---|---|
8807f46e7c | |||
19b698087e | |||
58c8bba02e | |||
a304f89042 | |||
27f81a3e81 | |||
b849a3b536 | |||
2ac052366a | |||
61e96089f1 | |||
6790fa45af | |||
1a1384177a | |||
bec1a54581 | |||
c3e117bcdf |
@ -35,7 +35,7 @@ steps:
|
||||
from_secret: drone_abra-bot_token
|
||||
fork: true
|
||||
repositories:
|
||||
- coop-cloud/auto-recipes-catalogue-json
|
||||
- toolshed/auto-recipes-catalogue-json
|
||||
|
||||
trigger:
|
||||
event: tag
|
||||
|
@ -22,3 +22,5 @@ SECRET_COOKIE_SECRET_VERSION=v1 # length=30
|
||||
|
||||
# Disable SSL encryption (not recommended)
|
||||
#COMPOSE_FILE="$COMPOSE_FILE:compose.insecure.yml"
|
||||
|
||||
CONFIG_FILE="config.json"
|
||||
|
2
abra.sh
2
abra.sh
@ -1,2 +1,2 @@
|
||||
export ENTRYPOINT_SH_VERSION=v1
|
||||
export ENTRYPOINT_SH_VERSION=v2
|
||||
export CONFIG_INITIAL_JSON_VERSION=v1
|
||||
|
20
compose.yml
20
compose.yml
@ -3,7 +3,7 @@ version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
image: dobbs/farm:1.0.26
|
||||
image: dobbs/farm:1.0.29
|
||||
command: /bin/sh entrypoint.sh
|
||||
volumes:
|
||||
- "${FEDWIKI_VOLUME}:/home/node/.wiki"
|
||||
@ -40,15 +40,15 @@ services:
|
||||
- "caddy.tls.on_demand="
|
||||
- "backupbot.backup=true"
|
||||
- "backupbot.backup.path=/home/node/.wiki"
|
||||
- "coop-cloud.${STACK_NAME}.version=2.1.2+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');
|
||||
process.exit(1); }); request.end();'"
|
||||
interval: 10s
|
||||
timeout: 2s
|
||||
retries: 2
|
||||
start_period: 30s
|
||||
- "coop-cloud.${STACK_NAME}.version=2.2.2+1.0.29"
|
||||
# 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:
|
||||
|
@ -1,7 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ ! -f .wiki/config.json ]; then
|
||||
cp config/config.json .wiki/config.json
|
||||
config_file="$HOME/.wiki/${CONFIG_FILE:-config.json}"
|
||||
|
||||
if [ ! -f "$config_file" ]; then
|
||||
cp initial-config/config.json "$config_file"
|
||||
fi
|
||||
|
||||
wiki --farm
|
||||
wiki --farm --config "$config_file"
|
||||
|
1
release/2.1.5+1.0.27
Normal file
1
release/2.1.5+1.0.27
Normal file
@ -0,0 +1 @@
|
||||
y
|
Reference in New Issue
Block a user