Use LE staging server

This commit is contained in:
Oscar Blue 2022-08-28 20:24:50 +01:00
parent 11bb276f53
commit 538db068f4

View file

@ -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
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