This commit is contained in:
nora 2022-08-30 21:34:49 +02:00
parent 922056b63c
commit 58b33d6fd1
5 changed files with 40 additions and 13 deletions

9
docker/setup_net.sh Executable file
View file

@ -0,0 +1,9 @@
NET_NAME="internal"
if docker network inspect "$NET_NAME" > /dev/null 2>&1 ;
then
echo "Network $NET_NAME exists already...";
else
echo "Creating network $NET_NAME..."
docker network create "$NET_NAME"
fi