clean
Some checks failed
CI - 4NK_node / Code Quality (push) Failing after 30s
CI - 4NK_node / Unit Tests (push) Failing after 30s
CI - 4NK_node / Integration Tests (push) Failing after 11s
CI - 4NK_node / Security Tests (push) Failing after 28s
CI - 4NK_node / Docker Build & Test (push) Failing after 10s
CI - 4NK_node / Documentation Tests (push) Failing after 3s
CI - 4NK_node / Security Audit (push) Successful in 4s
CI - 4NK_node / Release Guard (push) Has been skipped
CI - 4NK_node / Performance Tests (push) Successful in 31s
CI - 4NK_node / Notify (push) Failing after 2s
CI - 4NK_node / Publish Release (push) Has been skipped
Some checks failed
CI - 4NK_node / Code Quality (push) Failing after 30s
CI - 4NK_node / Unit Tests (push) Failing after 30s
CI - 4NK_node / Integration Tests (push) Failing after 11s
CI - 4NK_node / Security Tests (push) Failing after 28s
CI - 4NK_node / Docker Build & Test (push) Failing after 10s
CI - 4NK_node / Documentation Tests (push) Failing after 3s
CI - 4NK_node / Security Audit (push) Successful in 4s
CI - 4NK_node / Release Guard (push) Has been skipped
CI - 4NK_node / Performance Tests (push) Successful in 31s
CI - 4NK_node / Notify (push) Failing after 2s
CI - 4NK_node / Publish Release (push) Has been skipped
This commit is contained in:
parent
bd1b5af7b7
commit
6b9e606fc1
@ -1,25 +0,0 @@
|
||||
# Configuration pour blindbit-oracle
|
||||
host = "0.0.0.0:8000"
|
||||
|
||||
# Définit la chaîne sur laquelle le wallet fonctionne
|
||||
chain = "signet"
|
||||
|
||||
# Point d'accès RPC Bitcoin (sans cookie, autorisé par rpcallowip)
|
||||
rpc_endpoint = "http://4nk-bitcoin:38332"
|
||||
|
||||
# Auth RPC Bitcoin
|
||||
rpc_user = "bitcoin"
|
||||
rpc_pass = "bitcoin"
|
||||
|
||||
# Hauteur de départ pour la synchronisation
|
||||
sync_start_height = 1
|
||||
|
||||
# Paramètres de performance
|
||||
max_parallel_tweak_computations = 4
|
||||
max_parallel_requests = 4
|
||||
|
||||
# Configuration des index
|
||||
tweaks_only = 0
|
||||
tweaks_full_basic = 1
|
||||
tweaks_full_with_dust_filter = 1
|
||||
tweaks_cut_through_with_dust_filter = 1
|
@ -1,85 +0,0 @@
|
||||
#!/bin/bash
|
||||
# Script d'installation de Nginx sur l'hôte Debian pour 4NK_node
|
||||
# Auteur: Assistant IA
|
||||
# Date: $(date)
|
||||
|
||||
set -e
|
||||
|
||||
echo "🚀 Installation et configuration de Nginx sur l'hôte Debian pour 4NK_node..."
|
||||
|
||||
# Vérifier que nous sommes root ou avec sudo
|
||||
if [ "$EUID" -ne 0 ]; then
|
||||
echo "❌ Ce script doit être exécuté avec les privilèges root (sudo)"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Mettre à jour les paquets
|
||||
echo "📦 Mise à jour des paquets système..."
|
||||
apt update
|
||||
|
||||
# Installer Nginx
|
||||
echo "📦 Installation de Nginx..."
|
||||
apt install -y nginx
|
||||
|
||||
# Créer le répertoire de logs spécifique à 4NK_node
|
||||
echo "📁 Création des répertoires de logs..."
|
||||
mkdir -p /var/log/nginx/4nk-node
|
||||
chown www-data:www-data /var/log/nginx/4nk-node
|
||||
|
||||
# Sauvegarder la configuration par défaut
|
||||
echo "💾 Sauvegarde de la configuration par défaut..."
|
||||
cp /etc/nginx/nginx.conf /etc/nginx/nginx.conf.backup.$(date +%Y%m%d_%H%M%S)
|
||||
|
||||
# Copier notre configuration personnalisée
|
||||
echo "📋 Installation de la configuration 4NK_node..."
|
||||
cp nginx.conf /etc/nginx/nginx.conf
|
||||
|
||||
# Tester la configuration
|
||||
echo "🔍 Test de la configuration Nginx..."
|
||||
nginx -t
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "✅ Configuration Nginx valide"
|
||||
|
||||
# Redémarrer Nginx
|
||||
echo "🔄 Redémarrage de Nginx..."
|
||||
systemctl restart nginx
|
||||
|
||||
# Vérifier le statut
|
||||
echo "📊 Statut de Nginx:"
|
||||
systemctl status nginx --no-pager -l
|
||||
|
||||
# Activer au démarrage
|
||||
echo "🚀 Activation de Nginx au démarrage..."
|
||||
systemctl enable nginx
|
||||
|
||||
echo ""
|
||||
echo "✅ Nginx installé et configuré avec succès !"
|
||||
echo ""
|
||||
echo "🌐 Accès aux services via Nginx:"
|
||||
echo " - Interface principale: http://localhost/"
|
||||
echo " - Bitcoin RPC: http://localhost/bitcoin/rpc/"
|
||||
echo " - BlindBit API: http://localhost/blindbit/"
|
||||
echo " - SDK Storage: http://localhost/storage/"
|
||||
echo " - SDK Relays: http://localhost/relay1/, /relay2/, /relay3/"
|
||||
echo " - SDK Signer: http://localhost/signer/"
|
||||
echo " - IHM Client: http://localhost/ihm/"
|
||||
echo " - Grafana: http://localhost/grafana/"
|
||||
echo " - Loki: http://localhost/loki/"
|
||||
echo ""
|
||||
echo "📝 Logs Nginx:"
|
||||
echo " - Accès: /var/log/nginx/4nk-node-access.log"
|
||||
echo " - Erreurs: /var/log/nginx/4nk-node-error.log"
|
||||
echo ""
|
||||
echo "🔧 Commandes utiles:"
|
||||
echo " - Redémarrer: sudo systemctl restart nginx"
|
||||
echo " - Statut: sudo systemctl status nginx"
|
||||
echo " - Logs en temps réel: sudo tail -f /var/log/nginx/4nk-node-access.log"
|
||||
echo ""
|
||||
echo "⚠️ Assurez-vous que tous les services Docker 4NK_node sont démarrés"
|
||||
echo " avant d'utiliser Nginx comme reverse proxy."
|
||||
|
||||
else
|
||||
echo "❌ Configuration Nginx invalide. Vérifiez le fichier nginx.conf"
|
||||
exit 1
|
||||
fi
|
Loading…
x
Reference in New Issue
Block a user