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

11 lines
270 B
Bash
Raw Normal View History

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