From 538db068f40545635bee779d4f476ac0b437042d Mon Sep 17 00:00:00 2001 From: oscarpocock Date: Sun, 28 Aug 2022 20:24:50 +0100 Subject: [PATCH] Use LE staging server --- hetzner/Projects/Development/neko/install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hetzner/Projects/Development/neko/install.sh b/hetzner/Projects/Development/neko/install.sh index c877a44..f51e2e0 100644 --- a/hetzner/Projects/Development/neko/install.sh +++ b/hetzner/Projects/Development/neko/install.sh @@ -31,11 +31,12 @@ touch "/neko/acme.json" chmod 600 "/neko/acme.json" wget -O "/neko/docker-compose.yml" "https://raw.githubusercontent.com/m1k1o/neko-rooms/master/traefik/docker-compose.yml" sed -i "s/attachable: \"true\"/attachable: true/" /neko/docker-compose.yml +sed -i '/.*acme:.*/a \ caServer: https://acme-staging-v02.api.letsencrypt.org/directory/' traefik.yml # Pull neko images for NEKO_IMAGE in "${NEKO_IMAGES[@]}"; do docker pull "${NEKO_IMAGE}" done -docker-compose pull -docker-compose up -d \ No newline at end of file +docker-compose -f /neko/docker-compose.yml --env-file /neko/.env pull +docker-compose -f /neko/docker-compose.yml --env-file /neko/.env up -d \ No newline at end of file