Fixed docker-compose.yml, removed quotes around bool
This commit is contained in:
parent
7dec0f8ff3
commit
62b1cdd0b3
1 changed files with 15 additions and 10 deletions
|
@ -7,18 +7,19 @@ 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}"
|
||||
echo "NEKO_ROOMS_EPR=${NEKO_ROOMS_EPR}"
|
||||
echo "NEKO_ROOMS_TRAEFIK_DOMAIN=${NEKO_ROOMS_TRAEFIK_DOMAIN}"
|
||||
echo "NEKO_ROOMS_TRAEFIK_ENTRYPOINT=websecure"
|
||||
echo "NEKO_ROOMS_TRAEFIK_NETWORK=neko-rooms-traefik"
|
||||
echo "NEKO_ROOMS_TRAEFIK_CERTRESOLVER=lets-encrypt"
|
||||
echo "NEKO_ROOMS_NEKO_IMAGES=${NEKO_IMAGES[*]}"
|
||||
echo "TZ=${TZ}"
|
||||
echo "NEKO_ROOMS_EPR=${NEKO_ROOMS_EPR}"
|
||||
echo "NEKO_ROOMS_TRAEFIK_DOMAIN=${NEKO_ROOMS_TRAEFIK_DOMAIN}"
|
||||
echo "NEKO_ROOMS_TRAEFIK_ENTRYPOINT=websecure"
|
||||
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
|
||||
done
|
||||
|
||||
docker-compose pull
|
||||
docker-compose up -d
|
Loading…
Reference in a new issue