Use LE staging server
This commit is contained in:
parent
11bb276f53
commit
538db068f4
1 changed files with 3 additions and 2 deletions
|
@ -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
|
Loading…
Reference in a new issue