chore: docker-compose, setup.sh, nexusguard.conf.example, update submodule

This commit is contained in:
datadunia
2026-05-31 04:42:52 +07:00
parent e8906deb5d
commit 549ee80c5d
4 changed files with 39 additions and 1 deletions
+11
View File
@@ -28,6 +28,17 @@ else
echo "[+] .env file already exists. Skipping environment generation."
fi
# 2. Config file generation
if [ ! -f nexusguard.conf ]; then
if [ -f nexusguard.conf.example ]; then
echo "[+] Auto-generating nexusguard.conf from nexusguard.conf.example..."
cp nexusguard.conf.example nexusguard.conf
echo "[+] Config file created. All settings are commented out (env vars take precedence)."
fi
else
echo "[+] nexusguard.conf already exists. Skipping config generation."
fi
# Make sure Docker Compose v2 is available
if ! docker compose version &> /dev/null; then
echo "[-] ERROR: docker compose (v2) is not available. Please install Docker and Docker Compose plugin."