Fixed docker-compose.yml, removed quotes around bool

This commit is contained in:
Oscar Blue 2022-08-28 18:14:07 +01:00
parent 7dec0f8ff3
commit 62b1cdd0b3

View file

@ -7,6 +7,9 @@ apt install wget curl apache2-utils docker-compose sed -y
# Images to download
NEKO_IMAGES=(m1k1o/neko:firefox m1k1o/neko:vlc)
# Create directories
mkdir -p "/neko/config"
# Set environmental variables
{
echo "TZ=${TZ}"
@ -17,8 +20,6 @@ echo "NEKO_ROOMS_TRAEFIK_NETWORK=neko-rooms-traefik"
echo "NEKO_ROOMS_TRAEFIK_CERTRESOLVER=lets-encrypt"
echo "NEKO_ROOMS_NEKO_IMAGES=${NEKO_IMAGES[*]}"
} > /neko/.env
mkdir -p "/neko/config"
touch /neko/usersfile
htpasswd -nb admin admin >> /neko/usersfile
wget -O "/neko/traefik.yml" "https://raw.githubusercontent.com/m1k1o/neko-rooms/master/traefik/traefik.yml"
@ -29,8 +30,12 @@ wget -O "/neko/config/tls.yml" "https://raw.githubusercontent.com/m1k1o/neko-roo
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 "s/attachable: \"true\"/attachable: true/" /neko/docker-compose.yml
# Pull neko images
for NEKO_IMAGE in "${NEKO_IMAGES[@]}"; do
docker pull "${NEKO_IMAGE}"
done
docker-compose pull
docker-compose up -d