move back docker network creation to start.sh

dockerproxy and unbound rely on it.
This commit is contained in:
Girish Ramakrishnan
2020-11-20 17:22:54 -08:00
parent c0b0029935
commit 09c8248e31
3 changed files with 3 additions and 12 deletions
+2
View File
@@ -32,6 +32,8 @@ systemctl enable apparmor
systemctl restart apparmor
usermod ${USER} -a -G docker
# unbound (which starts after box code) relies on this interface to exist. dockerproxy also relies on this.
docker network create --subnet=172.18.0.0/16 --ip-range=172.18.0.0/20 cloudron || true
mkdir -p "${BOX_DATA_DIR}"
mkdir -p "${APPS_DATA_DIR}"