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

11 lines
272 B
Bash
Raw Permalink Normal View History

#!/bin/bash
2023-10-20 00:48:58 +02:00
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