neb/tools/server-setup.d/40-docker.sh
2023-10-22 17:45:21 +02:00

11 lines
No EOL
270 B
Bash
Executable file

#!/bin/sh
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