refactor: .env as single config, remove nexusguard.conf.example, update docker-compose
This commit is contained in:
@@ -28,16 +28,7 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user