add bootstrap compose and init scrypt

This commit is contained in:
2025-08-24 01:59:35 +03:00
commit 7e87db4f33
4 changed files with 96 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
N=$(awk '/^networks:/,/^[^[:space:]]/{if($1=="name:"){print $2; exit}}' docker-compose.yml); N=${N:-proxy}
docker network inspect "$N" >/dev/null 2>&1 || docker network create --driver bridge --attachable "$N"
docker compose up -d --build