mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
14 lines
320 B
Bash
Executable File
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
|
|
|