Make install.sh look nicer

This commit is contained in:
Manevolent 2022-12-17 00:44:19 -07:00 committed by GitHub
parent f961f27d76
commit 5f32012b19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,4 +54,15 @@ if [ "$1" == "force" ]; then
fi
docker rm -f lixonet-ee
docker build -t lixonet-ee . && docker run --restart always -d -e DOCKER_HOST=unix:///var/run/docker.sock -e GIT_URL=$ORIGIN -v /var/run/docker.sock:/var/run/docker.sock -v /etc/wireguard:/etc/wireguard -v /etc/bird:/etc/bird/ -v /etc/tinc:/etc/tinc -v /etc/bind:/etc/bind -v /etc/lixonet:/etc/lixonet -v /etc/lixonet/known_hosts:/home/lixonet/.ssh/known_hosts -v /etc/lixonet/id_rsa:/home/lixonet/.ssh/id_rsa --name lixonet-ee lixonet-ee
docker build -t lixonet-ee . && \
docker run --restart always -d \
-e DOCKER_HOST=unix:///var/run/docker.sock \
-e GIT_URL=$ORIGIN \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /etc/wireguard:/etc/wireguard -v /etc/bird:/etc/bird/ \
-v /etc/tinc:/etc/tinc -v /etc/bind:/etc/bind \
-v /etc/lixonet:/etc/lixonet \
-v /etc/lixonet/known_hosts:/home/lixonet/.ssh/known_hosts \
-v /etc/lixonet/id_rsa:/home/lixonet/.ssh/id_rsa \
--name lixonet-ee \
lixonet-ee