ajout images
This commit is contained in:
@@ -147,6 +147,8 @@ if (( FIRST_INSTALL )); then
|
||||
echo "DB_PASSWORD=$DB_PASSWORD"
|
||||
} > "$DEPLOY_ENV"
|
||||
umask 022
|
||||
# .env à la racine = fichier lu automatiquement par « docker compose » : les commandes manuelles fonctionnent sans --env-file
|
||||
ln -sfn deploy.env "$ROOT/.env"
|
||||
c_ok "deploy.env et docker-compose.override.yml créés (cible NPM : http://$FORWARD_HOST:$FORWARD_PORT)."
|
||||
|
||||
# --- Identifiants Entra -----------------------------------------------------
|
||||
@@ -212,6 +214,7 @@ else
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
[[ -e "$ROOT/.env" ]] || ln -s deploy.env "$ROOT/.env"
|
||||
[[ -f "$ADMIN_ALLOW" ]] || printf 'allow 10.0.0.0/8;\nallow 172.16.0.0/12;\nallow 192.168.0.0/16;\n' > "$ADMIN_ALLOW"
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user