Make install.sh look nicer
This commit is contained in:
parent
f961f27d76
commit
5f32012b19
13
install.sh
13
install.sh
@ -54,4 +54,15 @@ if [ "$1" == "force" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
docker rm -f lixonet-ee
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user