authelia/scripts/authelia-cli-start
2019-03-03 11:39:40 +01:00

14 lines
320 B
Bash
Executable File

#!/bin/bash
bridge_exists=`docker network ls | grep " authelianet " | wc -l`
if [ "$bridge_exists" != "1" ];
then
docker network create -d bridge --subnet 192.168.240.0/24 --gateway 192.168.240.1 authelianet
else
echo "Bridge authelianet already exist."
fi
./scripts/dc-dev.sh build && ./scripts/dc-dev.sh up -d