neb/tools/server-setup.d/40-docker.sh

11 lines
No EOL
272 B
Bash
Executable file

#!/bin/bash
if ! docker network inspect proxy &> /dev/null; then
echo "creating proxy network..."
docker network create proxy
fi
if ! docker network inspect internal &> /dev/null; then
echo "creating internal network..."
docker network create internal
fi