Commit 7217fa53 authored by aguestuser's avatar aguestuser

Merge branch 'hotfix-toolchain-tweaks-for-bugless-fresh-deploys' into 'master'

[hotfix] toolchain tweaks for bugless fresh deploys

See merge request !208
parents 53bec690 feeec05a
......@@ -87,6 +87,15 @@
chdir: "{{ homedir }}"
tags: prepare
# to ensure ACMEv2 compatibility
# (as per, e.g.: https://github.com/nginx-proxy/docker-letsencrypt-nginx-proxy-companion/issues/598)
- name: Ensure we are running latest version of letsencrypt companion
command: "docker-compose pull letsencrypt"
args:
chdir: "{{ homedir }}"
tags: prepare
- name: Stop containers used for install & db setup
command: "docker-compose down"
args:
......
......@@ -28,7 +28,7 @@ check-until-available(){
status=$(curl -s -H "Token: $SIGNALBOOST_API_TOKEN" \
-I https://${SIGNALBOOST_HOST_URL}/hello \
| sed -n 1p | awk '{print $2}')
if [ ${status} != "200" ] && [ ${status} != "302" ];then
if [[ ${status} != "200" ]] && [[ ${status} != "302" ]];then
echo "--- instance not available. checking again in 5sec..."
let new_count=$count+1
sleep 5
......
......@@ -20,6 +20,9 @@ services:
volumes:
- postgres_data:/var/lib/postgresql/data
- ./backups:/backups
# as per https://github.com/docker-library/postgres/issues/692
environment:
POSTGRES_HOST_AUTH_METHOD: trust
restart: unless-stopped
signald:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment