feat: Système de templates automatisé v2.0.0
- Introduction du système de templates avec séparation templates/storage - Scripts de génération automatisée pour toutes les configurations - Résolution multi-passes des variables imbriquées - API simplifiée qui lit uniquement storage/ (plus de traitement de variables) - Documentation complète du nouveau système - Support des services externes (BOOTSTRAP, LECOFFRE_BACK_MINI) - Protection des templates sources et isolation des environnements
This commit is contained in:
parent
4834c40503
commit
5ff468bc84
52
CHANGELOG.md
52
CHANGELOG.md
@ -5,6 +5,58 @@ Toutes les modifications notables de ce projet seront documentées dans ce fichi
|
|||||||
Le format est basé sur [Keep a Changelog](https://keepachangelog.com/fr/1.0.0/),
|
Le format est basé sur [Keep a Changelog](https://keepachangelog.com/fr/1.0.0/),
|
||||||
et ce projet adhère au [Semantic Versioning](https://semver.org/lang/fr/).
|
et ce projet adhère au [Semantic Versioning](https://semver.org/lang/fr/).
|
||||||
|
|
||||||
|
## [2.0.0] - 2024-12-XX
|
||||||
|
|
||||||
|
### 🔄 Modifié
|
||||||
|
|
||||||
|
#### Architecture Majeure
|
||||||
|
- **Système de templates automatisé** : Introduction d'un workflow de génération automatisé
|
||||||
|
- **Séparation des responsabilités** : `templates/` pour les sources, `storage/` pour les fichiers finaux
|
||||||
|
- **API simplifiée** : L'API ne lit plus que `storage/` et ne traite plus les variables d'environnement
|
||||||
|
- **Génération automatisée** : Scripts de génération pour toutes les configurations
|
||||||
|
|
||||||
|
#### Scripts de Génération
|
||||||
|
- **`generate.sh`** : Script principal d'orchestration de tous les processus de génération
|
||||||
|
- **`generate_variables.sh`** : Génération automatisée des variables d'environnement et Docker Compose
|
||||||
|
- **`generate_grafana_dashboards.sh`** : Génération automatique des dashboards Grafana
|
||||||
|
- **`generate_promtail_config.sh`** : Génération de la configuration Promtail
|
||||||
|
- **`generate_logrotate_configs.sh`** : Génération des configurations logrotate
|
||||||
|
- **`generate_nginx_configs.sh`** : Génération des configurations nginx
|
||||||
|
- **`replace_variables_and_copy.sh`** : Résolution multi-passes des variables et copie vers storage/
|
||||||
|
|
||||||
|
#### Résolution des Variables
|
||||||
|
- **Résolution multi-passes** : Jusqu'à 5 passes pour résoudre les variables imbriquées
|
||||||
|
- **Chargement séquentiel** : `.env.secrets` → `.env` → `.env.auto` → `.env.post`
|
||||||
|
- **Export explicite** : Toutes les variables sont explicitement exportées
|
||||||
|
- **Protection renforcée** : Contre les dépendances circulaires et les boucles infinies
|
||||||
|
|
||||||
|
### 🚀 Ajouté
|
||||||
|
|
||||||
|
#### Nouveau Système de Templates
|
||||||
|
- **Structure `templates/`** : Templates sources avec variables (`$VARIABLE`)
|
||||||
|
- **Génération automatisée** : Création automatique de toutes les configurations
|
||||||
|
- **Support des services externes** : BOOTSTRAP, LECOFFRE_BACK_MINI
|
||||||
|
- **Variables composites** : Support des variables imbriquées complexes
|
||||||
|
|
||||||
|
#### Documentation
|
||||||
|
- **`docs/templates-system.md`** : Documentation complète du système de templates
|
||||||
|
- **Workflow de génération** : Guide détaillé des processus de génération
|
||||||
|
- **Exemples d'utilisation** : Cas d'usage et bonnes pratiques
|
||||||
|
|
||||||
|
### 🔒 Sécurité
|
||||||
|
|
||||||
|
#### Isolation Renforcée
|
||||||
|
- **Protection des templates** : Les fichiers `templates/` ne sont jamais modifiés par l'API
|
||||||
|
- **Isolation des environnements** : Chaque environnement a ses propres templates et configurations
|
||||||
|
- **Fichiers sensibles** : Les `.env.secrets` ne sont jamais copiés dans `storage/`
|
||||||
|
|
||||||
|
### 📈 Performance
|
||||||
|
|
||||||
|
#### Optimisations
|
||||||
|
- **Fichiers pré-traités** : L'API lit directement les fichiers avec variables résolues
|
||||||
|
- **Pas de traitement en temps réel** : Élimination du traitement de variables par l'API
|
||||||
|
- **Génération par batch** : Traitement groupé de toutes les configurations
|
||||||
|
|
||||||
## [1.2.0] - 2024-01-XX
|
## [1.2.0] - 2024-01-XX
|
||||||
|
|
||||||
### 🚀 Ajouté
|
### 🚀 Ajouté
|
||||||
|
|||||||
71
README.md
71
README.md
@ -28,10 +28,10 @@ API HTTPS sécurisée avec authentification par clés utilisateur et chiffrement
|
|||||||
- **Isolation par environnement** (dev, prod, etc.)
|
- **Isolation par environnement** (dev, prod, etc.)
|
||||||
|
|
||||||
### Variables d'environnement
|
### Variables d'environnement
|
||||||
- **Résolution automatique** des variables `$VAR` et `${VAR}`
|
- **Génération automatisée** des variables depuis les templates
|
||||||
- **Résolution récursive** des dépendances entre variables
|
- **Résolution multi-passes** des variables imbriquées (`$VAR` et `${VAR}`)
|
||||||
- **Chargement du fichier `.env` principal** uniquement
|
- **Chargement séquentiel** : `.env.secrets`, `.env`, `.env.auto`, `.env.post`
|
||||||
- **Traitement en mémoire** (fichiers originaux non modifiés)
|
- **Traitement en mémoire** avec résolution récursive
|
||||||
- **Protection contre les dépendances circulaires**
|
- **Protection contre les dépendances circulaires**
|
||||||
|
|
||||||
## 📋 Endpoints
|
## 📋 Endpoints
|
||||||
@ -97,6 +97,21 @@ source venv_api/bin/activate
|
|||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Génération des configurations
|
||||||
|
```bash
|
||||||
|
# Générer toutes les configurations depuis les templates
|
||||||
|
cd templates/dev
|
||||||
|
./generate.sh
|
||||||
|
|
||||||
|
# Ou manuellement étape par étape
|
||||||
|
./generate_variables.sh # Génère les variables d'environnement
|
||||||
|
./generate_grafana_dashboards.sh # Génère les dashboards Grafana
|
||||||
|
./generate_promtail_config.sh # Génère la configuration Promtail
|
||||||
|
./generate_logrotate_configs.sh # Génère les configurations logrotate
|
||||||
|
./generate_nginx_configs.sh # Génère les configurations nginx
|
||||||
|
./replace_variables_and_copy.sh # Résout les variables et copie vers storage/
|
||||||
|
```
|
||||||
|
|
||||||
### Démarrage
|
### Démarrage
|
||||||
```bash
|
```bash
|
||||||
# Démarrer l'API sécurisée
|
# Démarrer l'API sécurisée
|
||||||
@ -128,10 +143,11 @@ python3 test_api.py
|
|||||||
- **Compatibilité API/SDK** avec `@noble/ciphers`
|
- **Compatibilité API/SDK** avec `@noble/ciphers`
|
||||||
|
|
||||||
### Variables d'environnement
|
### Variables d'environnement
|
||||||
- **Résolution automatique** avant chiffrement
|
- **Système de templates automatisé** : génération et résolution des variables
|
||||||
- **Support des syntaxes** `$VAR` et `${VAR}`
|
- **Support des syntaxes** `$VAR` et `${VAR}` avec résolution multi-passes
|
||||||
- **Dépendances récursives** résolues automatiquement
|
- **Dépendances récursives** résolues automatiquement (jusqu'à 5 passes)
|
||||||
- **Protection contre les boucles** infinies
|
- **Protection contre les boucles** infinies et dépendances circulaires
|
||||||
|
- **Workflow automatisé** : templates → génération → résolution → stockage
|
||||||
|
|
||||||
### Stockage
|
### Stockage
|
||||||
- **Isolation par environnement** : `storage/<env>/_keys/`
|
- **Isolation par environnement** : `storage/<env>/_keys/`
|
||||||
@ -142,25 +158,38 @@ python3 test_api.py
|
|||||||
|
|
||||||
```
|
```
|
||||||
4NK_vault/
|
4NK_vault/
|
||||||
├── api_server.py # Serveur sécurisé principal avec EnvProcessor
|
├── api_server.py # Serveur sécurisé principal (lit storage/)
|
||||||
├── start_api.sh # Script de démarrage sécurisé
|
├── start_api.sh # Script de démarrage sécurisé
|
||||||
├── test_api.py # Tests de l'API sécurisée
|
├── test_api.py # Tests de l'API sécurisée
|
||||||
├── requirements.txt # Dépendances Python
|
├── requirements.txt # Dépendances Python
|
||||||
├── SECURITY_NOTICE.md # Avertissements de sécurité
|
├── SECURITY_NOTICE.md # Avertissements de sécurité
|
||||||
├── storage/ # Fichiers de configuration (lecture seule)
|
├── templates/ # Templates sources avec variables ($VAR)
|
||||||
│ ├── dev/
|
│ ├── dev/
|
||||||
│ │ ├── .env # Variables d'environnement principales
|
│ │ ├── generate.sh # Script principal d'orchestration
|
||||||
|
│ │ ├── generate_variables.sh # Génération des variables d'environnement
|
||||||
|
│ │ ├── generate_grafana_dashboards.sh # Génération des dashboards Grafana
|
||||||
|
│ │ ├── generate_promtail_config.sh # Génération de la config Promtail
|
||||||
|
│ │ ├── generate_logrotate_configs.sh # Génération des configs logrotate
|
||||||
|
│ │ ├── generate_nginx_configs.sh # Génération des configs nginx
|
||||||
|
│ │ ├── replace_variables_and_copy.sh # Résolution des variables + copie
|
||||||
|
│ │ ├── .env.secrets # Variables sensibles
|
||||||
|
│ │ ├── .env # Variables principales
|
||||||
|
│ │ ├── .env.post # Variables finales/composites
|
||||||
|
│ │ ├── _4NK_modules/ # Modules avec configurations
|
||||||
|
│ │ ├── 4NK_modules/ # Modules générés (Grafana, Promtail)
|
||||||
|
│ │ ├── logrotade/ # Configurations logrotate
|
||||||
|
│ │ └── nginx/ # Configurations nginx
|
||||||
|
│ └── prod/ # Templates pour l'environnement de production
|
||||||
|
├── storage/ # Fichiers finaux avec variables résolues (lecture seule par API)
|
||||||
|
│ ├── dev/
|
||||||
|
│ │ ├── .env.auto # Variables générées avec valeurs résolues
|
||||||
|
│ │ ├── docker-compose.yml.auto # Docker Compose avec variables résolues
|
||||||
│ │ ├── _keys/ # Clés utilisateur (auto-créé)
|
│ │ ├── _keys/ # Clés utilisateur (auto-créé)
|
||||||
│ │ ├── bitcoin/ # Configurations avec variables résolues
|
│ │ ├── _4NK_modules/ # Configurations avec variables résolues
|
||||||
│ │ ├── tor/ # Configurations avec variables résolues
|
│ │ ├── 4NK_modules/ # Modules générés avec variables résolues
|
||||||
│ │ └── [autres services]/
|
│ │ ├── logrotade/ # Configurations logrotate avec variables résolues
|
||||||
│ └── prod/
|
│ │ └── nginx/ # Configurations nginx avec variables résolues
|
||||||
│ ├── _keys/ # Clés utilisateur (auto-créé)
|
│ └── prod/ # Fichiers finaux pour la production
|
||||||
│ └── [configurations]/
|
|
||||||
├── confs/ # Fichiers déchiffrés synchronisés (auto-créé)
|
|
||||||
│ ├── bitcoin/ # Configurations avec variables résolues
|
|
||||||
│ ├── tor/ # Configurations avec variables résolues
|
|
||||||
│ └── [autres services]/
|
|
||||||
├── sdk-client/ # Client TypeScript avec chiffrement
|
├── sdk-client/ # Client TypeScript avec chiffrement
|
||||||
│ ├── src/
|
│ ├── src/
|
||||||
│ │ └── index.ts # Client sécurisé avec @noble/ciphers
|
│ │ └── index.ts # Client sécurisé avec @noble/ciphers
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
## 🔐 Vue d'ensemble
|
## 🔐 Vue d'ensemble
|
||||||
|
|
||||||
L'API 4NK Vault Secure est un système de stockage sécurisé avec authentification par clés utilisateur, chiffrement quantique résistant et traitement automatique des variables d'environnement.
|
L'API 4NK Vault Secure est un système de stockage sécurisé avec authentification par clés utilisateur, chiffrement quantique résistant. Les fichiers sont pré-traités avec variables d'environnement résolues via le système de templates automatisé.
|
||||||
|
|
||||||
## 📋 Informations générales
|
## 📋 Informations générales
|
||||||
|
|
||||||
@ -14,7 +14,7 @@ L'API 4NK Vault Secure est un système de stockage sécurisé avec authentificat
|
|||||||
| **Version** | 2.0.0 |
|
| **Version** | 2.0.0 |
|
||||||
| **Authentification** | Header `X-User-ID` obligatoire |
|
| **Authentification** | Header `X-User-ID` obligatoire |
|
||||||
| **Chiffrement** | ChaCha20-Poly1305 (quantum-résistant) |
|
| **Chiffrement** | ChaCha20-Poly1305 (quantum-résistant) |
|
||||||
| **Variables d'environnement** | Résolution automatique `$VAR` et `${VAR}` |
|
| **Variables d'environnement** | Fichiers pré-traités avec variables résolues |
|
||||||
|
|
||||||
## 🔑 Authentification
|
## 🔑 Authentification
|
||||||
|
|
||||||
|
|||||||
303
docs/templates-system.md
Normal file
303
docs/templates-system.md
Normal file
@ -0,0 +1,303 @@
|
|||||||
|
# Système de Templates et Génération Automatisée
|
||||||
|
|
||||||
|
## 🎯 Vue d'ensemble
|
||||||
|
|
||||||
|
Le système de templates de 4NK Vault permet de générer automatiquement toutes les configurations nécessaires à partir de templates sources avec variables d'environnement. Cette approche garantit la cohérence, la maintenabilité et la sécurité des configurations.
|
||||||
|
|
||||||
|
## 🏗️ Architecture du Système
|
||||||
|
|
||||||
|
### Workflow de Génération
|
||||||
|
|
||||||
|
```
|
||||||
|
templates/<env>/ → Génération → storage/<env>/
|
||||||
|
├── .env.secrets → Scripts → ├── .env.auto
|
||||||
|
├── .env → de génération → ├── docker-compose.yml.auto
|
||||||
|
├── .env.post → → ├── _4NK_modules/
|
||||||
|
├── _4NK_modules/ → → ├── 4NK_modules/
|
||||||
|
├── 4NK_modules/ → → ├── logrotade/
|
||||||
|
└── nginx/ → → └── nginx/
|
||||||
|
```
|
||||||
|
|
||||||
|
### Séparation des Responsabilités
|
||||||
|
|
||||||
|
- **`templates/`** : Fichiers sources avec variables (`$VARIABLE`)
|
||||||
|
- **`storage/`** : Fichiers finaux avec variables résolues (lecture seule par API)
|
||||||
|
- **Scripts de génération** : Orchestrent la création et la résolution des variables
|
||||||
|
|
||||||
|
## 📋 Scripts de Génération
|
||||||
|
|
||||||
|
### 1. Script Principal : `generate.sh`
|
||||||
|
|
||||||
|
Orchestrateur principal qui exécute tous les scripts de génération dans l'ordre correct.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cd templates/dev
|
||||||
|
./generate.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
**Étapes d'exécution :**
|
||||||
|
1. Génération des variables d'environnement
|
||||||
|
2. Génération des dashboards Grafana
|
||||||
|
3. Génération de la configuration Promtail
|
||||||
|
4. Génération des configurations logrotate
|
||||||
|
5. Génération des configurations nginx
|
||||||
|
6. Résolution des variables et copie vers storage/
|
||||||
|
|
||||||
|
### 2. Génération des Variables : `generate_variables.sh`
|
||||||
|
|
||||||
|
Génère les variables d'environnement et le fichier Docker Compose à partir des services définis.
|
||||||
|
|
||||||
|
**Fonctionnalités :**
|
||||||
|
- Génération des variables internes pour chaque service
|
||||||
|
- Génération des variables externes (URLs, ports)
|
||||||
|
- Création du fichier `docker-compose.yml.auto`
|
||||||
|
- Support des services externes (BOOTSTRAP, LECOFFRE_BACK_MINI)
|
||||||
|
|
||||||
|
**Variables générées par service :**
|
||||||
|
```bash
|
||||||
|
${SERVICE}_DOCKER_NAME=$SERVICE
|
||||||
|
${SERVICE}_CONFS_DIR=$DOCKER_GLOBAL/confs/$SERVICE
|
||||||
|
${SERVICE}_LOGS_DIR=$DOCKER_GLOBAL/logs/$SERVICE
|
||||||
|
${SERVICE}_DATAS_DIR=$DOCKER_GLOBAL/datas/$SERVICE
|
||||||
|
${SERVICE}_URL_ROUTE=/$SERVICE
|
||||||
|
${SERVICE}_URL=http://$SERVICE_DOCKER_NAME:$SERVICE_DOCKER_PORT
|
||||||
|
${SERVICE}_URL_EXTERNAL=https://$HOST$SERVICE_URL_ROUTE
|
||||||
|
```
|
||||||
|
|
||||||
|
### 3. Génération Grafana : `generate_grafana_dashboards.sh`
|
||||||
|
|
||||||
|
Génère automatiquement les dashboards Grafana pour tous les services.
|
||||||
|
|
||||||
|
**Types de dashboards :**
|
||||||
|
- **Services Overview** : Vue d'ensemble de tous les services
|
||||||
|
- **Bitcoin Services** : Dashboards spécialisés Bitcoin
|
||||||
|
- **Frontend Services** : Dashboards pour les interfaces utilisateur
|
||||||
|
- **SDK Services** : Dashboards pour les services SDK
|
||||||
|
|
||||||
|
### 4. Génération Promtail : `generate_promtail_config.sh`
|
||||||
|
|
||||||
|
Génère la configuration Promtail pour la collecte de logs.
|
||||||
|
|
||||||
|
**Fonctionnalités :**
|
||||||
|
- Configuration automatique des jobs de collecte
|
||||||
|
- Support des logs Docker et fichiers locaux
|
||||||
|
- Variables dynamiques pour les chemins de logs
|
||||||
|
|
||||||
|
### 5. Génération Logrotate : `generate_logrotate_configs.sh`
|
||||||
|
|
||||||
|
Génère les configurations logrotate pour tous les services.
|
||||||
|
|
||||||
|
**Fonctionnalités :**
|
||||||
|
- Rotation automatique des logs
|
||||||
|
- Compression et archivage
|
||||||
|
- Redémarrage des services après rotation
|
||||||
|
|
||||||
|
### 6. Génération Nginx : `generate_nginx_configs.sh`
|
||||||
|
|
||||||
|
Génère les configurations nginx pour tous les services.
|
||||||
|
|
||||||
|
**Types de configurations :**
|
||||||
|
- Upstreams pour les services
|
||||||
|
- Configurations HTTPS
|
||||||
|
- Headers proxy
|
||||||
|
- Ports internes
|
||||||
|
|
||||||
|
### 7. Résolution des Variables : `replace_variables_and_copy.sh`
|
||||||
|
|
||||||
|
**Fonctionnalités principales :**
|
||||||
|
- Chargement séquentiel des fichiers `.env`
|
||||||
|
- Résolution multi-passes des variables imbriquées
|
||||||
|
- Copie des fichiers traités vers `storage/`
|
||||||
|
|
||||||
|
**Ordre de chargement :**
|
||||||
|
1. `.env.secrets` - Variables sensibles
|
||||||
|
2. `.env` - Variables principales
|
||||||
|
3. `.env.auto` - Variables générées (avec résolution)
|
||||||
|
4. `.env.post` - Variables finales (avec résolution)
|
||||||
|
|
||||||
|
**Résolution multi-passes :**
|
||||||
|
- Jusqu'à 5 passes pour résoudre les variables imbriquées
|
||||||
|
- Protection contre les dépendances circulaires
|
||||||
|
- Export explicite de toutes les variables
|
||||||
|
|
||||||
|
## 🔧 Configuration des Variables
|
||||||
|
|
||||||
|
### Structure des Fichiers d'Environnement
|
||||||
|
|
||||||
|
#### `.env.secrets`
|
||||||
|
Variables sensibles (clés API, mots de passe, etc.)
|
||||||
|
```bash
|
||||||
|
# Variables sensibles
|
||||||
|
API_SECRET_KEY=secret_value
|
||||||
|
DATABASE_PASSWORD=password
|
||||||
|
```
|
||||||
|
|
||||||
|
#### `.env`
|
||||||
|
Variables principales du système
|
||||||
|
```bash
|
||||||
|
# Configuration de base
|
||||||
|
ROOT_DIR=/home/debian/_4NK_env
|
||||||
|
DOMAIN=_4NKweb.com
|
||||||
|
HOST=dev4.$DOMAIN
|
||||||
|
|
||||||
|
# Services
|
||||||
|
export SERVICES=(
|
||||||
|
"REDIS"
|
||||||
|
"POSTGRESQL"
|
||||||
|
"BITCOIN"
|
||||||
|
# ...
|
||||||
|
)
|
||||||
|
|
||||||
|
# Services externes
|
||||||
|
export SERVICES_EXTERNAL=(
|
||||||
|
"BOOTSTRAP"
|
||||||
|
"LECOFFRE_BACK_MINI"
|
||||||
|
)
|
||||||
|
```
|
||||||
|
|
||||||
|
#### `.env.post`
|
||||||
|
Variables composites et finales
|
||||||
|
```bash
|
||||||
|
# URLs composites
|
||||||
|
SDK_RELAY_BOOSTRAP_URL=$BOOTSTRAP_URL_WS_EXTERNAL
|
||||||
|
RELAY_URLS=$SDK_RELAY_URL,$SDK_RELAY_BOOSTRAP_URL
|
||||||
|
BITCOIN_RPC_URL=http://$BITCOIN_DOCKER_NAME:$BITCOIN_SIGNET_RPC_PORT
|
||||||
|
```
|
||||||
|
|
||||||
|
### Résolution des Variables
|
||||||
|
|
||||||
|
#### Exemple de Résolution Complexe
|
||||||
|
|
||||||
|
**Variables de base :**
|
||||||
|
```bash
|
||||||
|
ROOT_DIR=/home/debian/_4NK_env
|
||||||
|
DOCKER_GLOBAL_NAME=projects/lecoffre/lecoffre_node
|
||||||
|
BITCOIN=bitcoin
|
||||||
|
```
|
||||||
|
|
||||||
|
**Variables intermédiaires :**
|
||||||
|
```bash
|
||||||
|
DOCKER_GLOBAL=$ROOT_DIR/$DOCKER_GLOBAL_NAME
|
||||||
|
```
|
||||||
|
|
||||||
|
**Variables finales :**
|
||||||
|
```bash
|
||||||
|
BITCOIN_DATAS_DIR=$DOCKER_GLOBAL/datas/$BITCOIN
|
||||||
|
```
|
||||||
|
|
||||||
|
**Résultat final :**
|
||||||
|
```bash
|
||||||
|
BITCOIN_DATAS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/datas/bitcoin
|
||||||
|
```
|
||||||
|
|
||||||
|
## 🚀 Utilisation
|
||||||
|
|
||||||
|
### Génération Complète
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Générer toutes les configurations
|
||||||
|
cd templates/dev
|
||||||
|
./generate.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
### Génération Partielle
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Générer seulement les variables
|
||||||
|
./generate_variables.sh
|
||||||
|
|
||||||
|
# Générer seulement les dashboards Grafana
|
||||||
|
./generate_grafana_dashboards.sh
|
||||||
|
|
||||||
|
# Résoudre les variables et copier
|
||||||
|
./replace_variables_and_copy.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
### Vérification
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Vérifier les variables résolues
|
||||||
|
cd storage/dev
|
||||||
|
grep "datadir" _4NK_modules/bitcoin/bitcoin.conf
|
||||||
|
# Résultat: datadir=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/datas/bitcoin
|
||||||
|
|
||||||
|
# Vérifier les URLs externes
|
||||||
|
grep "BOOTSTRAP_URL_WS_EXTERNAL" .env.auto
|
||||||
|
# Résultat: BOOTSTRAP_URL_WS_EXTERNAL=wss://dev3._4NKweb.com:3006/ws
|
||||||
|
```
|
||||||
|
|
||||||
|
## 🔒 Sécurité
|
||||||
|
|
||||||
|
### Protection des Templates
|
||||||
|
|
||||||
|
- Les fichiers dans `templates/` ne sont jamais modifiés par l'API
|
||||||
|
- Seuls les fichiers dans `storage/` sont accessibles via l'API
|
||||||
|
- Les fichiers `.env.secrets` ne sont jamais copiés dans `storage/`
|
||||||
|
|
||||||
|
### Isolation des Environnements
|
||||||
|
|
||||||
|
- Chaque environnement (`dev`, `prod`) a ses propres templates
|
||||||
|
- Variables d'environnement isolées par environnement
|
||||||
|
- Pas de fuite de données entre environnements
|
||||||
|
|
||||||
|
## 🛠️ Maintenance
|
||||||
|
|
||||||
|
### Ajout d'un Nouveau Service
|
||||||
|
|
||||||
|
1. **Ajouter le service dans `.env` :**
|
||||||
|
```bash
|
||||||
|
export SERVICES=(
|
||||||
|
"REDIS"
|
||||||
|
"POSTGRESQL"
|
||||||
|
"NOUVEAU_SERVICE" # Ajouter ici
|
||||||
|
# ...
|
||||||
|
)
|
||||||
|
```
|
||||||
|
|
||||||
|
2. **Définir les variables du service :**
|
||||||
|
```bash
|
||||||
|
NOUVEAU_SERVICE=nouveau_service
|
||||||
|
NOUVEAU_SERVICE_IMAGE=image:tag
|
||||||
|
NOUVEAU_SERVICE_PORT=8080:8080
|
||||||
|
```
|
||||||
|
|
||||||
|
3. **Régénérer les configurations :**
|
||||||
|
```bash
|
||||||
|
cd templates/dev
|
||||||
|
./generate.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
### Modification des Variables
|
||||||
|
|
||||||
|
1. **Modifier les fichiers appropriés** dans `templates/dev/`
|
||||||
|
2. **Régénérer les configurations :**
|
||||||
|
```bash
|
||||||
|
cd templates/dev
|
||||||
|
./generate.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
3. **Vérifier les résultats** dans `storage/dev/`
|
||||||
|
|
||||||
|
## 📊 Monitoring
|
||||||
|
|
||||||
|
### Logs de Génération
|
||||||
|
|
||||||
|
Les scripts de génération fournissent des logs détaillés :
|
||||||
|
- Nombre de variables chargées
|
||||||
|
- Fichiers traités et copiés
|
||||||
|
- Erreurs de résolution des variables
|
||||||
|
|
||||||
|
### Validation
|
||||||
|
|
||||||
|
- Vérification automatique des variables non résolues
|
||||||
|
- Protection contre les dépendances circulaires
|
||||||
|
- Validation des chemins et permissions
|
||||||
|
|
||||||
|
## 🔄 Intégration avec l'API
|
||||||
|
|
||||||
|
L'API 4NK Vault lit uniquement les fichiers dans `storage/<env>/` et ne traite plus les variables d'environnement. Cette séparation garantit :
|
||||||
|
|
||||||
|
- **Performance** : Pas de traitement de variables en temps réel
|
||||||
|
- **Fiabilité** : Variables pré-résolues et validées
|
||||||
|
- **Sécurité** : Isolation entre templates et fichiers finaux
|
||||||
|
- **Maintenabilité** : Workflow de génération automatisé et reproductible
|
||||||
@ -1,469 +1,491 @@
|
|||||||
# ====== INTERNAL REDIS ======
|
# ====== INTERNAL REDIS ======
|
||||||
|
|
||||||
REDIS_DOCKER_NAME=$REDIS
|
REDIS_DOCKER_NAME=redis
|
||||||
REDIS_CONFS_DIR=$DOCKER_GLOBAL/confs/$REDIS
|
REDIS_CONFS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/confs/redis
|
||||||
REDIS_LOGS_DIR=$DOCKER_GLOBAL/logs/$REDIS
|
REDIS_LOGS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/redis
|
||||||
REDIS_RUNS_DIR=$DOCKER_GLOBAL/runs/$REDIS
|
REDIS_RUNS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/runs/redis
|
||||||
REDIS_DATAS_DIR=$DOCKER_GLOBAL/datas/$REDIS
|
REDIS_DATAS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/datas/redis
|
||||||
REDIS_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$REDIS
|
REDIS_BACKUPS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/backups/redis
|
||||||
REDIS_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$REDIS
|
REDIS_SCRIPTS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/scripts/redis
|
||||||
REDIS_DOCKER_WORKING_DIR=/home/$REDIS
|
REDIS_DOCKER_WORKING_DIR=/home/redis
|
||||||
|
|
||||||
REDIS_DOCKER_CONFS_DIR=$DOCKER_GLOBAL/confs/$REDIS
|
_DOCKER_CONFS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/confs/redis
|
||||||
REDIS_DOCKER_LOGS_DIR=$DOCKER_GLOBAL/logs/$REDIS
|
_DOCKER_LOGS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/redis
|
||||||
REDIS_DOCKER_RUNS_DIR=$DOCKER_GLOBAL/runs/$REDIS
|
_DOCKER_RUNS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/runs/redis
|
||||||
REDIS_DOCKER_DATAS_DIR=$DOCKER_GLOBAL/datas/$REDIS
|
_DOCKER_DATAS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/datas/redis
|
||||||
REDIS_DOCKER_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$REDIS
|
_DOCKER_BACKUPS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/backups/redis
|
||||||
REDIS_DOCKER_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$REDIS
|
_DOCKER_SCRIPTS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/scripts/redis
|
||||||
REDIS_DOCKER_WORKING_DIR=/home/$REDIS
|
REDIS_DOCKER_WORKING_DIR=/home/redis
|
||||||
|
|
||||||
REDIS_DOCKER_WORKING_DIR_CREATE="id -u $REDIS >/dev/null 2>&1 || adduser --disabled-password --gecos '' $REDIS; chown -R $REDIS:$REDIS /home/root/.$REDIS || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
REDIS_DOCKER_WORKING_DIR_CREATE="id -u redis >/dev/null 2>&1 || adduser --disabled-password --gecos '' redis; chown -R redis:redis /home/root/.redis || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
||||||
REDIS_URL_ROUTE=/$REDIS
|
_DOCKER_PORT=6379:6379
|
||||||
REDIS_URL=http://\$REDIS_DOCKER_NAME:$REDIS_DOCKER_PORT
|
REDIS_URL_ROUTE=/redis
|
||||||
REDIS_URL_EXTERNAL=https://$HOST$REDIS_URL_ROUTE
|
_URL=http://:
|
||||||
REDIS_URL_WS=ws://\$REDIS_DOCKER_PORT
|
REDIS_URL_EXTERNAL=https://dev4._4NKweb.com
|
||||||
REDIS_URL_WS_EXTERNAL=wss://$HOST\ws
|
_URL_WS=ws://
|
||||||
|
REDIS_URL_WS_EXTERNAL=wss://dev4._4NKweb.com\ws
|
||||||
|
|
||||||
|
|
||||||
# ====== INTERNAL POSTGRESQL ======
|
# ====== INTERNAL POSTGRESQL ======
|
||||||
|
|
||||||
POSTGRESQL_DOCKER_NAME=$POSTGRESQL
|
POSTGRESQL_DOCKER_NAME=postgresql
|
||||||
POSTGRESQL_CONFS_DIR=$DOCKER_GLOBAL/confs/$POSTGRESQL
|
POSTGRESQL_CONFS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/confs/postgresql
|
||||||
POSTGRESQL_LOGS_DIR=$DOCKER_GLOBAL/logs/$POSTGRESQL
|
POSTGRESQL_LOGS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/postgresql
|
||||||
POSTGRESQL_RUNS_DIR=$DOCKER_GLOBAL/runs/$POSTGRESQL
|
POSTGRESQL_RUNS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/runs/postgresql
|
||||||
POSTGRESQL_DATAS_DIR=$DOCKER_GLOBAL/datas/$POSTGRESQL
|
POSTGRESQL_DATAS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/datas/postgresql
|
||||||
POSTGRESQL_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$POSTGRESQL
|
POSTGRESQL_BACKUPS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/backups/postgresql
|
||||||
POSTGRESQL_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$POSTGRESQL
|
POSTGRESQL_SCRIPTS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/scripts/postgresql
|
||||||
POSTGRESQL_DOCKER_WORKING_DIR=/home/$POSTGRESQL
|
POSTGRESQL_DOCKER_WORKING_DIR=/home/postgresql
|
||||||
|
|
||||||
POSTGRESQL_DOCKER_CONFS_DIR=$DOCKER_GLOBAL/confs/$POSTGRESQL
|
_DOCKER_CONFS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/confs/postgresql
|
||||||
POSTGRESQL_DOCKER_LOGS_DIR=$DOCKER_GLOBAL/logs/$POSTGRESQL
|
_DOCKER_LOGS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/postgresql
|
||||||
POSTGRESQL_DOCKER_RUNS_DIR=$DOCKER_GLOBAL/runs/$POSTGRESQL
|
_DOCKER_RUNS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/runs/postgresql
|
||||||
POSTGRESQL_DOCKER_DATAS_DIR=$DOCKER_GLOBAL/datas/$POSTGRESQL
|
_DOCKER_DATAS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/datas/postgresql
|
||||||
POSTGRESQL_DOCKER_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$POSTGRESQL
|
_DOCKER_BACKUPS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/backups/postgresql
|
||||||
POSTGRESQL_DOCKER_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$POSTGRESQL
|
_DOCKER_SCRIPTS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/scripts/postgresql
|
||||||
POSTGRESQL_DOCKER_WORKING_DIR=/home/$POSTGRESQL
|
POSTGRESQL_DOCKER_WORKING_DIR=/home/postgresql
|
||||||
|
|
||||||
POSTGRESQL_DOCKER_WORKING_DIR_CREATE="id -u $POSTGRESQL >/dev/null 2>&1 || adduser --disabled-password --gecos '' $POSTGRESQL; chown -R $POSTGRESQL:$POSTGRESQL /home/root/.$POSTGRESQL || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
POSTGRESQL_DOCKER_WORKING_DIR_CREATE="id -u postgresql >/dev/null 2>&1 || adduser --disabled-password --gecos '' postgresql; chown -R postgresql:postgresql /home/root/.postgresql || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
||||||
POSTGRESQL_URL_ROUTE=/$POSTGRESQL
|
_DOCKER_PORT=5432:5432
|
||||||
POSTGRESQL_URL=http://\$POSTGRESQL_DOCKER_NAME:$POSTGRESQL_DOCKER_PORT
|
POSTGRESQL_URL_ROUTE=/postgresql
|
||||||
POSTGRESQL_URL_EXTERNAL=https://$HOST$POSTGRESQL_URL_ROUTE
|
_URL=http://:
|
||||||
POSTGRESQL_URL_WS=ws://\$POSTGRESQL_DOCKER_PORT
|
POSTGRESQL_URL_EXTERNAL=https://dev4._4NKweb.com
|
||||||
POSTGRESQL_URL_WS_EXTERNAL=wss://$HOST\ws
|
_URL_WS=ws://
|
||||||
|
POSTGRESQL_URL_WS_EXTERNAL=wss://dev4._4NKweb.com\ws
|
||||||
|
|
||||||
|
|
||||||
# ====== INTERNAL LOKI ======
|
# ====== INTERNAL LOKI ======
|
||||||
|
|
||||||
LOKI_DOCKER_NAME=$LOKI
|
LOKI_DOCKER_NAME=loki
|
||||||
LOKI_CONFS_DIR=$DOCKER_GLOBAL/confs/$LOKI
|
LOKI_CONFS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/confs/loki
|
||||||
LOKI_LOGS_DIR=$DOCKER_GLOBAL/logs/$LOKI
|
LOKI_LOGS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/loki
|
||||||
LOKI_RUNS_DIR=$DOCKER_GLOBAL/runs/$LOKI
|
LOKI_RUNS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/runs/loki
|
||||||
LOKI_DATAS_DIR=$DOCKER_GLOBAL/datas/$LOKI
|
LOKI_DATAS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/datas/loki
|
||||||
LOKI_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$LOKI
|
LOKI_BACKUPS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/backups/loki
|
||||||
LOKI_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$LOKI
|
LOKI_SCRIPTS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/scripts/loki
|
||||||
LOKI_DOCKER_WORKING_DIR=/home/$LOKI
|
LOKI_DOCKER_WORKING_DIR=/home/loki
|
||||||
|
|
||||||
LOKI_DOCKER_CONFS_DIR=$DOCKER_GLOBAL/confs/$LOKI
|
_DOCKER_CONFS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/confs/loki
|
||||||
LOKI_DOCKER_LOGS_DIR=$DOCKER_GLOBAL/logs/$LOKI
|
_DOCKER_LOGS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/loki
|
||||||
LOKI_DOCKER_RUNS_DIR=$DOCKER_GLOBAL/runs/$LOKI
|
_DOCKER_RUNS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/runs/loki
|
||||||
LOKI_DOCKER_DATAS_DIR=$DOCKER_GLOBAL/datas/$LOKI
|
_DOCKER_DATAS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/datas/loki
|
||||||
LOKI_DOCKER_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$LOKI
|
_DOCKER_BACKUPS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/backups/loki
|
||||||
LOKI_DOCKER_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$LOKI
|
_DOCKER_SCRIPTS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/scripts/loki
|
||||||
LOKI_DOCKER_WORKING_DIR=/home/$LOKI
|
LOKI_DOCKER_WORKING_DIR=/home/loki
|
||||||
|
|
||||||
LOKI_DOCKER_WORKING_DIR_CREATE="id -u $LOKI >/dev/null 2>&1 || adduser --disabled-password --gecos '' $LOKI; chown -R $LOKI:$LOKI /home/root/.$LOKI || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
LOKI_DOCKER_WORKING_DIR_CREATE="id -u loki >/dev/null 2>&1 || adduser --disabled-password --gecos '' loki; chown -R loki:loki /home/root/.loki || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
||||||
LOKI_URL_ROUTE=/$LOKI
|
_DOCKER_PORT=3100:3100
|
||||||
LOKI_URL=http://\$LOKI_DOCKER_NAME:$LOKI_DOCKER_PORT
|
LOKI_URL_ROUTE=/loki
|
||||||
LOKI_URL_EXTERNAL=https://$HOST$LOKI_URL_ROUTE
|
_URL=http://:
|
||||||
LOKI_URL_WS=ws://\$LOKI_DOCKER_PORT
|
LOKI_URL_EXTERNAL=https://dev4._4NKweb.com
|
||||||
LOKI_URL_WS_EXTERNAL=wss://$HOST\ws
|
_URL_WS=ws://
|
||||||
|
LOKI_URL_WS_EXTERNAL=wss://dev4._4NKweb.com\ws
|
||||||
|
|
||||||
|
|
||||||
# ====== INTERNAL PROMTAIL ======
|
# ====== INTERNAL PROMTAIL ======
|
||||||
|
|
||||||
PROMTAIL_DOCKER_NAME=$PROMTAIL
|
PROMTAIL_DOCKER_NAME=promtail
|
||||||
PROMTAIL_CONFS_DIR=$DOCKER_GLOBAL/confs/$PROMTAIL
|
PROMTAIL_CONFS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/confs/promtail
|
||||||
PROMTAIL_LOGS_DIR=$DOCKER_GLOBAL/logs/$PROMTAIL
|
PROMTAIL_LOGS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/promtail
|
||||||
PROMTAIL_RUNS_DIR=$DOCKER_GLOBAL/runs/$PROMTAIL
|
PROMTAIL_RUNS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/runs/promtail
|
||||||
PROMTAIL_DATAS_DIR=$DOCKER_GLOBAL/datas/$PROMTAIL
|
PROMTAIL_DATAS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/datas/promtail
|
||||||
PROMTAIL_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$PROMTAIL
|
PROMTAIL_BACKUPS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/backups/promtail
|
||||||
PROMTAIL_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$PROMTAIL
|
PROMTAIL_SCRIPTS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/scripts/promtail
|
||||||
PROMTAIL_DOCKER_WORKING_DIR=/home/$PROMTAIL
|
PROMTAIL_DOCKER_WORKING_DIR=/home/promtail
|
||||||
|
|
||||||
PROMTAIL_DOCKER_CONFS_DIR=$DOCKER_GLOBAL/confs/$PROMTAIL
|
_DOCKER_CONFS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/confs/promtail
|
||||||
PROMTAIL_DOCKER_LOGS_DIR=$DOCKER_GLOBAL/logs/$PROMTAIL
|
_DOCKER_LOGS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/promtail
|
||||||
PROMTAIL_DOCKER_RUNS_DIR=$DOCKER_GLOBAL/runs/$PROMTAIL
|
_DOCKER_RUNS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/runs/promtail
|
||||||
PROMTAIL_DOCKER_DATAS_DIR=$DOCKER_GLOBAL/datas/$PROMTAIL
|
_DOCKER_DATAS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/datas/promtail
|
||||||
PROMTAIL_DOCKER_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$PROMTAIL
|
_DOCKER_BACKUPS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/backups/promtail
|
||||||
PROMTAIL_DOCKER_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$PROMTAIL
|
_DOCKER_SCRIPTS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/scripts/promtail
|
||||||
PROMTAIL_DOCKER_WORKING_DIR=/home/$PROMTAIL
|
PROMTAIL_DOCKER_WORKING_DIR=/home/promtail
|
||||||
|
|
||||||
PROMTAIL_DOCKER_WORKING_DIR_CREATE="id -u $PROMTAIL >/dev/null 2>&1 || adduser --disabled-password --gecos '' $PROMTAIL; chown -R $PROMTAIL:$PROMTAIL /home/root/.$PROMTAIL || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
PROMTAIL_DOCKER_WORKING_DIR_CREATE="id -u promtail >/dev/null 2>&1 || adduser --disabled-password --gecos '' promtail; chown -R promtail:promtail /home/root/.promtail || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
||||||
PROMTAIL_URL_ROUTE=/$PROMTAIL
|
_DOCKER_PORT=8090:8090
|
||||||
PROMTAIL_URL=http://\$PROMTAIL_DOCKER_NAME:$PROMTAIL_DOCKER_PORT
|
PROMTAIL_URL_ROUTE=/promtail
|
||||||
PROMTAIL_URL_EXTERNAL=https://$HOST$PROMTAIL_URL_ROUTE
|
_URL=http://:
|
||||||
PROMTAIL_URL_WS=ws://\$PROMTAIL_DOCKER_PORT
|
PROMTAIL_URL_EXTERNAL=https://dev4._4NKweb.com
|
||||||
PROMTAIL_URL_WS_EXTERNAL=wss://$HOST\ws
|
_URL_WS=ws://
|
||||||
|
PROMTAIL_URL_WS_EXTERNAL=wss://dev4._4NKweb.com\ws
|
||||||
|
|
||||||
|
|
||||||
# ====== INTERNAL GRAFANA ======
|
# ====== INTERNAL GRAFANA ======
|
||||||
|
|
||||||
GRAFANA_DOCKER_NAME=$GRAFANA
|
GRAFANA_DOCKER_NAME=grafana
|
||||||
GRAFANA_CONFS_DIR=$DOCKER_GLOBAL/confs/$GRAFANA
|
GRAFANA_CONFS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/confs/grafana
|
||||||
GRAFANA_LOGS_DIR=$DOCKER_GLOBAL/logs/$GRAFANA
|
GRAFANA_LOGS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/grafana
|
||||||
GRAFANA_RUNS_DIR=$DOCKER_GLOBAL/runs/$GRAFANA
|
GRAFANA_RUNS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/runs/grafana
|
||||||
GRAFANA_DATAS_DIR=$DOCKER_GLOBAL/datas/$GRAFANA
|
GRAFANA_DATAS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/datas/grafana
|
||||||
GRAFANA_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$GRAFANA
|
GRAFANA_BACKUPS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/backups/grafana
|
||||||
GRAFANA_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$GRAFANA
|
GRAFANA_SCRIPTS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/scripts/grafana
|
||||||
GRAFANA_DOCKER_WORKING_DIR=/home/$GRAFANA
|
GRAFANA_DOCKER_WORKING_DIR=/home/grafana
|
||||||
|
|
||||||
GRAFANA_DOCKER_CONFS_DIR=$DOCKER_GLOBAL/confs/$GRAFANA
|
_DOCKER_CONFS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/confs/grafana
|
||||||
GRAFANA_DOCKER_LOGS_DIR=$DOCKER_GLOBAL/logs/$GRAFANA
|
_DOCKER_LOGS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/grafana
|
||||||
GRAFANA_DOCKER_RUNS_DIR=$DOCKER_GLOBAL/runs/$GRAFANA
|
_DOCKER_RUNS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/runs/grafana
|
||||||
GRAFANA_DOCKER_DATAS_DIR=$DOCKER_GLOBAL/datas/$GRAFANA
|
_DOCKER_DATAS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/datas/grafana
|
||||||
GRAFANA_DOCKER_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$GRAFANA
|
_DOCKER_BACKUPS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/backups/grafana
|
||||||
GRAFANA_DOCKER_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$GRAFANA
|
_DOCKER_SCRIPTS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/scripts/grafana
|
||||||
GRAFANA_DOCKER_WORKING_DIR=/home/$GRAFANA
|
GRAFANA_DOCKER_WORKING_DIR=/home/grafana
|
||||||
|
|
||||||
GRAFANA_DOCKER_WORKING_DIR_CREATE="id -u $GRAFANA >/dev/null 2>&1 || adduser --disabled-password --gecos '' $GRAFANA; chown -R $GRAFANA:$GRAFANA /home/root/.$GRAFANA || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
GRAFANA_DOCKER_WORKING_DIR_CREATE="id -u grafana >/dev/null 2>&1 || adduser --disabled-password --gecos '' grafana; chown -R grafana:grafana /home/root/.grafana || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
||||||
GRAFANA_URL_ROUTE=/$GRAFANA
|
_DOCKER_PORT=3001:3001
|
||||||
GRAFANA_URL=http://\$GRAFANA_DOCKER_NAME:$GRAFANA_DOCKER_PORT
|
GRAFANA_URL_ROUTE=/grafana
|
||||||
GRAFANA_URL_EXTERNAL=https://$HOST$GRAFANA_URL_ROUTE
|
_URL=http://:
|
||||||
GRAFANA_URL_WS=ws://\$GRAFANA_DOCKER_PORT
|
GRAFANA_URL_EXTERNAL=https://dev4._4NKweb.com
|
||||||
GRAFANA_URL_WS_EXTERNAL=wss://$HOST\ws
|
_URL_WS=ws://
|
||||||
|
GRAFANA_URL_WS_EXTERNAL=wss://dev4._4NKweb.com\ws
|
||||||
|
|
||||||
|
|
||||||
# ====== INTERNAL NGNIX ======
|
# ====== INTERNAL NGNIX ======
|
||||||
|
|
||||||
NGNIX_DOCKER_NAME=$NGNIX
|
NGNIX_DOCKER_NAME=
|
||||||
NGNIX_CONFS_DIR=$DOCKER_GLOBAL/confs/$NGNIX
|
NGNIX_CONFS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/confs/
|
||||||
NGNIX_LOGS_DIR=$DOCKER_GLOBAL/logs/$NGNIX
|
NGNIX_LOGS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/
|
||||||
NGNIX_RUNS_DIR=$DOCKER_GLOBAL/runs/$NGNIX
|
NGNIX_RUNS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/runs/
|
||||||
NGNIX_DATAS_DIR=$DOCKER_GLOBAL/datas/$NGNIX
|
NGNIX_DATAS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/datas/
|
||||||
NGNIX_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$NGNIX
|
NGNIX_BACKUPS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/backups/
|
||||||
NGNIX_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$NGNIX
|
NGNIX_SCRIPTS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/scripts/
|
||||||
NGNIX_DOCKER_WORKING_DIR=/home/$NGNIX
|
NGNIX_DOCKER_WORKING_DIR=/home/
|
||||||
|
|
||||||
NGNIX_DOCKER_CONFS_DIR=$DOCKER_GLOBAL/confs/$NGNIX
|
_DOCKER_CONFS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/confs/
|
||||||
NGNIX_DOCKER_LOGS_DIR=$DOCKER_GLOBAL/logs/$NGNIX
|
_DOCKER_LOGS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/
|
||||||
NGNIX_DOCKER_RUNS_DIR=$DOCKER_GLOBAL/runs/$NGNIX
|
_DOCKER_RUNS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/runs/
|
||||||
NGNIX_DOCKER_DATAS_DIR=$DOCKER_GLOBAL/datas/$NGNIX
|
_DOCKER_DATAS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/datas/
|
||||||
NGNIX_DOCKER_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$NGNIX
|
_DOCKER_BACKUPS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/backups/
|
||||||
NGNIX_DOCKER_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$NGNIX
|
_DOCKER_SCRIPTS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/scripts/
|
||||||
NGNIX_DOCKER_WORKING_DIR=/home/$NGNIX
|
NGNIX_DOCKER_WORKING_DIR=/home/
|
||||||
|
|
||||||
NGNIX_DOCKER_WORKING_DIR_CREATE="id -u $NGNIX >/dev/null 2>&1 || adduser --disabled-password --gecos '' $NGNIX; chown -R $NGNIX:$NGNIX /home/root/.$NGNIX || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
NGNIX_DOCKER_WORKING_DIR_CREATE="id -u >/dev/null 2>&1 || adduser --disabled-password --gecos '' ; chown -R : /home/root/. || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
||||||
NGNIX_URL_ROUTE=/$NGNIX
|
_DOCKER_PORT=
|
||||||
NGNIX_URL=http://\$NGNIX_DOCKER_NAME:$NGNIX_DOCKER_PORT
|
NGNIX_URL_ROUTE=/
|
||||||
NGNIX_URL_EXTERNAL=https://$HOST$NGNIX_URL_ROUTE
|
_URL=http://:
|
||||||
NGNIX_URL_WS=ws://\$NGNIX_DOCKER_PORT
|
NGNIX_URL_EXTERNAL=https://dev4._4NKweb.com
|
||||||
NGNIX_URL_WS_EXTERNAL=wss://$HOST\ws
|
_URL_WS=ws://
|
||||||
|
NGNIX_URL_WS_EXTERNAL=wss://dev4._4NKweb.com\ws
|
||||||
|
|
||||||
|
|
||||||
# ====== INTERNAL TOR ======
|
# ====== INTERNAL TOR ======
|
||||||
|
|
||||||
TOR_DOCKER_NAME=$TOR
|
TOR_DOCKER_NAME=tor-proxy
|
||||||
TOR_CONFS_DIR=$DOCKER_GLOBAL/confs/$TOR
|
TOR_CONFS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/confs/tor-proxy
|
||||||
TOR_LOGS_DIR=$DOCKER_GLOBAL/logs/$TOR
|
TOR_LOGS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/tor-proxy
|
||||||
TOR_RUNS_DIR=$DOCKER_GLOBAL/runs/$TOR
|
TOR_RUNS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/runs/tor-proxy
|
||||||
TOR_DATAS_DIR=$DOCKER_GLOBAL/datas/$TOR
|
TOR_DATAS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/datas/tor-proxy
|
||||||
TOR_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$TOR
|
TOR_BACKUPS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/backups/tor-proxy
|
||||||
TOR_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$TOR
|
TOR_SCRIPTS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/scripts/tor-proxy
|
||||||
TOR_DOCKER_WORKING_DIR=/home/$TOR
|
TOR_DOCKER_WORKING_DIR=/home/tor-proxy
|
||||||
|
|
||||||
TOR_DOCKER_CONFS_DIR=$DOCKER_GLOBAL/confs/$TOR
|
_DOCKER_CONFS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/confs/tor-proxy
|
||||||
TOR_DOCKER_LOGS_DIR=$DOCKER_GLOBAL/logs/$TOR
|
_DOCKER_LOGS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/tor-proxy
|
||||||
TOR_DOCKER_RUNS_DIR=$DOCKER_GLOBAL/runs/$TOR
|
_DOCKER_RUNS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/runs/tor-proxy
|
||||||
TOR_DOCKER_DATAS_DIR=$DOCKER_GLOBAL/datas/$TOR
|
_DOCKER_DATAS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/datas/tor-proxy
|
||||||
TOR_DOCKER_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$TOR
|
_DOCKER_BACKUPS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/backups/tor-proxy
|
||||||
TOR_DOCKER_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$TOR
|
_DOCKER_SCRIPTS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/scripts/tor-proxy
|
||||||
TOR_DOCKER_WORKING_DIR=/home/$TOR
|
TOR_DOCKER_WORKING_DIR=/home/tor-proxy
|
||||||
|
|
||||||
TOR_DOCKER_WORKING_DIR_CREATE="id -u $TOR >/dev/null 2>&1 || adduser --disabled-password --gecos '' $TOR; chown -R $TOR:$TOR /home/root/.$TOR || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
TOR_DOCKER_WORKING_DIR_CREATE="id -u tor-proxy >/dev/null 2>&1 || adduser --disabled-password --gecos '' tor-proxy; chown -R tor-proxy:tor-proxy /home/root/.tor-proxy || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
||||||
TOR_URL_ROUTE=/$TOR
|
_DOCKER_PORT=9050:9050
|
||||||
TOR_URL=http://\$TOR_DOCKER_NAME:$TOR_DOCKER_PORT
|
TOR_URL_ROUTE=/tor-proxy
|
||||||
TOR_URL_EXTERNAL=https://$HOST$TOR_URL_ROUTE
|
_URL=http://:
|
||||||
TOR_URL_WS=ws://\$TOR_DOCKER_PORT
|
TOR_URL_EXTERNAL=https://dev4._4NKweb.com
|
||||||
TOR_URL_WS_EXTERNAL=wss://$HOST\ws
|
_URL_WS=ws://
|
||||||
|
TOR_URL_WS_EXTERNAL=wss://dev4._4NKweb.com\ws
|
||||||
|
|
||||||
|
|
||||||
# ====== INTERNAL _4NK_VAULT ======
|
# ====== INTERNAL _4NK_VAULT ======
|
||||||
|
|
||||||
_4NK_VAULT_DOCKER_NAME=$_4NK_VAULT
|
_4NK_VAULT_DOCKER_NAME=_4NK_vault
|
||||||
_4NK_VAULT_CONFS_DIR=$DOCKER_GLOBAL/confs/$_4NK_VAULT
|
_4NK_VAULT_CONFS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/confs/_4NK_vault
|
||||||
_4NK_VAULT_LOGS_DIR=$DOCKER_GLOBAL/logs/$_4NK_VAULT
|
_4NK_VAULT_LOGS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/_4NK_vault
|
||||||
_4NK_VAULT_RUNS_DIR=$DOCKER_GLOBAL/runs/$_4NK_VAULT
|
_4NK_VAULT_RUNS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/runs/_4NK_vault
|
||||||
_4NK_VAULT_DATAS_DIR=$DOCKER_GLOBAL/datas/$_4NK_VAULT
|
_4NK_VAULT_DATAS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/datas/_4NK_vault
|
||||||
_4NK_VAULT_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$_4NK_VAULT
|
_4NK_VAULT_BACKUPS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/backups/_4NK_vault
|
||||||
_4NK_VAULT_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$_4NK_VAULT
|
_4NK_VAULT_SCRIPTS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/scripts/_4NK_vault
|
||||||
_4NK_VAULT_DOCKER_WORKING_DIR=/home/$_4NK_VAULT
|
_4NK_VAULT_DOCKER_WORKING_DIR=/home/_4NK_vault
|
||||||
|
|
||||||
_4NK_VAULT_DOCKER_CONFS_DIR=$DOCKER_GLOBAL/confs/$_4NK_VAULT
|
_DOCKER_CONFS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/confs/_4NK_vault
|
||||||
_4NK_VAULT_DOCKER_LOGS_DIR=$DOCKER_GLOBAL/logs/$_4NK_VAULT
|
_DOCKER_LOGS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/_4NK_vault
|
||||||
_4NK_VAULT_DOCKER_RUNS_DIR=$DOCKER_GLOBAL/runs/$_4NK_VAULT
|
_DOCKER_RUNS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/runs/_4NK_vault
|
||||||
_4NK_VAULT_DOCKER_DATAS_DIR=$DOCKER_GLOBAL/datas/$_4NK_VAULT
|
_DOCKER_DATAS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/datas/_4NK_vault
|
||||||
_4NK_VAULT_DOCKER_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$_4NK_VAULT
|
_DOCKER_BACKUPS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/backups/_4NK_vault
|
||||||
_4NK_VAULT_DOCKER_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$_4NK_VAULT
|
_DOCKER_SCRIPTS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/scripts/_4NK_vault
|
||||||
_4NK_VAULT_DOCKER_WORKING_DIR=/home/$_4NK_VAULT
|
_4NK_VAULT_DOCKER_WORKING_DIR=/home/_4NK_vault
|
||||||
|
|
||||||
_4NK_VAULT_DOCKER_WORKING_DIR_CREATE="id -u $_4NK_VAULT >/dev/null 2>&1 || adduser --disabled-password --gecos '' $_4NK_VAULT; chown -R $_4NK_VAULT:$_4NK_VAULT /home/root/.$_4NK_VAULT || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
_4NK_VAULT_DOCKER_WORKING_DIR_CREATE="id -u _4NK_vault >/dev/null 2>&1 || adduser --disabled-password --gecos '' _4NK_vault; chown -R _4NK_vault:_4NK_vault /home/root/._4NK_vault || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
||||||
_4NK_VAULT_URL_ROUTE=/$_4NK_VAULT
|
_DOCKER_PORT=
|
||||||
_4NK_VAULT_URL=http://\$_4NK_VAULT_DOCKER_NAME:$_4NK_VAULT_DOCKER_PORT
|
_4NK_VAULT_URL_ROUTE=/_4NK_vault
|
||||||
_4NK_VAULT_URL_EXTERNAL=https://$HOST$_4NK_VAULT_URL_ROUTE
|
_URL=http://:
|
||||||
_4NK_VAULT_URL_WS=ws://\$_4NK_VAULT_DOCKER_PORT
|
_4NK_VAULT_URL_EXTERNAL=https://dev4._4NKweb.com
|
||||||
_4NK_VAULT_URL_WS_EXTERNAL=wss://$HOST\ws
|
_URL_WS=ws://
|
||||||
|
_4NK_VAULT_URL_WS_EXTERNAL=wss://dev4._4NKweb.com\ws
|
||||||
|
|
||||||
|
|
||||||
# ====== INTERNAL BITCOIN ======
|
# ====== INTERNAL BITCOIN ======
|
||||||
|
|
||||||
BITCOIN_DOCKER_NAME=$BITCOIN
|
BITCOIN_DOCKER_NAME=bitcoin
|
||||||
BITCOIN_CONFS_DIR=$DOCKER_GLOBAL/confs/$BITCOIN
|
BITCOIN_CONFS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/confs/bitcoin
|
||||||
BITCOIN_LOGS_DIR=$DOCKER_GLOBAL/logs/$BITCOIN
|
BITCOIN_LOGS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/bitcoin
|
||||||
BITCOIN_RUNS_DIR=$DOCKER_GLOBAL/runs/$BITCOIN
|
BITCOIN_RUNS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/runs/bitcoin
|
||||||
BITCOIN_DATAS_DIR=$DOCKER_GLOBAL/datas/$BITCOIN
|
BITCOIN_DATAS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/datas/bitcoin
|
||||||
BITCOIN_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$BITCOIN
|
BITCOIN_BACKUPS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/backups/bitcoin
|
||||||
BITCOIN_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$BITCOIN
|
BITCOIN_SCRIPTS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/scripts/bitcoin
|
||||||
BITCOIN_DOCKER_WORKING_DIR=/home/$BITCOIN
|
BITCOIN_DOCKER_WORKING_DIR=/home/bitcoin
|
||||||
|
|
||||||
BITCOIN_DOCKER_CONFS_DIR=$DOCKER_GLOBAL/confs/$BITCOIN
|
_DOCKER_CONFS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/confs/bitcoin
|
||||||
BITCOIN_DOCKER_LOGS_DIR=$DOCKER_GLOBAL/logs/$BITCOIN
|
_DOCKER_LOGS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/bitcoin
|
||||||
BITCOIN_DOCKER_RUNS_DIR=$DOCKER_GLOBAL/runs/$BITCOIN
|
_DOCKER_RUNS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/runs/bitcoin
|
||||||
BITCOIN_DOCKER_DATAS_DIR=$DOCKER_GLOBAL/datas/$BITCOIN
|
_DOCKER_DATAS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/datas/bitcoin
|
||||||
BITCOIN_DOCKER_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$BITCOIN
|
_DOCKER_BACKUPS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/backups/bitcoin
|
||||||
BITCOIN_DOCKER_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$BITCOIN
|
_DOCKER_SCRIPTS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/scripts/bitcoin
|
||||||
BITCOIN_DOCKER_WORKING_DIR=/home/$BITCOIN
|
BITCOIN_DOCKER_WORKING_DIR=/home/bitcoin
|
||||||
|
|
||||||
BITCOIN_DOCKER_WORKING_DIR_CREATE="id -u $BITCOIN >/dev/null 2>&1 || adduser --disabled-password --gecos '' $BITCOIN; chown -R $BITCOIN:$BITCOIN /home/root/.$BITCOIN || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
BITCOIN_DOCKER_WORKING_DIR_CREATE="id -u bitcoin >/dev/null 2>&1 || adduser --disabled-password --gecos '' bitcoin; chown -R bitcoin:bitcoin /home/root/.bitcoin || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
||||||
BITCOIN_URL_ROUTE=/$BITCOIN
|
_DOCKER_PORT=38332:38332
|
||||||
BITCOIN_URL=http://\$BITCOIN_DOCKER_NAME:$BITCOIN_DOCKER_PORT
|
BITCOIN_URL_ROUTE=/bitcoin
|
||||||
BITCOIN_URL_EXTERNAL=https://$HOST$BITCOIN_URL_ROUTE
|
_URL=http://:
|
||||||
BITCOIN_URL_WS=ws://\$BITCOIN_DOCKER_PORT
|
BITCOIN_URL_EXTERNAL=https://dev4._4NKweb.com
|
||||||
BITCOIN_URL_WS_EXTERNAL=wss://$HOST\ws
|
_URL_WS=ws://
|
||||||
|
BITCOIN_URL_WS_EXTERNAL=wss://dev4._4NKweb.com\ws
|
||||||
|
|
||||||
|
|
||||||
# ====== INTERNAL BLINDBIT_ORACLE ======
|
# ====== INTERNAL BLINDBIT_ORACLE ======
|
||||||
|
|
||||||
BLINDBIT_ORACLE_DOCKER_NAME=$BLINDBIT_ORACLE
|
BLINDBIT_ORACLE_DOCKER_NAME=blindbit-oracle
|
||||||
BLINDBIT_ORACLE_CONFS_DIR=$DOCKER_GLOBAL/confs/$BLINDBIT_ORACLE
|
BLINDBIT_ORACLE_CONFS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/confs/blindbit-oracle
|
||||||
BLINDBIT_ORACLE_LOGS_DIR=$DOCKER_GLOBAL/logs/$BLINDBIT_ORACLE
|
BLINDBIT_ORACLE_LOGS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/blindbit-oracle
|
||||||
BLINDBIT_ORACLE_RUNS_DIR=$DOCKER_GLOBAL/runs/$BLINDBIT_ORACLE
|
BLINDBIT_ORACLE_RUNS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/runs/blindbit-oracle
|
||||||
BLINDBIT_ORACLE_DATAS_DIR=$DOCKER_GLOBAL/datas/$BLINDBIT_ORACLE
|
BLINDBIT_ORACLE_DATAS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/datas/blindbit-oracle
|
||||||
BLINDBIT_ORACLE_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$BLINDBIT_ORACLE
|
BLINDBIT_ORACLE_BACKUPS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/backups/blindbit-oracle
|
||||||
BLINDBIT_ORACLE_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$BLINDBIT_ORACLE
|
BLINDBIT_ORACLE_SCRIPTS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/scripts/blindbit-oracle
|
||||||
BLINDBIT_ORACLE_DOCKER_WORKING_DIR=/home/$BLINDBIT_ORACLE
|
BLINDBIT_ORACLE_DOCKER_WORKING_DIR=/home/blindbit-oracle
|
||||||
|
|
||||||
BLINDBIT_ORACLE_DOCKER_CONFS_DIR=$DOCKER_GLOBAL/confs/$BLINDBIT_ORACLE
|
_DOCKER_CONFS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/confs/blindbit-oracle
|
||||||
BLINDBIT_ORACLE_DOCKER_LOGS_DIR=$DOCKER_GLOBAL/logs/$BLINDBIT_ORACLE
|
_DOCKER_LOGS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/blindbit-oracle
|
||||||
BLINDBIT_ORACLE_DOCKER_RUNS_DIR=$DOCKER_GLOBAL/runs/$BLINDBIT_ORACLE
|
_DOCKER_RUNS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/runs/blindbit-oracle
|
||||||
BLINDBIT_ORACLE_DOCKER_DATAS_DIR=$DOCKER_GLOBAL/datas/$BLINDBIT_ORACLE
|
_DOCKER_DATAS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/datas/blindbit-oracle
|
||||||
BLINDBIT_ORACLE_DOCKER_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$BLINDBIT_ORACLE
|
_DOCKER_BACKUPS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/backups/blindbit-oracle
|
||||||
BLINDBIT_ORACLE_DOCKER_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$BLINDBIT_ORACLE
|
_DOCKER_SCRIPTS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/scripts/blindbit-oracle
|
||||||
BLINDBIT_ORACLE_DOCKER_WORKING_DIR=/home/$BLINDBIT_ORACLE
|
BLINDBIT_ORACLE_DOCKER_WORKING_DIR=/home/blindbit-oracle
|
||||||
|
|
||||||
BLINDBIT_ORACLE_DOCKER_WORKING_DIR_CREATE="id -u $BLINDBIT_ORACLE >/dev/null 2>&1 || adduser --disabled-password --gecos '' $BLINDBIT_ORACLE; chown -R $BLINDBIT_ORACLE:$BLINDBIT_ORACLE /home/root/.$BLINDBIT_ORACLE || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
BLINDBIT_ORACLE_DOCKER_WORKING_DIR_CREATE="id -u blindbit-oracle >/dev/null 2>&1 || adduser --disabled-password --gecos '' blindbit-oracle; chown -R blindbit-oracle:blindbit-oracle /home/root/.blindbit-oracle || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
||||||
BLINDBIT_ORACLE_URL_ROUTE=/$BLINDBIT_ORACLE
|
_DOCKER_PORT=8000:8000
|
||||||
BLINDBIT_ORACLE_URL=http://\$BLINDBIT_ORACLE_DOCKER_NAME:$BLINDBIT_ORACLE_DOCKER_PORT
|
BLINDBIT_ORACLE_URL_ROUTE=/blindbit-oracle
|
||||||
BLINDBIT_ORACLE_URL_EXTERNAL=https://$HOST$BLINDBIT_ORACLE_URL_ROUTE
|
_URL=http://:
|
||||||
BLINDBIT_ORACLE_URL_WS=ws://\$BLINDBIT_ORACLE_DOCKER_PORT
|
BLINDBIT_ORACLE_URL_EXTERNAL=https://dev4._4NKweb.com
|
||||||
BLINDBIT_ORACLE_URL_WS_EXTERNAL=wss://$HOST\ws
|
_URL_WS=ws://
|
||||||
|
BLINDBIT_ORACLE_URL_WS_EXTERNAL=wss://dev4._4NKweb.com\ws
|
||||||
|
|
||||||
|
|
||||||
# ====== INTERNAL SDK_RELAY ======
|
# ====== INTERNAL SDK_RELAY ======
|
||||||
|
|
||||||
SDK_RELAY_DOCKER_NAME=$SDK_RELAY
|
SDK_RELAY_DOCKER_NAME=sdk_relay
|
||||||
SDK_RELAY_CONFS_DIR=$DOCKER_GLOBAL/confs/$SDK_RELAY
|
SDK_RELAY_CONFS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/confs/sdk_relay
|
||||||
SDK_RELAY_LOGS_DIR=$DOCKER_GLOBAL/logs/$SDK_RELAY
|
SDK_RELAY_LOGS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/sdk_relay
|
||||||
SDK_RELAY_RUNS_DIR=$DOCKER_GLOBAL/runs/$SDK_RELAY
|
SDK_RELAY_RUNS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/runs/sdk_relay
|
||||||
SDK_RELAY_DATAS_DIR=$DOCKER_GLOBAL/datas/$SDK_RELAY
|
SDK_RELAY_DATAS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/datas/sdk_relay
|
||||||
SDK_RELAY_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$SDK_RELAY
|
SDK_RELAY_BACKUPS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/backups/sdk_relay
|
||||||
SDK_RELAY_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$SDK_RELAY
|
SDK_RELAY_SCRIPTS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/scripts/sdk_relay
|
||||||
SDK_RELAY_DOCKER_WORKING_DIR=/home/$SDK_RELAY
|
SDK_RELAY_DOCKER_WORKING_DIR=/home/sdk_relay
|
||||||
|
|
||||||
SDK_RELAY_DOCKER_CONFS_DIR=$DOCKER_GLOBAL/confs/$SDK_RELAY
|
_DOCKER_CONFS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/confs/sdk_relay
|
||||||
SDK_RELAY_DOCKER_LOGS_DIR=$DOCKER_GLOBAL/logs/$SDK_RELAY
|
_DOCKER_LOGS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/sdk_relay
|
||||||
SDK_RELAY_DOCKER_RUNS_DIR=$DOCKER_GLOBAL/runs/$SDK_RELAY
|
_DOCKER_RUNS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/runs/sdk_relay
|
||||||
SDK_RELAY_DOCKER_DATAS_DIR=$DOCKER_GLOBAL/datas/$SDK_RELAY
|
_DOCKER_DATAS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/datas/sdk_relay
|
||||||
SDK_RELAY_DOCKER_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$SDK_RELAY
|
_DOCKER_BACKUPS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/backups/sdk_relay
|
||||||
SDK_RELAY_DOCKER_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$SDK_RELAY
|
_DOCKER_SCRIPTS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/scripts/sdk_relay
|
||||||
SDK_RELAY_DOCKER_WORKING_DIR=/home/$SDK_RELAY
|
SDK_RELAY_DOCKER_WORKING_DIR=/home/sdk_relay
|
||||||
|
|
||||||
SDK_RELAY_DOCKER_WORKING_DIR_CREATE="id -u $SDK_RELAY >/dev/null 2>&1 || adduser --disabled-password --gecos '' $SDK_RELAY; chown -R $SDK_RELAY:$SDK_RELAY /home/root/.$SDK_RELAY || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
SDK_RELAY_DOCKER_WORKING_DIR_CREATE="id -u sdk_relay >/dev/null 2>&1 || adduser --disabled-password --gecos '' sdk_relay; chown -R sdk_relay:sdk_relay /home/root/.sdk_relay || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
||||||
SDK_RELAY_URL_ROUTE=/$SDK_RELAY
|
_DOCKER_PORT=8080:8080
|
||||||
SDK_RELAY_URL=http://\$SDK_RELAY_DOCKER_NAME:$SDK_RELAY_DOCKER_PORT
|
SDK_RELAY_URL_ROUTE=/sdk_relay
|
||||||
SDK_RELAY_URL_EXTERNAL=https://$HOST$SDK_RELAY_URL_ROUTE
|
_URL=http://:
|
||||||
SDK_RELAY_URL_WS=ws://\$SDK_RELAY_DOCKER_PORT
|
SDK_RELAY_URL_EXTERNAL=https://dev4._4NKweb.com
|
||||||
SDK_RELAY_URL_WS_EXTERNAL=wss://$HOST\ws
|
_URL_WS=ws://
|
||||||
|
SDK_RELAY_URL_WS_EXTERNAL=wss://dev4._4NKweb.com\ws
|
||||||
|
|
||||||
|
|
||||||
# ====== INTERNAL SDK_STORAGE ======
|
# ====== INTERNAL SDK_STORAGE ======
|
||||||
|
|
||||||
SDK_STORAGE_DOCKER_NAME=$SDK_STORAGE
|
SDK_STORAGE_DOCKER_NAME=sdk_storage
|
||||||
SDK_STORAGE_CONFS_DIR=$DOCKER_GLOBAL/confs/$SDK_STORAGE
|
SDK_STORAGE_CONFS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/confs/sdk_storage
|
||||||
SDK_STORAGE_LOGS_DIR=$DOCKER_GLOBAL/logs/$SDK_STORAGE
|
SDK_STORAGE_LOGS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/sdk_storage
|
||||||
SDK_STORAGE_RUNS_DIR=$DOCKER_GLOBAL/runs/$SDK_STORAGE
|
SDK_STORAGE_RUNS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/runs/sdk_storage
|
||||||
SDK_STORAGE_DATAS_DIR=$DOCKER_GLOBAL/datas/$SDK_STORAGE
|
SDK_STORAGE_DATAS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/datas/sdk_storage
|
||||||
SDK_STORAGE_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$SDK_STORAGE
|
SDK_STORAGE_BACKUPS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/backups/sdk_storage
|
||||||
SDK_STORAGE_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$SDK_STORAGE
|
SDK_STORAGE_SCRIPTS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/scripts/sdk_storage
|
||||||
SDK_STORAGE_DOCKER_WORKING_DIR=/home/$SDK_STORAGE
|
SDK_STORAGE_DOCKER_WORKING_DIR=/home/sdk_storage
|
||||||
|
|
||||||
SDK_STORAGE_DOCKER_CONFS_DIR=$DOCKER_GLOBAL/confs/$SDK_STORAGE
|
_DOCKER_CONFS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/confs/sdk_storage
|
||||||
SDK_STORAGE_DOCKER_LOGS_DIR=$DOCKER_GLOBAL/logs/$SDK_STORAGE
|
_DOCKER_LOGS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/sdk_storage
|
||||||
SDK_STORAGE_DOCKER_RUNS_DIR=$DOCKER_GLOBAL/runs/$SDK_STORAGE
|
_DOCKER_RUNS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/runs/sdk_storage
|
||||||
SDK_STORAGE_DOCKER_DATAS_DIR=$DOCKER_GLOBAL/datas/$SDK_STORAGE
|
_DOCKER_DATAS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/datas/sdk_storage
|
||||||
SDK_STORAGE_DOCKER_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$SDK_STORAGE
|
_DOCKER_BACKUPS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/backups/sdk_storage
|
||||||
SDK_STORAGE_DOCKER_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$SDK_STORAGE
|
_DOCKER_SCRIPTS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/scripts/sdk_storage
|
||||||
SDK_STORAGE_DOCKER_WORKING_DIR=/home/$SDK_STORAGE
|
SDK_STORAGE_DOCKER_WORKING_DIR=/home/sdk_storage
|
||||||
|
|
||||||
SDK_STORAGE_DOCKER_WORKING_DIR_CREATE="id -u $SDK_STORAGE >/dev/null 2>&1 || adduser --disabled-password --gecos '' $SDK_STORAGE; chown -R $SDK_STORAGE:$SDK_STORAGE /home/root/.$SDK_STORAGE || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
SDK_STORAGE_DOCKER_WORKING_DIR_CREATE="id -u sdk_storage >/dev/null 2>&1 || adduser --disabled-password --gecos '' sdk_storage; chown -R sdk_storage:sdk_storage /home/root/.sdk_storage || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
||||||
SDK_STORAGE_URL_ROUTE=/$SDK_STORAGE
|
_DOCKER_PORT=8081:8081
|
||||||
SDK_STORAGE_URL=http://\$SDK_STORAGE_DOCKER_NAME:$SDK_STORAGE_DOCKER_PORT
|
SDK_STORAGE_URL_ROUTE=/sdk_storage
|
||||||
SDK_STORAGE_URL_EXTERNAL=https://$HOST$SDK_STORAGE_URL_ROUTE
|
_URL=http://:
|
||||||
SDK_STORAGE_URL_WS=ws://\$SDK_STORAGE_DOCKER_PORT
|
SDK_STORAGE_URL_EXTERNAL=https://dev4._4NKweb.com
|
||||||
SDK_STORAGE_URL_WS_EXTERNAL=wss://$HOST\ws
|
_URL_WS=ws://
|
||||||
|
SDK_STORAGE_URL_WS_EXTERNAL=wss://dev4._4NKweb.com\ws
|
||||||
|
|
||||||
|
|
||||||
# ====== INTERNAL IHM_CLIENT ======
|
# ====== INTERNAL IHM_CLIENT ======
|
||||||
|
|
||||||
IHM_CLIENT_DOCKER_NAME=$IHM_CLIENT
|
IHM_CLIENT_DOCKER_NAME=ihm_client
|
||||||
IHM_CLIENT_CONFS_DIR=$DOCKER_GLOBAL/confs/$IHM_CLIENT
|
IHM_CLIENT_CONFS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/confs/ihm_client
|
||||||
IHM_CLIENT_LOGS_DIR=$DOCKER_GLOBAL/logs/$IHM_CLIENT
|
IHM_CLIENT_LOGS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/ihm_client
|
||||||
IHM_CLIENT_RUNS_DIR=$DOCKER_GLOBAL/runs/$IHM_CLIENT
|
IHM_CLIENT_RUNS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/runs/ihm_client
|
||||||
IHM_CLIENT_DATAS_DIR=$DOCKER_GLOBAL/datas/$IHM_CLIENT
|
IHM_CLIENT_DATAS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/datas/ihm_client
|
||||||
IHM_CLIENT_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$IHM_CLIENT
|
IHM_CLIENT_BACKUPS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/backups/ihm_client
|
||||||
IHM_CLIENT_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$IHM_CLIENT
|
IHM_CLIENT_SCRIPTS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/scripts/ihm_client
|
||||||
IHM_CLIENT_DOCKER_WORKING_DIR=/home/$IHM_CLIENT
|
IHM_CLIENT_DOCKER_WORKING_DIR=/home/ihm_client
|
||||||
|
|
||||||
IHM_CLIENT_DOCKER_CONFS_DIR=$DOCKER_GLOBAL/confs/$IHM_CLIENT
|
_DOCKER_CONFS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/confs/ihm_client
|
||||||
IHM_CLIENT_DOCKER_LOGS_DIR=$DOCKER_GLOBAL/logs/$IHM_CLIENT
|
_DOCKER_LOGS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/ihm_client
|
||||||
IHM_CLIENT_DOCKER_RUNS_DIR=$DOCKER_GLOBAL/runs/$IHM_CLIENT
|
_DOCKER_RUNS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/runs/ihm_client
|
||||||
IHM_CLIENT_DOCKER_DATAS_DIR=$DOCKER_GLOBAL/datas/$IHM_CLIENT
|
_DOCKER_DATAS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/datas/ihm_client
|
||||||
IHM_CLIENT_DOCKER_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$IHM_CLIENT
|
_DOCKER_BACKUPS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/backups/ihm_client
|
||||||
IHM_CLIENT_DOCKER_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$IHM_CLIENT
|
_DOCKER_SCRIPTS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/scripts/ihm_client
|
||||||
IHM_CLIENT_DOCKER_WORKING_DIR=/home/$IHM_CLIENT
|
IHM_CLIENT_DOCKER_WORKING_DIR=/home/ihm_client
|
||||||
|
|
||||||
IHM_CLIENT_DOCKER_WORKING_DIR_CREATE="id -u $IHM_CLIENT >/dev/null 2>&1 || adduser --disabled-password --gecos '' $IHM_CLIENT; chown -R $IHM_CLIENT:$IHM_CLIENT /home/root/.$IHM_CLIENT || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
IHM_CLIENT_DOCKER_WORKING_DIR_CREATE="id -u ihm_client >/dev/null 2>&1 || adduser --disabled-password --gecos '' ihm_client; chown -R ihm_client:ihm_client /home/root/.ihm_client || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
||||||
IHM_CLIENT_URL_ROUTE=/$IHM_CLIENT
|
_DOCKER_PORT=3003:3003
|
||||||
IHM_CLIENT_URL=http://\$IHM_CLIENT_DOCKER_NAME:$IHM_CLIENT_DOCKER_PORT
|
IHM_CLIENT_URL_ROUTE=/ihm_client
|
||||||
IHM_CLIENT_URL_EXTERNAL=https://$HOST$IHM_CLIENT_URL_ROUTE
|
_URL=http://:
|
||||||
IHM_CLIENT_URL_WS=ws://\$IHM_CLIENT_DOCKER_PORT
|
IHM_CLIENT_URL_EXTERNAL=https://dev4._4NKweb.com
|
||||||
IHM_CLIENT_URL_WS_EXTERNAL=wss://$HOST\ws
|
_URL_WS=ws://
|
||||||
|
IHM_CLIENT_URL_WS_EXTERNAL=wss://dev4._4NKweb.com\ws
|
||||||
|
|
||||||
|
|
||||||
# ====== INTERNAL _4NK_CERTIFICATOR ======
|
# ====== INTERNAL _4NK_CERTIFICATOR ======
|
||||||
|
|
||||||
_4NK_CERTIFICATOR_DOCKER_NAME=$_4NK_CERTIFICATOR
|
_4NK_CERTIFICATOR_DOCKER_NAME=_4NK_certificator
|
||||||
_4NK_CERTIFICATOR_CONFS_DIR=$DOCKER_GLOBAL/confs/$_4NK_CERTIFICATOR
|
_4NK_CERTIFICATOR_CONFS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/confs/_4NK_certificator
|
||||||
_4NK_CERTIFICATOR_LOGS_DIR=$DOCKER_GLOBAL/logs/$_4NK_CERTIFICATOR
|
_4NK_CERTIFICATOR_LOGS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/_4NK_certificator
|
||||||
_4NK_CERTIFICATOR_RUNS_DIR=$DOCKER_GLOBAL/runs/$_4NK_CERTIFICATOR
|
_4NK_CERTIFICATOR_RUNS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/runs/_4NK_certificator
|
||||||
_4NK_CERTIFICATOR_DATAS_DIR=$DOCKER_GLOBAL/datas/$_4NK_CERTIFICATOR
|
_4NK_CERTIFICATOR_DATAS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/datas/_4NK_certificator
|
||||||
_4NK_CERTIFICATOR_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$_4NK_CERTIFICATOR
|
_4NK_CERTIFICATOR_BACKUPS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/backups/_4NK_certificator
|
||||||
_4NK_CERTIFICATOR_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$_4NK_CERTIFICATOR
|
_4NK_CERTIFICATOR_SCRIPTS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/scripts/_4NK_certificator
|
||||||
_4NK_CERTIFICATOR_DOCKER_WORKING_DIR=/home/$_4NK_CERTIFICATOR
|
_4NK_CERTIFICATOR_DOCKER_WORKING_DIR=/home/_4NK_certificator
|
||||||
|
|
||||||
_4NK_CERTIFICATOR_DOCKER_CONFS_DIR=$DOCKER_GLOBAL/confs/$_4NK_CERTIFICATOR
|
_DOCKER_CONFS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/confs/_4NK_certificator
|
||||||
_4NK_CERTIFICATOR_DOCKER_LOGS_DIR=$DOCKER_GLOBAL/logs/$_4NK_CERTIFICATOR
|
_DOCKER_LOGS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/_4NK_certificator
|
||||||
_4NK_CERTIFICATOR_DOCKER_RUNS_DIR=$DOCKER_GLOBAL/runs/$_4NK_CERTIFICATOR
|
_DOCKER_RUNS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/runs/_4NK_certificator
|
||||||
_4NK_CERTIFICATOR_DOCKER_DATAS_DIR=$DOCKER_GLOBAL/datas/$_4NK_CERTIFICATOR
|
_DOCKER_DATAS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/datas/_4NK_certificator
|
||||||
_4NK_CERTIFICATOR_DOCKER_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$_4NK_CERTIFICATOR
|
_DOCKER_BACKUPS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/backups/_4NK_certificator
|
||||||
_4NK_CERTIFICATOR_DOCKER_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$_4NK_CERTIFICATOR
|
_DOCKER_SCRIPTS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/scripts/_4NK_certificator
|
||||||
_4NK_CERTIFICATOR_DOCKER_WORKING_DIR=/home/$_4NK_CERTIFICATOR
|
_4NK_CERTIFICATOR_DOCKER_WORKING_DIR=/home/_4NK_certificator
|
||||||
|
|
||||||
_4NK_CERTIFICATOR_DOCKER_WORKING_DIR_CREATE="id -u $_4NK_CERTIFICATOR >/dev/null 2>&1 || adduser --disabled-password --gecos '' $_4NK_CERTIFICATOR; chown -R $_4NK_CERTIFICATOR:$_4NK_CERTIFICATOR /home/root/.$_4NK_CERTIFICATOR || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
_4NK_CERTIFICATOR_DOCKER_WORKING_DIR_CREATE="id -u _4NK_certificator >/dev/null 2>&1 || adduser --disabled-password --gecos '' _4NK_certificator; chown -R _4NK_certificator:_4NK_certificator /home/root/._4NK_certificator || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
||||||
_4NK_CERTIFICATOR_URL_ROUTE=/$_4NK_CERTIFICATOR
|
_DOCKER_PORT=8082:8082
|
||||||
_4NK_CERTIFICATOR_URL=http://\$_4NK_CERTIFICATOR_DOCKER_NAME:$_4NK_CERTIFICATOR_DOCKER_PORT
|
_4NK_CERTIFICATOR_URL_ROUTE=/_4NK_certificator
|
||||||
_4NK_CERTIFICATOR_URL_EXTERNAL=https://$HOST$_4NK_CERTIFICATOR_URL_ROUTE
|
_URL=http://:
|
||||||
_4NK_CERTIFICATOR_URL_WS=ws://\$_4NK_CERTIFICATOR_DOCKER_PORT
|
_4NK_CERTIFICATOR_URL_EXTERNAL=https://dev4._4NKweb.com
|
||||||
_4NK_CERTIFICATOR_URL_WS_EXTERNAL=wss://$HOST\ws
|
_URL_WS=ws://
|
||||||
|
_4NK_CERTIFICATOR_URL_WS_EXTERNAL=wss://dev4._4NKweb.com\ws
|
||||||
|
|
||||||
|
|
||||||
# ====== INTERNAL _4NK_MINER ======
|
# ====== INTERNAL _4NK_MINER ======
|
||||||
|
|
||||||
_4NK_MINER_DOCKER_NAME=$_4NK_MINER
|
_4NK_MINER_DOCKER_NAME=_4NK_miner
|
||||||
_4NK_MINER_CONFS_DIR=$DOCKER_GLOBAL/confs/$_4NK_MINER
|
_4NK_MINER_CONFS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/confs/_4NK_miner
|
||||||
_4NK_MINER_LOGS_DIR=$DOCKER_GLOBAL/logs/$_4NK_MINER
|
_4NK_MINER_LOGS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/_4NK_miner
|
||||||
_4NK_MINER_RUNS_DIR=$DOCKER_GLOBAL/runs/$_4NK_MINER
|
_4NK_MINER_RUNS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/runs/_4NK_miner
|
||||||
_4NK_MINER_DATAS_DIR=$DOCKER_GLOBAL/datas/$_4NK_MINER
|
_4NK_MINER_DATAS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/datas/_4NK_miner
|
||||||
_4NK_MINER_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$_4NK_MINER
|
_4NK_MINER_BACKUPS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/backups/_4NK_miner
|
||||||
_4NK_MINER_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$_4NK_MINER
|
_4NK_MINER_SCRIPTS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/scripts/_4NK_miner
|
||||||
_4NK_MINER_DOCKER_WORKING_DIR=/home/$_4NK_MINER
|
_4NK_MINER_DOCKER_WORKING_DIR=/home/_4NK_miner
|
||||||
|
|
||||||
_4NK_MINER_DOCKER_CONFS_DIR=$DOCKER_GLOBAL/confs/$_4NK_MINER
|
_DOCKER_CONFS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/confs/_4NK_miner
|
||||||
_4NK_MINER_DOCKER_LOGS_DIR=$DOCKER_GLOBAL/logs/$_4NK_MINER
|
_DOCKER_LOGS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/_4NK_miner
|
||||||
_4NK_MINER_DOCKER_RUNS_DIR=$DOCKER_GLOBAL/runs/$_4NK_MINER
|
_DOCKER_RUNS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/runs/_4NK_miner
|
||||||
_4NK_MINER_DOCKER_DATAS_DIR=$DOCKER_GLOBAL/datas/$_4NK_MINER
|
_DOCKER_DATAS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/datas/_4NK_miner
|
||||||
_4NK_MINER_DOCKER_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$_4NK_MINER
|
_DOCKER_BACKUPS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/backups/_4NK_miner
|
||||||
_4NK_MINER_DOCKER_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$_4NK_MINER
|
_DOCKER_SCRIPTS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/scripts/_4NK_miner
|
||||||
_4NK_MINER_DOCKER_WORKING_DIR=/home/$_4NK_MINER
|
_4NK_MINER_DOCKER_WORKING_DIR=/home/_4NK_miner
|
||||||
|
|
||||||
_4NK_MINER_DOCKER_WORKING_DIR_CREATE="id -u $_4NK_MINER >/dev/null 2>&1 || adduser --disabled-password --gecos '' $_4NK_MINER; chown -R $_4NK_MINER:$_4NK_MINER /home/root/.$_4NK_MINER || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
_4NK_MINER_DOCKER_WORKING_DIR_CREATE="id -u _4NK_miner >/dev/null 2>&1 || adduser --disabled-password --gecos '' _4NK_miner; chown -R _4NK_miner:_4NK_miner /home/root/._4NK_miner || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
||||||
_4NK_MINER_URL_ROUTE=/$_4NK_MINER
|
_DOCKER_PORT=8083:8083
|
||||||
_4NK_MINER_URL=http://\$_4NK_MINER_DOCKER_NAME:$_4NK_MINER_DOCKER_PORT
|
_4NK_MINER_URL_ROUTE=/_4NK_miner
|
||||||
_4NK_MINER_URL_EXTERNAL=https://$HOST$_4NK_MINER_URL_ROUTE
|
_URL=http://:
|
||||||
_4NK_MINER_URL_WS=ws://\$_4NK_MINER_DOCKER_PORT
|
_4NK_MINER_URL_EXTERNAL=https://dev4._4NKweb.com
|
||||||
_4NK_MINER_URL_WS_EXTERNAL=wss://$HOST\ws
|
_URL_WS=ws://
|
||||||
|
_4NK_MINER_URL_WS_EXTERNAL=wss://dev4._4NKweb.com\ws
|
||||||
|
|
||||||
|
|
||||||
# ====== INTERNAL LECOFFRE_FRONT ======
|
# ====== INTERNAL LECOFFRE_FRONT ======
|
||||||
|
|
||||||
LECOFFRE_FRONT_DOCKER_NAME=$LECOFFRE_FRONT
|
LECOFFRE_FRONT_DOCKER_NAME=lecoffre-front
|
||||||
LECOFFRE_FRONT_CONFS_DIR=$DOCKER_GLOBAL/confs/$LECOFFRE_FRONT
|
LECOFFRE_FRONT_CONFS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/confs/lecoffre-front
|
||||||
LECOFFRE_FRONT_LOGS_DIR=$DOCKER_GLOBAL/logs/$LECOFFRE_FRONT
|
LECOFFRE_FRONT_LOGS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/lecoffre-front
|
||||||
LECOFFRE_FRONT_RUNS_DIR=$DOCKER_GLOBAL/runs/$LECOFFRE_FRONT
|
LECOFFRE_FRONT_RUNS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/runs/lecoffre-front
|
||||||
LECOFFRE_FRONT_DATAS_DIR=$DOCKER_GLOBAL/datas/$LECOFFRE_FRONT
|
LECOFFRE_FRONT_DATAS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/datas/lecoffre-front
|
||||||
LECOFFRE_FRONT_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$LECOFFRE_FRONT
|
LECOFFRE_FRONT_BACKUPS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/backups/lecoffre-front
|
||||||
LECOFFRE_FRONT_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$LECOFFRE_FRONT
|
LECOFFRE_FRONT_SCRIPTS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/scripts/lecoffre-front
|
||||||
LECOFFRE_FRONT_DOCKER_WORKING_DIR=/home/$LECOFFRE_FRONT
|
LECOFFRE_FRONT_DOCKER_WORKING_DIR=/home/lecoffre-front
|
||||||
|
|
||||||
LECOFFRE_FRONT_DOCKER_CONFS_DIR=$DOCKER_GLOBAL/confs/$LECOFFRE_FRONT
|
_DOCKER_CONFS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/confs/lecoffre-front
|
||||||
LECOFFRE_FRONT_DOCKER_LOGS_DIR=$DOCKER_GLOBAL/logs/$LECOFFRE_FRONT
|
_DOCKER_LOGS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/lecoffre-front
|
||||||
LECOFFRE_FRONT_DOCKER_RUNS_DIR=$DOCKER_GLOBAL/runs/$LECOFFRE_FRONT
|
_DOCKER_RUNS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/runs/lecoffre-front
|
||||||
LECOFFRE_FRONT_DOCKER_DATAS_DIR=$DOCKER_GLOBAL/datas/$LECOFFRE_FRONT
|
_DOCKER_DATAS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/datas/lecoffre-front
|
||||||
LECOFFRE_FRONT_DOCKER_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$LECOFFRE_FRONT
|
_DOCKER_BACKUPS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/backups/lecoffre-front
|
||||||
LECOFFRE_FRONT_DOCKER_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$LECOFFRE_FRONT
|
_DOCKER_SCRIPTS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/scripts/lecoffre-front
|
||||||
LECOFFRE_FRONT_DOCKER_WORKING_DIR=/home/$LECOFFRE_FRONT
|
LECOFFRE_FRONT_DOCKER_WORKING_DIR=/home/lecoffre-front
|
||||||
|
|
||||||
LECOFFRE_FRONT_DOCKER_WORKING_DIR_CREATE="id -u $LECOFFRE_FRONT >/dev/null 2>&1 || adduser --disabled-password --gecos '' $LECOFFRE_FRONT; chown -R $LECOFFRE_FRONT:$LECOFFRE_FRONT /home/root/.$LECOFFRE_FRONT || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
LECOFFRE_FRONT_DOCKER_WORKING_DIR_CREATE="id -u lecoffre-front >/dev/null 2>&1 || adduser --disabled-password --gecos '' lecoffre-front; chown -R lecoffre-front:lecoffre-front /home/root/.lecoffre-front || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
||||||
LECOFFRE_FRONT_URL_ROUTE=/$LECOFFRE_FRONT
|
_DOCKER_PORT=3000:3000
|
||||||
LECOFFRE_FRONT_URL=http://\$LECOFFRE_FRONT_DOCKER_NAME:$LECOFFRE_FRONT_DOCKER_PORT
|
LECOFFRE_FRONT_URL_ROUTE=/lecoffre-front
|
||||||
LECOFFRE_FRONT_URL_EXTERNAL=https://$HOST$LECOFFRE_FRONT_URL_ROUTE
|
_URL=http://:
|
||||||
LECOFFRE_FRONT_URL_WS=ws://\$LECOFFRE_FRONT_DOCKER_PORT
|
LECOFFRE_FRONT_URL_EXTERNAL=https://dev4._4NKweb.com
|
||||||
LECOFFRE_FRONT_URL_WS_EXTERNAL=wss://$HOST\ws
|
_URL_WS=ws://
|
||||||
|
LECOFFRE_FRONT_URL_WS_EXTERNAL=wss://dev4._4NKweb.com\ws
|
||||||
|
|
||||||
|
|
||||||
# ====== INTERNAL _4NK_WEB_STATUS ======
|
# ====== INTERNAL _4NK_WEB_STATUS ======
|
||||||
|
|
||||||
_4NK_WEB_STATUS_DOCKER_NAME=$_4NK_WEB_STATUS
|
_4NK_WEB_STATUS_DOCKER_NAME=_4NK_web_status
|
||||||
_4NK_WEB_STATUS_CONFS_DIR=$DOCKER_GLOBAL/confs/$_4NK_WEB_STATUS
|
_4NK_WEB_STATUS_CONFS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/confs/_4NK_web_status
|
||||||
_4NK_WEB_STATUS_LOGS_DIR=$DOCKER_GLOBAL/logs/$_4NK_WEB_STATUS
|
_4NK_WEB_STATUS_LOGS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/_4NK_web_status
|
||||||
_4NK_WEB_STATUS_RUNS_DIR=$DOCKER_GLOBAL/runs/$_4NK_WEB_STATUS
|
_4NK_WEB_STATUS_RUNS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/runs/_4NK_web_status
|
||||||
_4NK_WEB_STATUS_DATAS_DIR=$DOCKER_GLOBAL/datas/$_4NK_WEB_STATUS
|
_4NK_WEB_STATUS_DATAS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/datas/_4NK_web_status
|
||||||
_4NK_WEB_STATUS_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$_4NK_WEB_STATUS
|
_4NK_WEB_STATUS_BACKUPS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/backups/_4NK_web_status
|
||||||
_4NK_WEB_STATUS_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$_4NK_WEB_STATUS
|
_4NK_WEB_STATUS_SCRIPTS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/scripts/_4NK_web_status
|
||||||
_4NK_WEB_STATUS_DOCKER_WORKING_DIR=/home/$_4NK_WEB_STATUS
|
_4NK_WEB_STATUS_DOCKER_WORKING_DIR=/home/_4NK_web_status
|
||||||
|
|
||||||
_4NK_WEB_STATUS_DOCKER_CONFS_DIR=$DOCKER_GLOBAL/confs/$_4NK_WEB_STATUS
|
_DOCKER_CONFS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/confs/_4NK_web_status
|
||||||
_4NK_WEB_STATUS_DOCKER_LOGS_DIR=$DOCKER_GLOBAL/logs/$_4NK_WEB_STATUS
|
_DOCKER_LOGS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/_4NK_web_status
|
||||||
_4NK_WEB_STATUS_DOCKER_RUNS_DIR=$DOCKER_GLOBAL/runs/$_4NK_WEB_STATUS
|
_DOCKER_RUNS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/runs/_4NK_web_status
|
||||||
_4NK_WEB_STATUS_DOCKER_DATAS_DIR=$DOCKER_GLOBAL/datas/$_4NK_WEB_STATUS
|
_DOCKER_DATAS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/datas/_4NK_web_status
|
||||||
_4NK_WEB_STATUS_DOCKER_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$_4NK_WEB_STATUS
|
_DOCKER_BACKUPS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/backups/_4NK_web_status
|
||||||
_4NK_WEB_STATUS_DOCKER_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$_4NK_WEB_STATUS
|
_DOCKER_SCRIPTS_DIR=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/scripts/_4NK_web_status
|
||||||
_4NK_WEB_STATUS_DOCKER_WORKING_DIR=/home/$_4NK_WEB_STATUS
|
_4NK_WEB_STATUS_DOCKER_WORKING_DIR=/home/_4NK_web_status
|
||||||
|
|
||||||
_4NK_WEB_STATUS_DOCKER_WORKING_DIR_CREATE="id -u $_4NK_WEB_STATUS >/dev/null 2>&1 || adduser --disabled-password --gecos '' $_4NK_WEB_STATUS; chown -R $_4NK_WEB_STATUS:$_4NK_WEB_STATUS /home/root/.$_4NK_WEB_STATUS || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
_4NK_WEB_STATUS_DOCKER_WORKING_DIR_CREATE="id -u _4NK_web_status >/dev/null 2>&1 || adduser --disabled-password --gecos '' _4NK_web_status; chown -R _4NK_web_status:_4NK_web_status /home/root/._4NK_web_status || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
||||||
_4NK_WEB_STATUS_URL_ROUTE=/$_4NK_WEB_STATUS
|
_DOCKER_PORT=3006:3006
|
||||||
_4NK_WEB_STATUS_URL=http://\$_4NK_WEB_STATUS_DOCKER_NAME:$_4NK_WEB_STATUS_DOCKER_PORT
|
_4NK_WEB_STATUS_URL_ROUTE=/_4NK_web_status
|
||||||
_4NK_WEB_STATUS_URL_EXTERNAL=https://$HOST$_4NK_WEB_STATUS_URL_ROUTE
|
_URL=http://:
|
||||||
_4NK_WEB_STATUS_URL_WS=ws://\$_4NK_WEB_STATUS_DOCKER_PORT
|
_4NK_WEB_STATUS_URL_EXTERNAL=https://dev4._4NKweb.com
|
||||||
_4NK_WEB_STATUS_URL_WS_EXTERNAL=wss://$HOST\ws
|
_URL_WS=ws://
|
||||||
|
_4NK_WEB_STATUS_URL_WS_EXTERNAL=wss://dev4._4NKweb.com\ws
|
||||||
|
|
||||||
|
|
||||||
# ====== EXTERNAL BOOSTRAP ======
|
# ====== EXTERNAL BOOSTRAP ======
|
||||||
|
|
||||||
BOOSTRAP_URL_EXTERNAL=https://${VARIABLE}_HOST:${VARIABLE}_EXTERNAL_PORT${VARIABLE}_URL_ROUTE
|
BOOSTRAP_URL_EXTERNAL=https://:
|
||||||
BOOSTRAP_URL_WS_EXTERNAL=wss://${VARIABLE}_HOST:${VARIABLE}_EXTERNAL_PORT\ws
|
BOOSTRAP_URL_WS_EXTERNAL=wss://:/ws
|
||||||
|
|
||||||
# ====== EXTERNAL LECOFFRE_BACK_MINI ======
|
# ====== EXTERNAL LECOFFRE_BACK_MINI ======
|
||||||
|
|
||||||
LECOFFRE_BACK_MINI_URL_EXTERNAL=https://${VARIABLE}_HOST:${VARIABLE}_EXTERNAL_PORT${VARIABLE}_URL_ROUTE
|
LECOFFRE_BACK_MINI_URL_EXTERNAL=https://dev3._4NKweb.com:3001
|
||||||
LECOFFRE_BACK_MINI_URL_WS_EXTERNAL=wss://${VARIABLE}_HOST:${VARIABLE}_EXTERNAL_PORT\ws
|
LECOFFRE_BACK_MINI_URL_WS_EXTERNAL=wss://dev3._4NKweb.com:3001/ws
|
||||||
|
|
||||||
|
# ====== EXTERNAL BOOTSTRAP (correction) ======
|
||||||
|
BOOTSTRAP_URL_ROUTE=/bootstrap
|
||||||
|
BOOTSTRAP_URL_EXTERNAL=https://dev3._4NKweb.com:3006
|
||||||
|
BOOTSTRAP_URL_WS_EXTERNAL=wss://dev3._4NKweb.com:3006/ws
|
||||||
|
|
||||||
|
|||||||
@ -88,7 +88,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "sum(rate({container=\"$_4NK_CERTIFICATOR_DOCKER_NAME\"} |= \"INFO\" [5m])) by (container)",
|
"expr": "sum(rate({container=\"\"} |= \"INFO\" [5m])) by (container)",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -175,7 +175,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "sum(rate({container=\"$_4NK_CERTIFICATOR_DOCKER_NAME\"} |= \"ERROR\" [5m])) by (container)",
|
"expr": "sum(rate({container=\"\"} |= \"ERROR\" [5m])) by (container)",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -239,7 +239,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "count_over_time({container=\"$_4NK_CERTIFICATOR_DOCKER_NAME\"} |= \"ERROR\" [1h])",
|
"expr": "count_over_time({container=\"\"} |= \"ERROR\" [1h])",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -276,7 +276,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "{container=\"$_4NK_CERTIFICATOR_DOCKER_NAME\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.message}}\"",
|
"expr": "{container=\"\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.message}}\"",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -302,7 +302,7 @@
|
|||||||
"timepicker": {},
|
"timepicker": {},
|
||||||
"timezone": "",
|
"timezone": "",
|
||||||
"title": "_4NK-certificator - Monitoring",
|
"title": "_4NK-certificator - Monitoring",
|
||||||
"uid": "_4NK-certificator",
|
"uid": "-4nk-certificator",
|
||||||
"version": 1,
|
"version": 1,
|
||||||
"weekStart": ""
|
"weekStart": ""
|
||||||
}
|
}
|
||||||
@ -88,7 +88,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "sum(rate({container=\"$_4NK_MINER_DOCKER_NAME\"} |= \"INFO\" [5m])) by (container)",
|
"expr": "sum(rate({container=\"\"} |= \"INFO\" [5m])) by (container)",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -175,7 +175,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "sum(rate({container=\"$_4NK_MINER_DOCKER_NAME\"} |= \"ERROR\" [5m])) by (container)",
|
"expr": "sum(rate({container=\"\"} |= \"ERROR\" [5m])) by (container)",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -239,7 +239,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "count_over_time({container=\"$_4NK_MINER_DOCKER_NAME\"} |= \"ERROR\" [1h])",
|
"expr": "count_over_time({container=\"\"} |= \"ERROR\" [1h])",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -276,7 +276,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "{container=\"$_4NK_MINER_DOCKER_NAME\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.message}}\"",
|
"expr": "{container=\"\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.message}}\"",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -302,7 +302,7 @@
|
|||||||
"timepicker": {},
|
"timepicker": {},
|
||||||
"timezone": "",
|
"timezone": "",
|
||||||
"title": "_4NK-miner - Monitoring",
|
"title": "_4NK-miner - Monitoring",
|
||||||
"uid": "_4NK-miner",
|
"uid": "-4nk-miner",
|
||||||
"version": 1,
|
"version": 1,
|
||||||
"weekStart": ""
|
"weekStart": ""
|
||||||
}
|
}
|
||||||
@ -88,7 +88,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "sum(rate({container=\"$_4NK_VAULT_DOCKER_NAME\"} |= \"INFO\" [5m])) by (container)",
|
"expr": "sum(rate({container=\"\"} |= \"INFO\" [5m])) by (container)",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -175,7 +175,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "sum(rate({container=\"$_4NK_VAULT_DOCKER_NAME\"} |= \"ERROR\" [5m])) by (container)",
|
"expr": "sum(rate({container=\"\"} |= \"ERROR\" [5m])) by (container)",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -239,7 +239,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "count_over_time({container=\"$_4NK_VAULT_DOCKER_NAME\"} |= \"ERROR\" [1h])",
|
"expr": "count_over_time({container=\"\"} |= \"ERROR\" [1h])",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -276,7 +276,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "{container=\"$_4NK_VAULT_DOCKER_NAME\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.message}}\"",
|
"expr": "{container=\"\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.message}}\"",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -302,7 +302,7 @@
|
|||||||
"timepicker": {},
|
"timepicker": {},
|
||||||
"timezone": "",
|
"timezone": "",
|
||||||
"title": "_4NK-vault - Monitoring",
|
"title": "_4NK-vault - Monitoring",
|
||||||
"uid": "_4NK-vault",
|
"uid": "-4nk-vault",
|
||||||
"version": 1,
|
"version": 1,
|
||||||
"weekStart": ""
|
"weekStart": ""
|
||||||
}
|
}
|
||||||
@ -88,7 +88,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "sum(rate({container=\"$_4NK_WEB_STATUS_DOCKER_NAME\"} |= \"INFO\" [5m])) by (container)",
|
"expr": "sum(rate({container=\"\"} |= \"INFO\" [5m])) by (container)",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -175,7 +175,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "sum(rate({container=\"$_4NK_WEB_STATUS_DOCKER_NAME\"} |= \"ERROR\" [5m])) by (container)",
|
"expr": "sum(rate({container=\"\"} |= \"ERROR\" [5m])) by (container)",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -239,7 +239,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "count_over_time({container=\"$_4NK_WEB_STATUS_DOCKER_NAME\"} |= \"ERROR\" [1h])",
|
"expr": "count_over_time({container=\"\"} |= \"ERROR\" [1h])",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -276,7 +276,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "{container=\"$_4NK_WEB_STATUS_DOCKER_NAME\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.message}}\"",
|
"expr": "{container=\"\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.message}}\"",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -302,7 +302,7 @@
|
|||||||
"timepicker": {},
|
"timepicker": {},
|
||||||
"timezone": "",
|
"timezone": "",
|
||||||
"title": "_4NK-web-status - Monitoring",
|
"title": "_4NK-web-status - Monitoring",
|
||||||
"uid": "_4NK-web-status",
|
"uid": "-4nk-web-status",
|
||||||
"version": 1,
|
"version": 1,
|
||||||
"weekStart": ""
|
"weekStart": ""
|
||||||
}
|
}
|
||||||
@ -88,7 +88,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "sum(rate({container=\"$BITCOIN_DOCKER_NAME\"} |= \"INFO\" [5m])) by (container)",
|
"expr": "sum(rate({container=\"\"} |= \"INFO\" [5m])) by (container)",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -175,7 +175,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "sum(rate({container=\"$BITCOIN_DOCKER_NAME\"} |= \"ERROR\" [5m])) by (container)",
|
"expr": "sum(rate({container=\"\"} |= \"ERROR\" [5m])) by (container)",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -239,7 +239,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "count_over_time({container=\"$BITCOIN_DOCKER_NAME\"} |= \"ERROR\" [1h])",
|
"expr": "count_over_time({container=\"\"} |= \"ERROR\" [1h])",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -276,7 +276,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "{container=\"$BITCOIN_DOCKER_NAME\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.message}}\"",
|
"expr": "{container=\"\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.message}}\"",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -88,7 +88,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "sum(rate({container=\"$BLINDBIT_ORACLE_DOCKER_NAME\"} |= \"INFO\" [5m])) by (container)",
|
"expr": "sum(rate({container=\"\"} |= \"INFO\" [5m])) by (container)",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -175,7 +175,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "sum(rate({container=\"$BLINDBIT_ORACLE_DOCKER_NAME\"} |= \"ERROR\" [5m])) by (container)",
|
"expr": "sum(rate({container=\"\"} |= \"ERROR\" [5m])) by (container)",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -239,7 +239,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "count_over_time({container=\"$BLINDBIT_ORACLE_DOCKER_NAME\"} |= \"ERROR\" [1h])",
|
"expr": "count_over_time({container=\"\"} |= \"ERROR\" [1h])",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -276,7 +276,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "{container=\"$BLINDBIT_ORACLE_DOCKER_NAME\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.message}}\"",
|
"expr": "{container=\"\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.message}}\"",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -88,7 +88,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "sum(rate({container=\"$GRAFANA_DOCKER_NAME\"} |= \"INFO\" [5m])) by (container)",
|
"expr": "sum(rate({container=\"\"} |= \"INFO\" [5m])) by (container)",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -175,7 +175,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "sum(rate({container=\"$GRAFANA_DOCKER_NAME\"} |= \"ERROR\" [5m])) by (container)",
|
"expr": "sum(rate({container=\"\"} |= \"ERROR\" [5m])) by (container)",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -239,7 +239,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "count_over_time({container=\"$GRAFANA_DOCKER_NAME\"} |= \"ERROR\" [1h])",
|
"expr": "count_over_time({container=\"\"} |= \"ERROR\" [1h])",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -276,7 +276,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "{container=\"$GRAFANA_DOCKER_NAME\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.message}}\"",
|
"expr": "{container=\"\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.message}}\"",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -88,7 +88,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "sum(rate({container=\"$IHM_CLIENT_DOCKER_NAME\"} |= \"INFO\" [5m])) by (container)",
|
"expr": "sum(rate({container=\"\"} |= \"INFO\" [5m])) by (container)",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -175,7 +175,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "sum(rate({container=\"$IHM_CLIENT_DOCKER_NAME\"} |= \"ERROR\" [5m])) by (container)",
|
"expr": "sum(rate({container=\"\"} |= \"ERROR\" [5m])) by (container)",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -239,7 +239,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "count_over_time({container=\"$IHM_CLIENT_DOCKER_NAME\"} |= \"ERROR\" [1h])",
|
"expr": "count_over_time({container=\"\"} |= \"ERROR\" [1h])",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -276,7 +276,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "{container=\"$IHM_CLIENT_DOCKER_NAME\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.message}}\"",
|
"expr": "{container=\"\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.message}}\"",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -88,7 +88,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "sum(rate({container=\"$LECOFFRE_FRONT_DOCKER_NAME\"} |= \"INFO\" [5m])) by (container)",
|
"expr": "sum(rate({container=\"\"} |= \"INFO\" [5m])) by (container)",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -175,7 +175,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "sum(rate({container=\"$LECOFFRE_FRONT_DOCKER_NAME\"} |= \"ERROR\" [5m])) by (container)",
|
"expr": "sum(rate({container=\"\"} |= \"ERROR\" [5m])) by (container)",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -239,7 +239,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "count_over_time({container=\"$LECOFFRE_FRONT_DOCKER_NAME\"} |= \"ERROR\" [1h])",
|
"expr": "count_over_time({container=\"\"} |= \"ERROR\" [1h])",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -276,7 +276,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "{container=\"$LECOFFRE_FRONT_DOCKER_NAME\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.message}}\"",
|
"expr": "{container=\"\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.message}}\"",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -88,7 +88,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "sum(rate({container=\"$LOKI_DOCKER_NAME\"} |= \"INFO\" [5m])) by (container)",
|
"expr": "sum(rate({container=\"\"} |= \"INFO\" [5m])) by (container)",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -175,7 +175,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "sum(rate({container=\"$LOKI_DOCKER_NAME\"} |= \"ERROR\" [5m])) by (container)",
|
"expr": "sum(rate({container=\"\"} |= \"ERROR\" [5m])) by (container)",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -239,7 +239,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "count_over_time({container=\"$LOKI_DOCKER_NAME\"} |= \"ERROR\" [1h])",
|
"expr": "count_over_time({container=\"\"} |= \"ERROR\" [1h])",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -276,7 +276,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "{container=\"$LOKI_DOCKER_NAME\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.message}}\"",
|
"expr": "{container=\"\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.message}}\"",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -88,7 +88,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "sum(rate({container=\"$NGNIX_DOCKER_NAME\"} |= \"INFO\" [5m])) by (container)",
|
"expr": "sum(rate({container=\"\"} |= \"INFO\" [5m])) by (container)",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -175,7 +175,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "sum(rate({container=\"$NGNIX_DOCKER_NAME\"} |= \"ERROR\" [5m])) by (container)",
|
"expr": "sum(rate({container=\"\"} |= \"ERROR\" [5m])) by (container)",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -239,7 +239,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "count_over_time({container=\"$NGNIX_DOCKER_NAME\"} |= \"ERROR\" [1h])",
|
"expr": "count_over_time({container=\"\"} |= \"ERROR\" [1h])",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -276,7 +276,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "{container=\"$NGNIX_DOCKER_NAME\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.message}}\"",
|
"expr": "{container=\"\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.message}}\"",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -88,7 +88,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "sum(rate({container=\"$POSTGRESQL_DOCKER_NAME\"} |= \"INFO\" [5m])) by (container)",
|
"expr": "sum(rate({container=\"\"} |= \"INFO\" [5m])) by (container)",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -175,7 +175,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "sum(rate({container=\"$POSTGRESQL_DOCKER_NAME\"} |= \"ERROR\" [5m])) by (container)",
|
"expr": "sum(rate({container=\"\"} |= \"ERROR\" [5m])) by (container)",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -239,7 +239,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "count_over_time({container=\"$POSTGRESQL_DOCKER_NAME\"} |= \"ERROR\" [1h])",
|
"expr": "count_over_time({container=\"\"} |= \"ERROR\" [1h])",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -276,7 +276,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "{container=\"$POSTGRESQL_DOCKER_NAME\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.message}}\"",
|
"expr": "{container=\"\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.message}}\"",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -88,7 +88,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "sum(rate({container=\"$PROMTAIL_DOCKER_NAME\"} |= \"INFO\" [5m])) by (container)",
|
"expr": "sum(rate({container=\"\"} |= \"INFO\" [5m])) by (container)",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -175,7 +175,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "sum(rate({container=\"$PROMTAIL_DOCKER_NAME\"} |= \"ERROR\" [5m])) by (container)",
|
"expr": "sum(rate({container=\"\"} |= \"ERROR\" [5m])) by (container)",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -239,7 +239,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "count_over_time({container=\"$PROMTAIL_DOCKER_NAME\"} |= \"ERROR\" [1h])",
|
"expr": "count_over_time({container=\"\"} |= \"ERROR\" [1h])",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -276,7 +276,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "{container=\"$PROMTAIL_DOCKER_NAME\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.message}}\"",
|
"expr": "{container=\"\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.message}}\"",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -88,7 +88,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "sum(rate({container=\"$REDIS_DOCKER_NAME\"} |= \"INFO\" [5m])) by (container)",
|
"expr": "sum(rate({container=\"\"} |= \"INFO\" [5m])) by (container)",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -175,7 +175,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "sum(rate({container=\"$REDIS_DOCKER_NAME\"} |= \"ERROR\" [5m])) by (container)",
|
"expr": "sum(rate({container=\"\"} |= \"ERROR\" [5m])) by (container)",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -239,7 +239,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "count_over_time({container=\"$REDIS_DOCKER_NAME\"} |= \"ERROR\" [1h])",
|
"expr": "count_over_time({container=\"\"} |= \"ERROR\" [1h])",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -276,7 +276,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "{container=\"$REDIS_DOCKER_NAME\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.message}}\"",
|
"expr": "{container=\"\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.message}}\"",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -88,7 +88,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "sum(rate({container=\"$SDK_RELAY_DOCKER_NAME\"} |= \"INFO\" [5m])) by (container)",
|
"expr": "sum(rate({container=\"\"} |= \"INFO\" [5m])) by (container)",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -175,7 +175,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "sum(rate({container=\"$SDK_RELAY_DOCKER_NAME\"} |= \"ERROR\" [5m])) by (container)",
|
"expr": "sum(rate({container=\"\"} |= \"ERROR\" [5m])) by (container)",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -239,7 +239,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "count_over_time({container=\"$SDK_RELAY_DOCKER_NAME\"} |= \"ERROR\" [1h])",
|
"expr": "count_over_time({container=\"\"} |= \"ERROR\" [1h])",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -276,7 +276,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "{container=\"$SDK_RELAY_DOCKER_NAME\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.message}}\"",
|
"expr": "{container=\"\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.message}}\"",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -88,7 +88,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "sum(rate({container=\"$SDK_STORAGE_DOCKER_NAME\"} |= \"INFO\" [5m])) by (container)",
|
"expr": "sum(rate({container=\"\"} |= \"INFO\" [5m])) by (container)",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -175,7 +175,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "sum(rate({container=\"$SDK_STORAGE_DOCKER_NAME\"} |= \"ERROR\" [5m])) by (container)",
|
"expr": "sum(rate({container=\"\"} |= \"ERROR\" [5m])) by (container)",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -239,7 +239,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "count_over_time({container=\"$SDK_STORAGE_DOCKER_NAME\"} |= \"ERROR\" [1h])",
|
"expr": "count_over_time({container=\"\"} |= \"ERROR\" [1h])",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -276,7 +276,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "{container=\"$SDK_STORAGE_DOCKER_NAME\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.message}}\"",
|
"expr": "{container=\"\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.message}}\"",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -90,7 +90,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "sum by (container) (count_over_time({container=~\"$bitcoin_DOCKER_NAME|$blindbit-oracle_DOCKER_NAME|$sdk_relay_DOCKER_NAME|$sdk_storage_DOCKER_NAME|$ihm_client_DOCKER_NAME|$lecoffre-front_DOCKER_NAME\"} |= \"ERROR\" [5m]))",
|
"expr": "sum by (container) (count_over_time({container=~\"|-oracle_DOCKER_NAME||||-front_DOCKER_NAME\"} |= \"ERROR\" [5m]))",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -88,7 +88,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "sum(rate({container=\"$TOR_DOCKER_NAME\"} |= \"INFO\" [5m])) by (container)",
|
"expr": "sum(rate({container=\"\"} |= \"INFO\" [5m])) by (container)",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -175,7 +175,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "sum(rate({container=\"$TOR_DOCKER_NAME\"} |= \"ERROR\" [5m])) by (container)",
|
"expr": "sum(rate({container=\"\"} |= \"ERROR\" [5m])) by (container)",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -239,7 +239,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "count_over_time({container=\"$TOR_DOCKER_NAME\"} |= \"ERROR\" [1h])",
|
"expr": "count_over_time({container=\"\"} |= \"ERROR\" [1h])",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
@ -276,7 +276,7 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "{container=\"$TOR_DOCKER_NAME\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.message}}\"",
|
"expr": "{container=\"\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.message}}\"",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,198 +1,334 @@
|
|||||||
server:
|
server:
|
||||||
http_listen_port: $PROMTAIL_PORT
|
http_listen_port: 9080
|
||||||
grpc_listen_port: 0
|
grpc_listen_port: 0
|
||||||
|
|
||||||
positions:
|
positions:
|
||||||
filename: /tmp/positions.yaml
|
filename: /tmp/positions.yaml
|
||||||
|
|
||||||
clients:
|
clients:
|
||||||
- url: $LOKI_URL/loki/api/v1/push
|
- url: http://loki:3100/loki/api/v1/push
|
||||||
|
|
||||||
scrape_configs:
|
scrape_configs:
|
||||||
|
|
||||||
# REDIS Logs
|
- job_name: 'REDIS'
|
||||||
- job_name: $REDIS_DOCKER_NAME
|
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- localhost
|
- localhost
|
||||||
labels:
|
labels:
|
||||||
job: $REDIS_DOCKER_NAME
|
job: REDIS
|
||||||
service: $REDIS_DOCKER_NAME
|
__path__: /*.log
|
||||||
__path__: $REDIS_LOGS_DIR/*.log
|
pipeline_stages:
|
||||||
|
- match:
|
||||||
|
selector: '{job="REDIS"}'
|
||||||
|
stages:
|
||||||
|
- regex:
|
||||||
|
expression: '^(?P<timestamp>\S+\s\S+)\s+(?P<level>\S+)\s+(?P<message>.*)'
|
||||||
|
- labels:
|
||||||
|
level:
|
||||||
|
- timestamp:
|
||||||
|
source: timestamp
|
||||||
|
format: '2006-01-02 15:04:05'
|
||||||
|
|
||||||
# POSTGRESQL Logs
|
- job_name: 'POSTGRESQL'
|
||||||
- job_name: $POSTGRESQL_DOCKER_NAME
|
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- localhost
|
- localhost
|
||||||
labels:
|
labels:
|
||||||
job: $POSTGRESQL_DOCKER_NAME
|
job: POSTGRESQL
|
||||||
service: $POSTGRESQL_DOCKER_NAME
|
__path__: /*.log
|
||||||
__path__: $POSTGRESQL_LOGS_DIR/*.log
|
pipeline_stages:
|
||||||
|
- match:
|
||||||
|
selector: '{job="POSTGRESQL"}'
|
||||||
|
stages:
|
||||||
|
- regex:
|
||||||
|
expression: '^(?P<timestamp>\S+\s\S+)\s+(?P<level>\S+)\s+(?P<message>.*)'
|
||||||
|
- labels:
|
||||||
|
level:
|
||||||
|
- timestamp:
|
||||||
|
source: timestamp
|
||||||
|
format: '2006-01-02 15:04:05'
|
||||||
|
|
||||||
# LOKI Logs
|
- job_name: 'LOKI'
|
||||||
- job_name: $LOKI_DOCKER_NAME
|
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- localhost
|
- localhost
|
||||||
labels:
|
labels:
|
||||||
job: $LOKI_DOCKER_NAME
|
job: LOKI
|
||||||
service: $LOKI_DOCKER_NAME
|
__path__: /*.log
|
||||||
__path__: $LOKI_LOGS_DIR/*.log
|
pipeline_stages:
|
||||||
|
- match:
|
||||||
|
selector: '{job="LOKI"}'
|
||||||
|
stages:
|
||||||
|
- regex:
|
||||||
|
expression: '^(?P<timestamp>\S+\s\S+)\s+(?P<level>\S+)\s+(?P<message>.*)'
|
||||||
|
- labels:
|
||||||
|
level:
|
||||||
|
- timestamp:
|
||||||
|
source: timestamp
|
||||||
|
format: '2006-01-02 15:04:05'
|
||||||
|
|
||||||
# PROMTAIL Logs
|
- job_name: 'PROMTAIL'
|
||||||
- job_name: $PROMTAIL_DOCKER_NAME
|
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- localhost
|
- localhost
|
||||||
labels:
|
labels:
|
||||||
job: $PROMTAIL_DOCKER_NAME
|
job: PROMTAIL
|
||||||
service: $PROMTAIL_DOCKER_NAME
|
__path__: /*.log
|
||||||
__path__: $PROMTAIL_LOGS_DIR/*.log
|
pipeline_stages:
|
||||||
|
- match:
|
||||||
|
selector: '{job="PROMTAIL"}'
|
||||||
|
stages:
|
||||||
|
- regex:
|
||||||
|
expression: '^(?P<timestamp>\S+\s\S+)\s+(?P<level>\S+)\s+(?P<message>.*)'
|
||||||
|
- labels:
|
||||||
|
level:
|
||||||
|
- timestamp:
|
||||||
|
source: timestamp
|
||||||
|
format: '2006-01-02 15:04:05'
|
||||||
|
|
||||||
# GRAFANA Logs
|
- job_name: 'GRAFANA'
|
||||||
- job_name: $GRAFANA_DOCKER_NAME
|
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- localhost
|
- localhost
|
||||||
labels:
|
labels:
|
||||||
job: $GRAFANA_DOCKER_NAME
|
job: GRAFANA
|
||||||
service: $GRAFANA_DOCKER_NAME
|
__path__: /*.log
|
||||||
__path__: $GRAFANA_LOGS_DIR/*.log
|
pipeline_stages:
|
||||||
|
- match:
|
||||||
|
selector: '{job="GRAFANA"}'
|
||||||
|
stages:
|
||||||
|
- regex:
|
||||||
|
expression: '^(?P<timestamp>\S+\s\S+)\s+(?P<level>\S+)\s+(?P<message>.*)'
|
||||||
|
- labels:
|
||||||
|
level:
|
||||||
|
- timestamp:
|
||||||
|
source: timestamp
|
||||||
|
format: '2006-01-02 15:04:05'
|
||||||
|
|
||||||
# NGNIX Logs
|
- job_name: 'NGNIX'
|
||||||
- job_name: $NGNIX_DOCKER_NAME
|
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- localhost
|
- localhost
|
||||||
labels:
|
labels:
|
||||||
job: $NGNIX_DOCKER_NAME
|
job: NGNIX
|
||||||
service: $NGNIX_DOCKER_NAME
|
__path__: /*.log
|
||||||
__path__: $NGNIX_LOGS_DIR/*.log
|
pipeline_stages:
|
||||||
|
- match:
|
||||||
|
selector: '{job="NGNIX"}'
|
||||||
|
stages:
|
||||||
|
- regex:
|
||||||
|
expression: '^(?P<timestamp>\S+\s\S+)\s+(?P<level>\S+)\s+(?P<message>.*)'
|
||||||
|
- labels:
|
||||||
|
level:
|
||||||
|
- timestamp:
|
||||||
|
source: timestamp
|
||||||
|
format: '2006-01-02 15:04:05'
|
||||||
|
|
||||||
# TOR Logs
|
- job_name: 'TOR'
|
||||||
- job_name: $TOR_DOCKER_NAME
|
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- localhost
|
- localhost
|
||||||
labels:
|
labels:
|
||||||
job: $TOR_DOCKER_NAME
|
job: TOR
|
||||||
service: $TOR_DOCKER_NAME
|
__path__: /*.log
|
||||||
__path__: $TOR_LOGS_DIR/*.log
|
pipeline_stages:
|
||||||
|
- match:
|
||||||
|
selector: '{job="TOR"}'
|
||||||
|
stages:
|
||||||
|
- regex:
|
||||||
|
expression: '^(?P<timestamp>\S+\s\S+)\s+(?P<level>\S+)\s+(?P<message>.*)'
|
||||||
|
- labels:
|
||||||
|
level:
|
||||||
|
- timestamp:
|
||||||
|
source: timestamp
|
||||||
|
format: '2006-01-02 15:04:05'
|
||||||
|
|
||||||
# _4NK_VAULT Logs
|
- job_name: '_4NK_VAULT'
|
||||||
- job_name: $_4NK_VAULT_DOCKER_NAME
|
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- localhost
|
- localhost
|
||||||
labels:
|
labels:
|
||||||
job: $_4NK_VAULT_DOCKER_NAME
|
job: _4NK_VAULT
|
||||||
service: $_4NK_VAULT_DOCKER_NAME
|
__path__: /*.log
|
||||||
__path__: $_4NK_VAULT_LOGS_DIR/*.log
|
pipeline_stages:
|
||||||
|
- match:
|
||||||
|
selector: '{job="_4NK_VAULT"}'
|
||||||
|
stages:
|
||||||
|
- regex:
|
||||||
|
expression: '^(?P<timestamp>\S+\s\S+)\s+(?P<level>\S+)\s+(?P<message>.*)'
|
||||||
|
- labels:
|
||||||
|
level:
|
||||||
|
- timestamp:
|
||||||
|
source: timestamp
|
||||||
|
format: '2006-01-02 15:04:05'
|
||||||
|
|
||||||
# BITCOIN Logs
|
- job_name: 'BITCOIN'
|
||||||
- job_name: $BITCOIN_DOCKER_NAME
|
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- localhost
|
- localhost
|
||||||
labels:
|
labels:
|
||||||
job: $BITCOIN_DOCKER_NAME
|
job: BITCOIN
|
||||||
service: $BITCOIN_DOCKER_NAME
|
__path__: /*.log
|
||||||
__path__: $BITCOIN_LOGS_DIR/*.log
|
pipeline_stages:
|
||||||
|
- match:
|
||||||
|
selector: '{job="BITCOIN"}'
|
||||||
|
stages:
|
||||||
|
- regex:
|
||||||
|
expression: '^(?P<timestamp>\S+\s\S+)\s+(?P<level>\S+)\s+(?P<message>.*)'
|
||||||
|
- labels:
|
||||||
|
level:
|
||||||
|
- timestamp:
|
||||||
|
source: timestamp
|
||||||
|
format: '2006-01-02 15:04:05'
|
||||||
|
|
||||||
# BLINDBIT_ORACLE Logs
|
- job_name: 'BLINDBIT_ORACLE'
|
||||||
- job_name: $BLINDBIT_ORACLE_DOCKER_NAME
|
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- localhost
|
- localhost
|
||||||
labels:
|
labels:
|
||||||
job: $BLINDBIT_ORACLE_DOCKER_NAME
|
job: BLINDBIT_ORACLE
|
||||||
service: $BLINDBIT_ORACLE_DOCKER_NAME
|
__path__: /*.log
|
||||||
__path__: $BLINDBIT_ORACLE_LOGS_DIR/*.log
|
pipeline_stages:
|
||||||
|
- match:
|
||||||
|
selector: '{job="BLINDBIT_ORACLE"}'
|
||||||
|
stages:
|
||||||
|
- regex:
|
||||||
|
expression: '^(?P<timestamp>\S+\s\S+)\s+(?P<level>\S+)\s+(?P<message>.*)'
|
||||||
|
- labels:
|
||||||
|
level:
|
||||||
|
- timestamp:
|
||||||
|
source: timestamp
|
||||||
|
format: '2006-01-02 15:04:05'
|
||||||
|
|
||||||
# SDK_RELAY Logs
|
- job_name: 'SDK_RELAY'
|
||||||
- job_name: $SDK_RELAY_DOCKER_NAME
|
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- localhost
|
- localhost
|
||||||
labels:
|
labels:
|
||||||
job: $SDK_RELAY_DOCKER_NAME
|
job: SDK_RELAY
|
||||||
service: $SDK_RELAY_DOCKER_NAME
|
__path__: /*.log
|
||||||
__path__: $SDK_RELAY_LOGS_DIR/*.log
|
pipeline_stages:
|
||||||
|
- match:
|
||||||
|
selector: '{job="SDK_RELAY"}'
|
||||||
|
stages:
|
||||||
|
- regex:
|
||||||
|
expression: '^(?P<timestamp>\S+\s\S+)\s+(?P<level>\S+)\s+(?P<message>.*)'
|
||||||
|
- labels:
|
||||||
|
level:
|
||||||
|
- timestamp:
|
||||||
|
source: timestamp
|
||||||
|
format: '2006-01-02 15:04:05'
|
||||||
|
|
||||||
# SDK_STORAGE Logs
|
- job_name: 'SDK_STORAGE'
|
||||||
- job_name: $SDK_STORAGE_DOCKER_NAME
|
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- localhost
|
- localhost
|
||||||
labels:
|
labels:
|
||||||
job: $SDK_STORAGE_DOCKER_NAME
|
job: SDK_STORAGE
|
||||||
service: $SDK_STORAGE_DOCKER_NAME
|
__path__: /*.log
|
||||||
__path__: $SDK_STORAGE_LOGS_DIR/*.log
|
pipeline_stages:
|
||||||
|
- match:
|
||||||
|
selector: '{job="SDK_STORAGE"}'
|
||||||
|
stages:
|
||||||
|
- regex:
|
||||||
|
expression: '^(?P<timestamp>\S+\s\S+)\s+(?P<level>\S+)\s+(?P<message>.*)'
|
||||||
|
- labels:
|
||||||
|
level:
|
||||||
|
- timestamp:
|
||||||
|
source: timestamp
|
||||||
|
format: '2006-01-02 15:04:05'
|
||||||
|
|
||||||
# IHM_CLIENT Logs
|
- job_name: 'IHM_CLIENT'
|
||||||
- job_name: $IHM_CLIENT_DOCKER_NAME
|
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- localhost
|
- localhost
|
||||||
labels:
|
labels:
|
||||||
job: $IHM_CLIENT_DOCKER_NAME
|
job: IHM_CLIENT
|
||||||
service: $IHM_CLIENT_DOCKER_NAME
|
__path__: /*.log
|
||||||
__path__: $IHM_CLIENT_LOGS_DIR/*.log
|
pipeline_stages:
|
||||||
|
- match:
|
||||||
|
selector: '{job="IHM_CLIENT"}'
|
||||||
|
stages:
|
||||||
|
- regex:
|
||||||
|
expression: '^(?P<timestamp>\S+\s\S+)\s+(?P<level>\S+)\s+(?P<message>.*)'
|
||||||
|
- labels:
|
||||||
|
level:
|
||||||
|
- timestamp:
|
||||||
|
source: timestamp
|
||||||
|
format: '2006-01-02 15:04:05'
|
||||||
|
|
||||||
# _4NK_CERTIFICATOR Logs
|
- job_name: '_4NK_CERTIFICATOR'
|
||||||
- job_name: $_4NK_CERTIFICATOR_DOCKER_NAME
|
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- localhost
|
- localhost
|
||||||
labels:
|
labels:
|
||||||
job: $_4NK_CERTIFICATOR_DOCKER_NAME
|
job: _4NK_CERTIFICATOR
|
||||||
service: $_4NK_CERTIFICATOR_DOCKER_NAME
|
__path__: /*.log
|
||||||
__path__: $_4NK_CERTIFICATOR_LOGS_DIR/*.log
|
pipeline_stages:
|
||||||
|
- match:
|
||||||
|
selector: '{job="_4NK_CERTIFICATOR"}'
|
||||||
|
stages:
|
||||||
|
- regex:
|
||||||
|
expression: '^(?P<timestamp>\S+\s\S+)\s+(?P<level>\S+)\s+(?P<message>.*)'
|
||||||
|
- labels:
|
||||||
|
level:
|
||||||
|
- timestamp:
|
||||||
|
source: timestamp
|
||||||
|
format: '2006-01-02 15:04:05'
|
||||||
|
|
||||||
# _4NK_MINER Logs
|
- job_name: '_4NK_MINER'
|
||||||
- job_name: $_4NK_MINER_DOCKER_NAME
|
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- localhost
|
- localhost
|
||||||
labels:
|
labels:
|
||||||
job: $_4NK_MINER_DOCKER_NAME
|
job: _4NK_MINER
|
||||||
service: $_4NK_MINER_DOCKER_NAME
|
__path__: /*.log
|
||||||
__path__: $_4NK_MINER_LOGS_DIR/*.log
|
pipeline_stages:
|
||||||
|
- match:
|
||||||
|
selector: '{job="_4NK_MINER"}'
|
||||||
|
stages:
|
||||||
|
- regex:
|
||||||
|
expression: '^(?P<timestamp>\S+\s\S+)\s+(?P<level>\S+)\s+(?P<message>.*)'
|
||||||
|
- labels:
|
||||||
|
level:
|
||||||
|
- timestamp:
|
||||||
|
source: timestamp
|
||||||
|
format: '2006-01-02 15:04:05'
|
||||||
|
|
||||||
# LECOFFRE_FRONT Logs
|
- job_name: 'LECOFFRE_FRONT'
|
||||||
- job_name: $LECOFFRE_FRONT_DOCKER_NAME
|
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- localhost
|
- localhost
|
||||||
labels:
|
labels:
|
||||||
job: $LECOFFRE_FRONT_DOCKER_NAME
|
job: LECOFFRE_FRONT
|
||||||
service: $LECOFFRE_FRONT_DOCKER_NAME
|
__path__: /*.log
|
||||||
__path__: $LECOFFRE_FRONT_LOGS_DIR/*.log
|
pipeline_stages:
|
||||||
|
- match:
|
||||||
|
selector: '{job="LECOFFRE_FRONT"}'
|
||||||
|
stages:
|
||||||
|
- regex:
|
||||||
|
expression: '^(?P<timestamp>\S+\s\S+)\s+(?P<level>\S+)\s+(?P<message>.*)'
|
||||||
|
- labels:
|
||||||
|
level:
|
||||||
|
- timestamp:
|
||||||
|
source: timestamp
|
||||||
|
format: '2006-01-02 15:04:05'
|
||||||
|
|
||||||
# _4NK_WEB_STATUS Logs
|
- job_name: '_4NK_WEB_STATUS'
|
||||||
- job_name: $_4NK_WEB_STATUS_DOCKER_NAME
|
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- localhost
|
- localhost
|
||||||
labels:
|
labels:
|
||||||
job: $_4NK_WEB_STATUS_DOCKER_NAME
|
job: _4NK_WEB_STATUS
|
||||||
service: $_4NK_WEB_STATUS_DOCKER_NAME
|
__path__: /*.log
|
||||||
__path__: $_4NK_WEB_STATUS_LOGS_DIR/*.log
|
pipeline_stages:
|
||||||
|
- match:
|
||||||
# Docker Container Logs
|
selector: '{job="_4NK_WEB_STATUS"}'
|
||||||
- job_name: docker
|
stages:
|
||||||
docker_sd_configs:
|
- regex:
|
||||||
- host: unix:///var/run/docker.sock
|
expression: '^(?P<timestamp>\S+\s\S+)\s+(?P<level>\S+)\s+(?P<message>.*)'
|
||||||
refresh_interval: 5s
|
- labels:
|
||||||
filters:
|
level:
|
||||||
- name: label
|
- timestamp:
|
||||||
values: ["com.centurylinklabs.watchtower.enable=true"]
|
source: timestamp
|
||||||
relabel_configs:
|
format: '2006-01-02 15:04:05'
|
||||||
- source_labels: ['__meta_docker_container_name']
|
|
||||||
regex: '/?(.*)'
|
|
||||||
target_label: 'container_name'
|
|
||||||
- source_labels: ['__meta_docker_container_log_stream']
|
|
||||||
target_label: 'logstream'
|
|
||||||
- source_labels: ['__meta_docker_container_label_logging_job_name']
|
|
||||||
target_label: 'job'
|
|
||||||
|
|||||||
45
storage/dev/_4NK_modules/bitcoin/bitcoin.conf
Normal file
45
storage/dev/_4NK_modules/bitcoin/bitcoin.conf
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
# Configuration globale
|
||||||
|
signet=1
|
||||||
|
server=1
|
||||||
|
datadir=/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/datas/bitcoin
|
||||||
|
|
||||||
|
[signet]
|
||||||
|
daemon=0
|
||||||
|
txindex=1
|
||||||
|
upnp=1
|
||||||
|
#debug=1
|
||||||
|
#loglevel=debug
|
||||||
|
logthreadnames=1
|
||||||
|
onion=tor:9050:9050
|
||||||
|
listenonion=1
|
||||||
|
onlynet=onion
|
||||||
|
|
||||||
|
# Paramètres RPC
|
||||||
|
rpcauth='bitcoin:c8ea921c7357bd6a5a8a7c43a12350a7$955e25b17672987b17c5a12f12cd8b9c1d38f0f86201c8cd47fc431f2e1c7956'
|
||||||
|
rpcallowip=0.0.0.0/0
|
||||||
|
rpcworkqueue=32
|
||||||
|
rpcthreads=4
|
||||||
|
rpcdoccheck=1
|
||||||
|
|
||||||
|
# Paramètres ZMQ
|
||||||
|
zmqpubhashblock=tcp://:
|
||||||
|
zmqpubrawtx=tcp://:
|
||||||
|
|
||||||
|
listen=1
|
||||||
|
bind=0.0.0.0:
|
||||||
|
rpcbind=0.0.0.0:
|
||||||
|
rpcport=
|
||||||
|
fallbackfee=0.0001
|
||||||
|
blockfilterindex=1
|
||||||
|
datacarriersize=205
|
||||||
|
acceptnonstdtxn=1
|
||||||
|
dustrelayfee=0.00000001
|
||||||
|
minrelaytxfee=0.00000001
|
||||||
|
prune=0
|
||||||
|
signetchallenge=0020341c43803863c252df326e73574a27d7e19322992061017b0dc893e2eab90821
|
||||||
|
wallet=mining
|
||||||
|
wallet=watchonly
|
||||||
|
maxtxfee=1
|
||||||
|
addnode=tlv2yqamflv22vfdzy2hha2nwmt6zrwrhjjzz4lx7qyq7lyc6wfhabyd.onion
|
||||||
|
addnode=6xi33lwwslsx3yi3f7c56wnqtdx4v73vj2up3prrwebpwbz6qisnqbyd.onion
|
||||||
|
addnode=id7e3r3d2epen2v65jebjhmx77aimu7oyhcg45zadafypr4crqsytfid.onion
|
||||||
@ -0,0 +1,399 @@
|
|||||||
|
{
|
||||||
|
"annotations": {
|
||||||
|
"list": []
|
||||||
|
},
|
||||||
|
"editable": true,
|
||||||
|
"fiscalYearStartMonth": 0,
|
||||||
|
"graphTooltip": 0,
|
||||||
|
"id": null,
|
||||||
|
"links": [],
|
||||||
|
"liveNow": false,
|
||||||
|
"panels": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "palette-classic"
|
||||||
|
},
|
||||||
|
"custom": {
|
||||||
|
"axisLabel": "",
|
||||||
|
"axisPlacement": "auto",
|
||||||
|
"barAlignment": 0,
|
||||||
|
"drawStyle": "line",
|
||||||
|
"fillOpacity": 10,
|
||||||
|
"gradientMode": "none",
|
||||||
|
"hideFrom": {
|
||||||
|
"legend": false,
|
||||||
|
"tooltip": false,
|
||||||
|
"vis": false
|
||||||
|
},
|
||||||
|
"lineInterpolation": "linear",
|
||||||
|
"lineWidth": 1,
|
||||||
|
"pointSize": 5,
|
||||||
|
"scaleDistribution": {
|
||||||
|
"type": "linear"
|
||||||
|
},
|
||||||
|
"showPoints": "never",
|
||||||
|
"spanNulls": false,
|
||||||
|
"stacking": {
|
||||||
|
"group": "A",
|
||||||
|
"mode": "none"
|
||||||
|
},
|
||||||
|
"thresholdsStyle": {
|
||||||
|
"mode": "off"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "red",
|
||||||
|
"value": 80
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 8,
|
||||||
|
"w": 12,
|
||||||
|
"x": 0,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"id": 1,
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"calcs": [],
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom"
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "single"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"editorMode": "code",
|
||||||
|
"expr": "sum(rate({container=\"signet_miner\"} |= \"Block mined\" [5m])) by (container)",
|
||||||
|
"queryType": "",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Blocs Minés par Minute",
|
||||||
|
"type": "timeseries"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "palette-classic"
|
||||||
|
},
|
||||||
|
"custom": {
|
||||||
|
"axisLabel": "",
|
||||||
|
"axisPlacement": "auto",
|
||||||
|
"barAlignment": 0,
|
||||||
|
"drawStyle": "line",
|
||||||
|
"fillOpacity": 10,
|
||||||
|
"gradientMode": "none",
|
||||||
|
"hideFrom": {
|
||||||
|
"legend": false,
|
||||||
|
"tooltip": false,
|
||||||
|
"vis": false
|
||||||
|
},
|
||||||
|
"lineInterpolation": "linear",
|
||||||
|
"lineWidth": 1,
|
||||||
|
"pointSize": 5,
|
||||||
|
"scaleDistribution": {
|
||||||
|
"type": "linear"
|
||||||
|
},
|
||||||
|
"showPoints": "never",
|
||||||
|
"spanNulls": false,
|
||||||
|
"stacking": {
|
||||||
|
"group": "A",
|
||||||
|
"mode": "none"
|
||||||
|
},
|
||||||
|
"thresholdsStyle": {
|
||||||
|
"mode": "off"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "red",
|
||||||
|
"value": 80
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 8,
|
||||||
|
"w": 12,
|
||||||
|
"x": 12,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"id": 2,
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"calcs": [],
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom"
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "single"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"editorMode": "code",
|
||||||
|
"expr": "sum(rate({container=\"signet_miner\"} |= \"Hashrate\" [5m])) by (container)",
|
||||||
|
"queryType": "",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Hashrate du Mineur",
|
||||||
|
"type": "timeseries"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "thresholds"
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "red",
|
||||||
|
"value": 80
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 8,
|
||||||
|
"w": 8,
|
||||||
|
"x": 0,
|
||||||
|
"y": 8
|
||||||
|
},
|
||||||
|
"id": 3,
|
||||||
|
"options": {
|
||||||
|
"colorMode": "value",
|
||||||
|
"graphMode": "area",
|
||||||
|
"justifyMode": "auto",
|
||||||
|
"orientation": "auto",
|
||||||
|
"reduceOptions": {
|
||||||
|
"calcs": [
|
||||||
|
"lastNotNull"
|
||||||
|
],
|
||||||
|
"fields": "",
|
||||||
|
"values": false
|
||||||
|
},
|
||||||
|
"textMode": "auto"
|
||||||
|
},
|
||||||
|
"pluginVersion": "10.0.0",
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"editorMode": "code",
|
||||||
|
"expr": "count_over_time({container=\"signet_miner\"} |= \"ERROR\" [1h])",
|
||||||
|
"queryType": "",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Erreurs du Mineur (1h)",
|
||||||
|
"type": "stat"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "palette-classic"
|
||||||
|
},
|
||||||
|
"custom": {
|
||||||
|
"hideFrom": {
|
||||||
|
"legend": false,
|
||||||
|
"tooltip": false,
|
||||||
|
"vis": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mappings": []
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 8,
|
||||||
|
"w": 16,
|
||||||
|
"x": 8,
|
||||||
|
"y": 8
|
||||||
|
},
|
||||||
|
"id": 4,
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "right"
|
||||||
|
},
|
||||||
|
"pieType": "pie",
|
||||||
|
"reduceOptions": {
|
||||||
|
"calcs": [
|
||||||
|
"lastNotNull"
|
||||||
|
],
|
||||||
|
"fields": "",
|
||||||
|
"values": false
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "single"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"editorMode": "code",
|
||||||
|
"expr": "sum by (level) (count_over_time({container=\"signet_miner\"} | json | level != \"\" [1h]))",
|
||||||
|
"queryType": "",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Distribution des Niveaux de Log",
|
||||||
|
"type": "piechart"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"custom": {
|
||||||
|
"align": "auto",
|
||||||
|
"cellOptions": {
|
||||||
|
"type": "auto"
|
||||||
|
},
|
||||||
|
"inspect": false
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "red",
|
||||||
|
"value": 80
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 8,
|
||||||
|
"w": 24,
|
||||||
|
"x": 0,
|
||||||
|
"y": 16
|
||||||
|
},
|
||||||
|
"id": 5,
|
||||||
|
"options": {
|
||||||
|
"cellHeight": "sm",
|
||||||
|
"footer": {
|
||||||
|
"countRows": false,
|
||||||
|
"fields": "",
|
||||||
|
"reducer": [
|
||||||
|
"sum"
|
||||||
|
],
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
"showHeader": true
|
||||||
|
},
|
||||||
|
"pluginVersion": "10.0.0",
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"editorMode": "code",
|
||||||
|
"expr": "{container=\"signet_miner\"} |= \"Block mined\" | json | line_format \"{{.timestamp}} - Bloc {{.height}} miné - Hash: {{.hash}}\"",
|
||||||
|
"queryType": "",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Historique des Blocs Minés",
|
||||||
|
"type": "table"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"refresh": "5s",
|
||||||
|
"schemaVersion": 37,
|
||||||
|
"style": "dark",
|
||||||
|
"tags": [
|
||||||
|
"bitcoin",
|
||||||
|
"miner",
|
||||||
|
"signet"
|
||||||
|
],
|
||||||
|
"templating": {
|
||||||
|
"list": []
|
||||||
|
},
|
||||||
|
"time": {
|
||||||
|
"from": "now-1h",
|
||||||
|
"to": "now"
|
||||||
|
},
|
||||||
|
"timepicker": {},
|
||||||
|
"timezone": "",
|
||||||
|
"title": "Bitcoin Miner - Détails",
|
||||||
|
"uid": "bitcoin-miner-detailed",
|
||||||
|
"version": 1,
|
||||||
|
"weekStart": ""
|
||||||
|
}
|
||||||
|
|
||||||
160
storage/dev/_4NK_modules/grafana/dashboards/bitcoin-miner.json
Normal file
160
storage/dev/_4NK_modules/grafana/dashboards/bitcoin-miner.json
Normal file
@ -0,0 +1,160 @@
|
|||||||
|
{
|
||||||
|
"annotations": {
|
||||||
|
"list": [
|
||||||
|
{
|
||||||
|
"builtIn": 1,
|
||||||
|
"datasource": {
|
||||||
|
"type": "grafana",
|
||||||
|
"uid": "-- Grafana --"
|
||||||
|
},
|
||||||
|
"enable": true,
|
||||||
|
"hide": true,
|
||||||
|
"iconColor": "rgba(0, 211, 255, 1)",
|
||||||
|
"name": "Annotations & Alerts",
|
||||||
|
"target": {
|
||||||
|
"limit": 100,
|
||||||
|
"matchAny": false,
|
||||||
|
"tags": [],
|
||||||
|
"type": "dashboard"
|
||||||
|
},
|
||||||
|
"type": "dashboard"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"editable": true,
|
||||||
|
"fiscalYearStartMonth": 0,
|
||||||
|
"graphTooltip": 0,
|
||||||
|
"id": null,
|
||||||
|
"links": [],
|
||||||
|
"liveNow": false,
|
||||||
|
"panels": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 8,
|
||||||
|
"w": 12,
|
||||||
|
"x": 0,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"id": 1,
|
||||||
|
"options": {
|
||||||
|
"showTime": false,
|
||||||
|
"showLabels": false,
|
||||||
|
"showCommonLabels": false,
|
||||||
|
"wrapLogMessage": false,
|
||||||
|
"prettifyLogMessage": false,
|
||||||
|
"enableLogDetails": true,
|
||||||
|
"dedupStrategy": "none",
|
||||||
|
"sortOrder": "Descending"
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"editorMode": "code",
|
||||||
|
"expr": "{job=\"bitcoin\"} |= \"block\" | logfmt",
|
||||||
|
"queryType": "",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Bitcoin - Nouveaux Blocs",
|
||||||
|
"type": "logs"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 8,
|
||||||
|
"w": 12,
|
||||||
|
"x": 12,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"id": 2,
|
||||||
|
"options": {
|
||||||
|
"showTime": false,
|
||||||
|
"showLabels": false,
|
||||||
|
"showCommonLabels": false,
|
||||||
|
"wrapLogMessage": false,
|
||||||
|
"prettifyLogMessage": false,
|
||||||
|
"enableLogDetails": true,
|
||||||
|
"dedupStrategy": "none",
|
||||||
|
"sortOrder": "Descending"
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"editorMode": "code",
|
||||||
|
"expr": "{job=\"miner\"} |= \"mined\" | logfmt",
|
||||||
|
"queryType": "",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Miner - Blocs Minés",
|
||||||
|
"type": "logs"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 8,
|
||||||
|
"w": 24,
|
||||||
|
"x": 0,
|
||||||
|
"y": 8
|
||||||
|
},
|
||||||
|
"id": 3,
|
||||||
|
"options": {
|
||||||
|
"showTime": false,
|
||||||
|
"showLabels": false,
|
||||||
|
"showCommonLabels": false,
|
||||||
|
"wrapLogMessage": false,
|
||||||
|
"prettifyLogMessage": false,
|
||||||
|
"enableLogDetails": true,
|
||||||
|
"dedupStrategy": "none",
|
||||||
|
"sortOrder": "Descending"
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"editorMode": "code",
|
||||||
|
"expr": "{job=~\"bitcoin|miner|blindbit\"} |= \"error\" | logfmt",
|
||||||
|
"queryType": "",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Bitcoin/Miner/Blindbit - Erreurs",
|
||||||
|
"type": "logs"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"refresh": "30s",
|
||||||
|
"schemaVersion": 36,
|
||||||
|
"style": "dark",
|
||||||
|
"tags": ["bitcoin", "miner", "blockchain"],
|
||||||
|
"templating": {
|
||||||
|
"list": []
|
||||||
|
},
|
||||||
|
"time": {
|
||||||
|
"from": "now-1h",
|
||||||
|
"to": "now"
|
||||||
|
},
|
||||||
|
"timepicker": {},
|
||||||
|
"timezone": "",
|
||||||
|
"title": "Bitcoin & Miner Monitoring",
|
||||||
|
"uid": "bitcoin-miner",
|
||||||
|
"version": 1,
|
||||||
|
"weekStart": ""
|
||||||
|
}
|
||||||
@ -0,0 +1,532 @@
|
|||||||
|
{
|
||||||
|
"annotations": {
|
||||||
|
"list": []
|
||||||
|
},
|
||||||
|
"editable": true,
|
||||||
|
"fiscalYearStartMonth": 0,
|
||||||
|
"graphTooltip": 0,
|
||||||
|
"id": null,
|
||||||
|
"links": [],
|
||||||
|
"liveNow": false,
|
||||||
|
"panels": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "palette-classic"
|
||||||
|
},
|
||||||
|
"custom": {
|
||||||
|
"axisLabel": "",
|
||||||
|
"axisPlacement": "auto",
|
||||||
|
"barAlignment": 0,
|
||||||
|
"drawStyle": "line",
|
||||||
|
"fillOpacity": 10,
|
||||||
|
"gradientMode": "none",
|
||||||
|
"hideFrom": {
|
||||||
|
"legend": false,
|
||||||
|
"tooltip": false,
|
||||||
|
"vis": false
|
||||||
|
},
|
||||||
|
"lineInterpolation": "linear",
|
||||||
|
"lineWidth": 1,
|
||||||
|
"pointSize": 5,
|
||||||
|
"scaleDistribution": {
|
||||||
|
"type": "linear"
|
||||||
|
},
|
||||||
|
"showPoints": "never",
|
||||||
|
"spanNulls": false,
|
||||||
|
"stacking": {
|
||||||
|
"group": "A",
|
||||||
|
"mode": "none"
|
||||||
|
},
|
||||||
|
"thresholdsStyle": {
|
||||||
|
"mode": "off"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "red",
|
||||||
|
"value": 80
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 8,
|
||||||
|
"w": 12,
|
||||||
|
"x": 0,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"id": 1,
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"calcs": [],
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom"
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "single"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"editorMode": "code",
|
||||||
|
"expr": "sum(rate({container=\"bitcoin-signet\"} |= \"UpdateTip\" [5m])) by (container)",
|
||||||
|
"queryType": "",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Mises à Jour de la Chaîne Bitcoin",
|
||||||
|
"type": "timeseries"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "palette-classic"
|
||||||
|
},
|
||||||
|
"custom": {
|
||||||
|
"axisLabel": "",
|
||||||
|
"axisPlacement": "auto",
|
||||||
|
"barAlignment": 0,
|
||||||
|
"drawStyle": "line",
|
||||||
|
"fillOpacity": 10,
|
||||||
|
"gradientMode": "none",
|
||||||
|
"hideFrom": {
|
||||||
|
"legend": false,
|
||||||
|
"tooltip": false,
|
||||||
|
"vis": false
|
||||||
|
},
|
||||||
|
"lineInterpolation": "linear",
|
||||||
|
"lineWidth": 1,
|
||||||
|
"pointSize": 5,
|
||||||
|
"scaleDistribution": {
|
||||||
|
"type": "linear"
|
||||||
|
},
|
||||||
|
"showPoints": "never",
|
||||||
|
"spanNulls": false,
|
||||||
|
"stacking": {
|
||||||
|
"group": "A",
|
||||||
|
"mode": "none"
|
||||||
|
},
|
||||||
|
"thresholdsStyle": {
|
||||||
|
"mode": "off"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "red",
|
||||||
|
"value": 80
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 8,
|
||||||
|
"w": 12,
|
||||||
|
"x": 12,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"id": 2,
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"calcs": [],
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom"
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "single"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"editorMode": "code",
|
||||||
|
"expr": "sum(rate({container=\"blindbit-oracle\"} |= \"tweak\" [5m])) by (container)",
|
||||||
|
"queryType": "",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Détection de Tweak (BlindBit)",
|
||||||
|
"type": "timeseries"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "thresholds"
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "red",
|
||||||
|
"value": 80
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 4,
|
||||||
|
"w": 6,
|
||||||
|
"x": 0,
|
||||||
|
"y": 8
|
||||||
|
},
|
||||||
|
"id": 3,
|
||||||
|
"options": {
|
||||||
|
"colorMode": "value",
|
||||||
|
"graphMode": "area",
|
||||||
|
"justifyMode": "auto",
|
||||||
|
"orientation": "auto",
|
||||||
|
"reduceOptions": {
|
||||||
|
"calcs": [
|
||||||
|
"lastNotNull"
|
||||||
|
],
|
||||||
|
"fields": "",
|
||||||
|
"values": false
|
||||||
|
},
|
||||||
|
"textMode": "auto"
|
||||||
|
},
|
||||||
|
"pluginVersion": "10.0.0",
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"editorMode": "code",
|
||||||
|
"expr": "count_over_time({container=\"bitcoin-signet\"} |= \"ERROR\" [1h])",
|
||||||
|
"queryType": "",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Erreurs Bitcoin (1h)",
|
||||||
|
"type": "stat"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "thresholds"
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "red",
|
||||||
|
"value": 80
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 4,
|
||||||
|
"w": 6,
|
||||||
|
"x": 6,
|
||||||
|
"y": 8
|
||||||
|
},
|
||||||
|
"id": 4,
|
||||||
|
"options": {
|
||||||
|
"colorMode": "value",
|
||||||
|
"graphMode": "area",
|
||||||
|
"justifyMode": "auto",
|
||||||
|
"orientation": "auto",
|
||||||
|
"reduceOptions": {
|
||||||
|
"calcs": [
|
||||||
|
"lastNotNull"
|
||||||
|
],
|
||||||
|
"fields": "",
|
||||||
|
"values": false
|
||||||
|
},
|
||||||
|
"textMode": "auto"
|
||||||
|
},
|
||||||
|
"pluginVersion": "10.0.0",
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"editorMode": "code",
|
||||||
|
"expr": "count_over_time({container=\"blindbit-oracle\"} |= \"ERROR\" [1h])",
|
||||||
|
"queryType": "",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Erreurs BlindBit (1h)",
|
||||||
|
"type": "stat"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "thresholds"
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "red",
|
||||||
|
"value": 80
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 4,
|
||||||
|
"w": 6,
|
||||||
|
"x": 12,
|
||||||
|
"y": 8
|
||||||
|
},
|
||||||
|
"id": 5,
|
||||||
|
"options": {
|
||||||
|
"colorMode": "value",
|
||||||
|
"graphMode": "area",
|
||||||
|
"justifyMode": "auto",
|
||||||
|
"orientation": "auto",
|
||||||
|
"reduceOptions": {
|
||||||
|
"calcs": [
|
||||||
|
"lastNotNull"
|
||||||
|
],
|
||||||
|
"fields": "",
|
||||||
|
"values": false
|
||||||
|
},
|
||||||
|
"textMode": "auto"
|
||||||
|
},
|
||||||
|
"pluginVersion": "10.0.0",
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"editorMode": "code",
|
||||||
|
"expr": "count_over_time({container=\"bitcoin-signet\"} |= \"New block\" [1h])",
|
||||||
|
"queryType": "",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Nouveaux Blocs (1h)",
|
||||||
|
"type": "stat"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "thresholds"
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "red",
|
||||||
|
"value": 80
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 4,
|
||||||
|
"w": 6,
|
||||||
|
"x": 18,
|
||||||
|
"y": 8
|
||||||
|
},
|
||||||
|
"id": 6,
|
||||||
|
"options": {
|
||||||
|
"colorMode": "value",
|
||||||
|
"graphMode": "area",
|
||||||
|
"justifyMode": "auto",
|
||||||
|
"orientation": "auto",
|
||||||
|
"reduceOptions": {
|
||||||
|
"calcs": [
|
||||||
|
"lastNotNull"
|
||||||
|
],
|
||||||
|
"fields": "",
|
||||||
|
"values": false
|
||||||
|
},
|
||||||
|
"textMode": "auto"
|
||||||
|
},
|
||||||
|
"pluginVersion": "10.0.0",
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"editorMode": "code",
|
||||||
|
"expr": "count_over_time({container=\"blindbit-oracle\"} |= \"Silent payment\" [1h])",
|
||||||
|
"queryType": "",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Silent Payments (1h)",
|
||||||
|
"type": "stat"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"custom": {
|
||||||
|
"align": "auto",
|
||||||
|
"cellOptions": {
|
||||||
|
"type": "auto"
|
||||||
|
},
|
||||||
|
"inspect": false
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "red",
|
||||||
|
"value": 80
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 8,
|
||||||
|
"w": 24,
|
||||||
|
"x": 0,
|
||||||
|
"y": 12
|
||||||
|
},
|
||||||
|
"id": 7,
|
||||||
|
"options": {
|
||||||
|
"cellHeight": "sm",
|
||||||
|
"footer": {
|
||||||
|
"countRows": false,
|
||||||
|
"fields": "",
|
||||||
|
"reducer": [
|
||||||
|
"sum"
|
||||||
|
],
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
"showHeader": true
|
||||||
|
},
|
||||||
|
"pluginVersion": "10.0.0",
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"editorMode": "code",
|
||||||
|
"expr": "{container=~\"bitcoin-signet|blindbit-oracle\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.container}} - {{.message}}\"",
|
||||||
|
"queryType": "",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Erreurs Bitcoin Services",
|
||||||
|
"type": "table"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"refresh": "5s",
|
||||||
|
"schemaVersion": 37,
|
||||||
|
"style": "dark",
|
||||||
|
"tags": [
|
||||||
|
"bitcoin",
|
||||||
|
"signet",
|
||||||
|
"blindbit",
|
||||||
|
"oracle"
|
||||||
|
],
|
||||||
|
"templating": {
|
||||||
|
"list": []
|
||||||
|
},
|
||||||
|
"time": {
|
||||||
|
"from": "now-1h",
|
||||||
|
"to": "now"
|
||||||
|
},
|
||||||
|
"timepicker": {},
|
||||||
|
"timezone": "",
|
||||||
|
"title": "Bitcoin Services - Monitoring",
|
||||||
|
"uid": "bitcoin-services",
|
||||||
|
"version": 1,
|
||||||
|
"weekStart": ""
|
||||||
|
}
|
||||||
|
|
||||||
@ -1,66 +1,28 @@
|
|||||||
{
|
{
|
||||||
"annotations": {
|
"annotations": {
|
||||||
"list": []
|
"list": [
|
||||||
|
{
|
||||||
|
"builtIn": 1,
|
||||||
|
"datasource": "-- Grafana --",
|
||||||
|
"enable": true,
|
||||||
|
"hide": true,
|
||||||
|
"iconColor": "rgba(0, 211, 255, 1)",
|
||||||
|
"name": "Annotations & Alerts",
|
||||||
|
"type": "dashboard"
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"editable": true,
|
"editable": true,
|
||||||
"fiscalYearStartMonth": 0,
|
"gnetId": null,
|
||||||
"graphTooltip": 0,
|
"graphTooltip": 0,
|
||||||
"id": null,
|
"id": null,
|
||||||
"links": [],
|
"links": [],
|
||||||
"liveNow": false,
|
|
||||||
"panels": [
|
"panels": [
|
||||||
{
|
{
|
||||||
"datasource": {
|
"datasource": "Loki",
|
||||||
"type": "loki",
|
|
||||||
"uid": "loki"
|
|
||||||
},
|
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"color": {
|
"custom": {}
|
||||||
"mode": "palette-classic"
|
|
||||||
},
|
|
||||||
"custom": {
|
|
||||||
"axisLabel": "",
|
|
||||||
"axisPlacement": "auto",
|
|
||||||
"barAlignment": 0,
|
|
||||||
"drawStyle": "line",
|
|
||||||
"fillOpacity": 10,
|
|
||||||
"gradientMode": "none",
|
|
||||||
"hideFrom": {
|
|
||||||
"legend": false,
|
|
||||||
"tooltip": false,
|
|
||||||
"vis": false
|
|
||||||
},
|
|
||||||
"lineInterpolation": "linear",
|
|
||||||
"lineWidth": 1,
|
|
||||||
"pointSize": 5,
|
|
||||||
"scaleDistribution": {
|
|
||||||
"type": "linear"
|
|
||||||
},
|
|
||||||
"showPoints": "never",
|
|
||||||
"spanNulls": false,
|
|
||||||
"stacking": {
|
|
||||||
"group": "A",
|
|
||||||
"mode": "none"
|
|
||||||
},
|
|
||||||
"thresholdsStyle": {
|
|
||||||
"mode": "off"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mappings": [],
|
|
||||||
"thresholds": {
|
|
||||||
"mode": "absolute",
|
|
||||||
"steps": [
|
|
||||||
{
|
|
||||||
"color": "green",
|
|
||||||
"value": null
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"color": "red",
|
|
||||||
"value": 80
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"overrides": []
|
"overrides": []
|
||||||
},
|
},
|
||||||
@ -72,82 +34,25 @@
|
|||||||
},
|
},
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"options": {
|
"options": {
|
||||||
"legend": {
|
"showLabels": false,
|
||||||
"calcs": [],
|
"showTime": false,
|
||||||
"displayMode": "list",
|
"sortOrder": "Descending",
|
||||||
"placement": "bottom"
|
"wrapLogMessage": false
|
||||||
},
|
|
||||||
"tooltip": {
|
|
||||||
"mode": "single"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"datasource": {
|
"expr": "{job=\"blindbit\"} |= \"Host configuration loaded\"",
|
||||||
"type": "loki",
|
|
||||||
"uid": "loki"
|
|
||||||
},
|
|
||||||
"editorMode": "code",
|
|
||||||
"expr": "sum(rate({container=\"$BLINDBIT_ORACLE_DOCKER_NAME\"} |= \"INFO\" [5m])) by (container)",
|
|
||||||
"queryType": "",
|
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"title": "Logs INFO - blindbit-oracle",
|
"title": "BlindBit Oracle - Configuration Loaded",
|
||||||
"type": "timeseries"
|
"type": "logs"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"datasource": {
|
"datasource": "Loki",
|
||||||
"type": "loki",
|
|
||||||
"uid": "loki"
|
|
||||||
},
|
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"color": {
|
"custom": {}
|
||||||
"mode": "palette-classic"
|
|
||||||
},
|
|
||||||
"custom": {
|
|
||||||
"axisLabel": "",
|
|
||||||
"axisPlacement": "auto",
|
|
||||||
"barAlignment": 0,
|
|
||||||
"drawStyle": "line",
|
|
||||||
"fillOpacity": 10,
|
|
||||||
"gradientMode": "none",
|
|
||||||
"hideFrom": {
|
|
||||||
"legend": false,
|
|
||||||
"tooltip": false,
|
|
||||||
"vis": false
|
|
||||||
},
|
|
||||||
"lineInterpolation": "linear",
|
|
||||||
"lineWidth": 1,
|
|
||||||
"pointSize": 5,
|
|
||||||
"scaleDistribution": {
|
|
||||||
"type": "linear"
|
|
||||||
},
|
|
||||||
"showPoints": "never",
|
|
||||||
"spanNulls": false,
|
|
||||||
"stacking": {
|
|
||||||
"group": "A",
|
|
||||||
"mode": "none"
|
|
||||||
},
|
|
||||||
"thresholdsStyle": {
|
|
||||||
"mode": "off"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mappings": [],
|
|
||||||
"thresholds": {
|
|
||||||
"mode": "absolute",
|
|
||||||
"steps": [
|
|
||||||
{
|
|
||||||
"color": "green",
|
|
||||||
"value": null
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"color": "red",
|
|
||||||
"value": 80
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"overrides": []
|
"overrides": []
|
||||||
},
|
},
|
||||||
@ -159,138 +64,117 @@
|
|||||||
},
|
},
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"options": {
|
"options": {
|
||||||
"legend": {
|
"showLabels": false,
|
||||||
"calcs": [],
|
"showTime": false,
|
||||||
"displayMode": "list",
|
"sortOrder": "Descending",
|
||||||
"placement": "bottom"
|
"wrapLogMessage": false
|
||||||
},
|
|
||||||
"tooltip": {
|
|
||||||
"mode": "single"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"datasource": {
|
"expr": "{job=\"blindbit\"} |= \"Sync took\"",
|
||||||
"type": "loki",
|
|
||||||
"uid": "loki"
|
|
||||||
},
|
|
||||||
"editorMode": "code",
|
|
||||||
"expr": "sum(rate({container=\"$BLINDBIT_ORACLE_DOCKER_NAME\"} |= \"ERROR\" [5m])) by (container)",
|
|
||||||
"queryType": "",
|
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"title": "Erreurs - blindbit-oracle",
|
"title": "BlindBit Oracle - Synchronization",
|
||||||
"type": "timeseries"
|
"type": "logs"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"datasource": {
|
"datasource": "Loki",
|
||||||
"type": "loki",
|
|
||||||
"uid": "loki"
|
|
||||||
},
|
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"color": {
|
"custom": {}
|
||||||
"mode": "thresholds"
|
|
||||||
},
|
|
||||||
"mappings": [],
|
|
||||||
"thresholds": {
|
|
||||||
"mode": "absolute",
|
|
||||||
"steps": [
|
|
||||||
{
|
|
||||||
"color": "green",
|
|
||||||
"value": null
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"color": "red",
|
|
||||||
"value": 80
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"overrides": []
|
"overrides": []
|
||||||
},
|
},
|
||||||
"gridPos": {
|
|
||||||
"h": 4,
|
|
||||||
"w": 6,
|
|
||||||
"x": 0,
|
|
||||||
"y": 8
|
|
||||||
},
|
|
||||||
"id": 3,
|
|
||||||
"options": {
|
|
||||||
"colorMode": "value",
|
|
||||||
"graphMode": "area",
|
|
||||||
"justifyMode": "auto",
|
|
||||||
"orientation": "auto",
|
|
||||||
"reduceOptions": {
|
|
||||||
"calcs": [
|
|
||||||
"lastNotNull"
|
|
||||||
],
|
|
||||||
"fields": "",
|
|
||||||
"values": false
|
|
||||||
},
|
|
||||||
"textMode": "auto"
|
|
||||||
},
|
|
||||||
"pluginVersion": "10.0.0",
|
|
||||||
"targets": [
|
|
||||||
{
|
|
||||||
"datasource": {
|
|
||||||
"type": "loki",
|
|
||||||
"uid": "loki"
|
|
||||||
},
|
|
||||||
"editorMode": "code",
|
|
||||||
"expr": "count_over_time({container=\"$BLINDBIT_ORACLE_DOCKER_NAME\"} |= \"ERROR\" [1h])",
|
|
||||||
"queryType": "",
|
|
||||||
"refId": "A"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"title": "Erreurs (1h)",
|
|
||||||
"type": "stat"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"datasource": {
|
|
||||||
"type": "loki",
|
|
||||||
"uid": "loki"
|
|
||||||
},
|
|
||||||
"gridPos": {
|
"gridPos": {
|
||||||
"h": 8,
|
"h": 8,
|
||||||
"w": 24,
|
"w": 24,
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 12
|
"y": 8
|
||||||
},
|
},
|
||||||
"id": 4,
|
"id": 3,
|
||||||
"options": {
|
"options": {
|
||||||
"showTime": false,
|
|
||||||
"showLabels": false,
|
"showLabels": false,
|
||||||
"showCommonLabels": false,
|
"showTime": false,
|
||||||
"wrapLogMessage": false,
|
"sortOrder": "Descending",
|
||||||
"prettifyLogMessage": false,
|
"wrapLogMessage": false
|
||||||
"enableLogDetails": true,
|
|
||||||
"dedupStrategy": "none",
|
|
||||||
"sortOrder": "Descending"
|
|
||||||
},
|
},
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"datasource": {
|
"expr": "{job=\"blindbit\"} |= \"successfully processed block\"",
|
||||||
"type": "loki",
|
|
||||||
"uid": "loki"
|
|
||||||
},
|
|
||||||
"editorMode": "code",
|
|
||||||
"expr": "{container=\"$BLINDBIT_ORACLE_DOCKER_NAME\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.message}}\"",
|
|
||||||
"queryType": "",
|
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"title": "Logs d'Erreur - blindbit-oracle",
|
"title": "BlindBit Oracle - Block Processing",
|
||||||
|
"type": "logs"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": "Loki",
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"custom": {}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 8,
|
||||||
|
"w": 12,
|
||||||
|
"x": 0,
|
||||||
|
"y": 16
|
||||||
|
},
|
||||||
|
"id": 4,
|
||||||
|
"options": {
|
||||||
|
"showLabels": false,
|
||||||
|
"showTime": false,
|
||||||
|
"sortOrder": "Descending",
|
||||||
|
"wrapLogMessage": false
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"expr": "{job=\"blindbit\"} |= \"GET\" |~ \"/tweaks/\"",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "BlindBit Oracle - API Requests",
|
||||||
|
"type": "logs"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": "Loki",
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"custom": {}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 8,
|
||||||
|
"w": 12,
|
||||||
|
"x": 12,
|
||||||
|
"y": 16
|
||||||
|
},
|
||||||
|
"id": 5,
|
||||||
|
"options": {
|
||||||
|
"showLabels": false,
|
||||||
|
"showTime": false,
|
||||||
|
"sortOrder": "Descending",
|
||||||
|
"wrapLogMessage": false
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"expr": "{job=\"blindbit\"} |~ \"ERROR|error|Error\"",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "BlindBit Oracle - Errors",
|
||||||
"type": "logs"
|
"type": "logs"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"refresh": "5s",
|
"schemaVersion": 27,
|
||||||
"schemaVersion": 37,
|
|
||||||
"style": "dark",
|
"style": "dark",
|
||||||
"tags": [
|
"tags": [
|
||||||
"blindbit-oracle",
|
"blindbit",
|
||||||
"auto-generated"
|
"oracle",
|
||||||
|
"blockchain"
|
||||||
],
|
],
|
||||||
"templating": {
|
"templating": {
|
||||||
"list": []
|
"list": []
|
||||||
@ -301,8 +185,8 @@
|
|||||||
},
|
},
|
||||||
"timepicker": {},
|
"timepicker": {},
|
||||||
"timezone": "",
|
"timezone": "",
|
||||||
"title": "blindbit-oracle - Monitoring",
|
"title": "BlindBit Oracle Dashboard",
|
||||||
"uid": "blindbit-oracle",
|
"uid": "blindbit-oracle",
|
||||||
"version": 1,
|
"version": 1
|
||||||
"weekStart": ""
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -0,0 +1,532 @@
|
|||||||
|
{
|
||||||
|
"annotations": {
|
||||||
|
"list": []
|
||||||
|
},
|
||||||
|
"editable": true,
|
||||||
|
"fiscalYearStartMonth": 0,
|
||||||
|
"graphTooltip": 0,
|
||||||
|
"id": null,
|
||||||
|
"links": [],
|
||||||
|
"liveNow": false,
|
||||||
|
"panels": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "palette-classic"
|
||||||
|
},
|
||||||
|
"custom": {
|
||||||
|
"axisLabel": "",
|
||||||
|
"axisPlacement": "auto",
|
||||||
|
"barAlignment": 0,
|
||||||
|
"drawStyle": "line",
|
||||||
|
"fillOpacity": 10,
|
||||||
|
"gradientMode": "none",
|
||||||
|
"hideFrom": {
|
||||||
|
"legend": false,
|
||||||
|
"tooltip": false,
|
||||||
|
"vis": false
|
||||||
|
},
|
||||||
|
"lineInterpolation": "linear",
|
||||||
|
"lineWidth": 1,
|
||||||
|
"pointSize": 5,
|
||||||
|
"scaleDistribution": {
|
||||||
|
"type": "linear"
|
||||||
|
},
|
||||||
|
"showPoints": "never",
|
||||||
|
"spanNulls": false,
|
||||||
|
"stacking": {
|
||||||
|
"group": "A",
|
||||||
|
"mode": "none"
|
||||||
|
},
|
||||||
|
"thresholdsStyle": {
|
||||||
|
"mode": "off"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "red",
|
||||||
|
"value": 80
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 8,
|
||||||
|
"w": 12,
|
||||||
|
"x": 0,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"id": 1,
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"calcs": [],
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom"
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "single"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"editorMode": "code",
|
||||||
|
"expr": "sum(rate({container=~\"lecoffre-front|ihm_client\"} |= \"GET\" [5m])) by (container)",
|
||||||
|
"queryType": "",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Requêtes HTTP par Frontend",
|
||||||
|
"type": "timeseries"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "palette-classic"
|
||||||
|
},
|
||||||
|
"custom": {
|
||||||
|
"axisLabel": "",
|
||||||
|
"axisPlacement": "auto",
|
||||||
|
"barAlignment": 0,
|
||||||
|
"drawStyle": "line",
|
||||||
|
"fillOpacity": 10,
|
||||||
|
"gradientMode": "none",
|
||||||
|
"hideFrom": {
|
||||||
|
"legend": false,
|
||||||
|
"tooltip": false,
|
||||||
|
"vis": false
|
||||||
|
},
|
||||||
|
"lineInterpolation": "linear",
|
||||||
|
"lineWidth": 1,
|
||||||
|
"pointSize": 5,
|
||||||
|
"scaleDistribution": {
|
||||||
|
"type": "linear"
|
||||||
|
},
|
||||||
|
"showPoints": "never",
|
||||||
|
"spanNulls": false,
|
||||||
|
"stacking": {
|
||||||
|
"group": "A",
|
||||||
|
"mode": "none"
|
||||||
|
},
|
||||||
|
"thresholdsStyle": {
|
||||||
|
"mode": "off"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "red",
|
||||||
|
"value": 80
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 8,
|
||||||
|
"w": 12,
|
||||||
|
"x": 12,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"id": 2,
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"calcs": [],
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom"
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "single"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"editorMode": "code",
|
||||||
|
"expr": "sum(rate({container=\"ihm_client\"} |= \"vite\" [5m])) by (container)",
|
||||||
|
"queryType": "",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Activité Vite (IHM Client)",
|
||||||
|
"type": "timeseries"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "thresholds"
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "red",
|
||||||
|
"value": 80
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 4,
|
||||||
|
"w": 6,
|
||||||
|
"x": 0,
|
||||||
|
"y": 8
|
||||||
|
},
|
||||||
|
"id": 3,
|
||||||
|
"options": {
|
||||||
|
"colorMode": "value",
|
||||||
|
"graphMode": "area",
|
||||||
|
"justifyMode": "auto",
|
||||||
|
"orientation": "auto",
|
||||||
|
"reduceOptions": {
|
||||||
|
"calcs": [
|
||||||
|
"lastNotNull"
|
||||||
|
],
|
||||||
|
"fields": "",
|
||||||
|
"values": false
|
||||||
|
},
|
||||||
|
"textMode": "auto"
|
||||||
|
},
|
||||||
|
"pluginVersion": "10.0.0",
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"editorMode": "code",
|
||||||
|
"expr": "count_over_time({container=\"lecoffre-front\"} |= \"ERROR\" [1h])",
|
||||||
|
"queryType": "",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Erreurs LeCoffre Front (1h)",
|
||||||
|
"type": "stat"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "thresholds"
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "red",
|
||||||
|
"value": 80
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 4,
|
||||||
|
"w": 6,
|
||||||
|
"x": 6,
|
||||||
|
"y": 8
|
||||||
|
},
|
||||||
|
"id": 4,
|
||||||
|
"options": {
|
||||||
|
"colorMode": "value",
|
||||||
|
"graphMode": "area",
|
||||||
|
"justifyMode": "auto",
|
||||||
|
"orientation": "auto",
|
||||||
|
"reduceOptions": {
|
||||||
|
"calcs": [
|
||||||
|
"lastNotNull"
|
||||||
|
],
|
||||||
|
"fields": "",
|
||||||
|
"values": false
|
||||||
|
},
|
||||||
|
"textMode": "auto"
|
||||||
|
},
|
||||||
|
"pluginVersion": "10.0.0",
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"editorMode": "code",
|
||||||
|
"expr": "count_over_time({container=\"ihm_client\"} |= \"ERROR\" [1h])",
|
||||||
|
"queryType": "",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Erreurs IHM Client (1h)",
|
||||||
|
"type": "stat"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "thresholds"
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "red",
|
||||||
|
"value": 80
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 4,
|
||||||
|
"w": 6,
|
||||||
|
"x": 12,
|
||||||
|
"y": 8
|
||||||
|
},
|
||||||
|
"id": 5,
|
||||||
|
"options": {
|
||||||
|
"colorMode": "value",
|
||||||
|
"graphMode": "area",
|
||||||
|
"justifyMode": "auto",
|
||||||
|
"orientation": "auto",
|
||||||
|
"reduceOptions": {
|
||||||
|
"calcs": [
|
||||||
|
"lastNotNull"
|
||||||
|
],
|
||||||
|
"fields": "",
|
||||||
|
"values": false
|
||||||
|
},
|
||||||
|
"textMode": "auto"
|
||||||
|
},
|
||||||
|
"pluginVersion": "10.0.0",
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"editorMode": "code",
|
||||||
|
"expr": "sum(count_over_time({container=~\"lecoffre-front|ihm_client\"} [1h]))",
|
||||||
|
"queryType": "",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Total Logs Frontend (1h)",
|
||||||
|
"type": "stat"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "thresholds"
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "red",
|
||||||
|
"value": 80
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 4,
|
||||||
|
"w": 6,
|
||||||
|
"x": 18,
|
||||||
|
"y": 8
|
||||||
|
},
|
||||||
|
"id": 6,
|
||||||
|
"options": {
|
||||||
|
"colorMode": "value",
|
||||||
|
"graphMode": "area",
|
||||||
|
"justifyMode": "auto",
|
||||||
|
"orientation": "auto",
|
||||||
|
"reduceOptions": {
|
||||||
|
"calcs": [
|
||||||
|
"lastNotNull"
|
||||||
|
],
|
||||||
|
"fields": "",
|
||||||
|
"values": false
|
||||||
|
},
|
||||||
|
"textMode": "auto"
|
||||||
|
},
|
||||||
|
"pluginVersion": "10.0.0",
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"editorMode": "code",
|
||||||
|
"expr": "count_over_time({container=\"ihm_client\"} |= \"Pre-transform error\" [1h])",
|
||||||
|
"queryType": "",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Erreurs Vite (1h)",
|
||||||
|
"type": "stat"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"custom": {
|
||||||
|
"align": "auto",
|
||||||
|
"cellOptions": {
|
||||||
|
"type": "auto"
|
||||||
|
},
|
||||||
|
"inspect": false
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "red",
|
||||||
|
"value": 80
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 8,
|
||||||
|
"w": 24,
|
||||||
|
"x": 0,
|
||||||
|
"y": 12
|
||||||
|
},
|
||||||
|
"id": 7,
|
||||||
|
"options": {
|
||||||
|
"cellHeight": "sm",
|
||||||
|
"footer": {
|
||||||
|
"countRows": false,
|
||||||
|
"fields": "",
|
||||||
|
"reducer": [
|
||||||
|
"sum"
|
||||||
|
],
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
"showHeader": true
|
||||||
|
},
|
||||||
|
"pluginVersion": "10.0.0",
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"editorMode": "code",
|
||||||
|
"expr": "{container=~\"lecoffre-front|ihm_client\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.container}} - {{.message}}\"",
|
||||||
|
"queryType": "",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Erreurs Récentes Frontend",
|
||||||
|
"type": "table"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"refresh": "5s",
|
||||||
|
"schemaVersion": 37,
|
||||||
|
"style": "dark",
|
||||||
|
"tags": [
|
||||||
|
"frontend",
|
||||||
|
"lecoffre",
|
||||||
|
"ihm",
|
||||||
|
"client"
|
||||||
|
],
|
||||||
|
"templating": {
|
||||||
|
"list": []
|
||||||
|
},
|
||||||
|
"time": {
|
||||||
|
"from": "now-1h",
|
||||||
|
"to": "now"
|
||||||
|
},
|
||||||
|
"timepicker": {},
|
||||||
|
"timezone": "",
|
||||||
|
"title": "Frontend Services - Monitoring",
|
||||||
|
"uid": "frontend-services",
|
||||||
|
"version": 1,
|
||||||
|
"weekStart": ""
|
||||||
|
}
|
||||||
|
|
||||||
@ -0,0 +1,252 @@
|
|||||||
|
{
|
||||||
|
"annotations": {
|
||||||
|
"list": [
|
||||||
|
{
|
||||||
|
"builtIn": 1,
|
||||||
|
"datasource": {
|
||||||
|
"type": "grafana",
|
||||||
|
"uid": "-- Grafana --"
|
||||||
|
},
|
||||||
|
"enable": true,
|
||||||
|
"hide": true,
|
||||||
|
"iconColor": "rgba(0, 211, 255, 1)",
|
||||||
|
"name": "Annotations & Alerts",
|
||||||
|
"target": {
|
||||||
|
"limit": 100,
|
||||||
|
"matchAny": false,
|
||||||
|
"tags": [],
|
||||||
|
"type": "dashboard"
|
||||||
|
},
|
||||||
|
"type": "dashboard"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"editable": true,
|
||||||
|
"fiscalYearStartMonth": 0,
|
||||||
|
"graphTooltip": 0,
|
||||||
|
"id": null,
|
||||||
|
"links": [],
|
||||||
|
"liveNow": false,
|
||||||
|
"panels": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "palette-classic"
|
||||||
|
},
|
||||||
|
"custom": {
|
||||||
|
"axisLabel": "",
|
||||||
|
"axisPlacement": "auto",
|
||||||
|
"barAlignment": 0,
|
||||||
|
"drawStyle": "line",
|
||||||
|
"fillOpacity": 10,
|
||||||
|
"gradientMode": "none",
|
||||||
|
"hideFrom": {
|
||||||
|
"legend": false,
|
||||||
|
"tooltip": false,
|
||||||
|
"vis": false
|
||||||
|
},
|
||||||
|
"lineInterpolation": "linear",
|
||||||
|
"lineWidth": 1,
|
||||||
|
"pointSize": 5,
|
||||||
|
"scaleDistribution": {
|
||||||
|
"type": "linear"
|
||||||
|
},
|
||||||
|
"showPoints": "never",
|
||||||
|
"spanNulls": false,
|
||||||
|
"stacking": {
|
||||||
|
"group": "A",
|
||||||
|
"mode": "none"
|
||||||
|
},
|
||||||
|
"thresholdsStyle": {
|
||||||
|
"mode": "off"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "red",
|
||||||
|
"value": 80
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"unit": "short"
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 8,
|
||||||
|
"w": 12,
|
||||||
|
"x": 0,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"id": 1,
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"calcs": [],
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom"
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "single",
|
||||||
|
"sort": "none"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"editorMode": "code",
|
||||||
|
"expr": "sum by (service) (count_over_time({job=~\".*\"} |= \"error\" [5m]))",
|
||||||
|
"queryType": "",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Erreurs par Service (5 dernières minutes)",
|
||||||
|
"type": "timeseries"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "palette-classic"
|
||||||
|
},
|
||||||
|
"custom": {
|
||||||
|
"axisLabel": "",
|
||||||
|
"axisPlacement": "auto",
|
||||||
|
"barAlignment": 0,
|
||||||
|
"drawStyle": "line",
|
||||||
|
"fillOpacity": 10,
|
||||||
|
"gradientMode": "none",
|
||||||
|
"hideFrom": {
|
||||||
|
"legend": false,
|
||||||
|
"tooltip": false,
|
||||||
|
"vis": false
|
||||||
|
},
|
||||||
|
"lineInterpolation": "linear",
|
||||||
|
"lineWidth": 1,
|
||||||
|
"pointSize": 5,
|
||||||
|
"scaleDistribution": {
|
||||||
|
"type": "linear"
|
||||||
|
},
|
||||||
|
"showPoints": "never",
|
||||||
|
"spanNulls": false,
|
||||||
|
"stacking": {
|
||||||
|
"group": "A",
|
||||||
|
"mode": "none"
|
||||||
|
},
|
||||||
|
"thresholdsStyle": {
|
||||||
|
"mode": "off"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "red",
|
||||||
|
"value": 80
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"unit": "short"
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 8,
|
||||||
|
"w": 12,
|
||||||
|
"x": 12,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"id": 2,
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"calcs": [],
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom"
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "single",
|
||||||
|
"sort": "none"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"editorMode": "code",
|
||||||
|
"expr": "sum by (service) (count_over_time({job=~\".*\"} [5m]))",
|
||||||
|
"queryType": "",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Volume de Logs par Service (5 dernières minutes)",
|
||||||
|
"type": "timeseries"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 12,
|
||||||
|
"w": 24,
|
||||||
|
"x": 0,
|
||||||
|
"y": 8
|
||||||
|
},
|
||||||
|
"id": 3,
|
||||||
|
"options": {
|
||||||
|
"showTime": false,
|
||||||
|
"showLabels": false,
|
||||||
|
"showCommonLabels": false,
|
||||||
|
"wrapLogMessage": false,
|
||||||
|
"prettifyLogMessage": false,
|
||||||
|
"enableLogDetails": true,
|
||||||
|
"dedupStrategy": "none",
|
||||||
|
"sortOrder": "Descending"
|
||||||
|
},
|
||||||
|
"title": "Logs d'Erreur - Tous Services",
|
||||||
|
"type": "logs"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"refresh": "30s",
|
||||||
|
"schemaVersion": 36,
|
||||||
|
"style": "dark",
|
||||||
|
"tags": ["lecoffre", "monitoring"],
|
||||||
|
"templating": {
|
||||||
|
"list": []
|
||||||
|
},
|
||||||
|
"time": {
|
||||||
|
"from": "now-1h",
|
||||||
|
"to": "now"
|
||||||
|
},
|
||||||
|
"timepicker": {},
|
||||||
|
"timezone": "",
|
||||||
|
"title": "LeCoffre Node - Vue d'ensemble",
|
||||||
|
"uid": "lecoffre-overview",
|
||||||
|
"version": 1,
|
||||||
|
"weekStart": ""
|
||||||
|
}
|
||||||
594
storage/dev/_4NK_modules/grafana/dashboards/sdk-services.json
Normal file
594
storage/dev/_4NK_modules/grafana/dashboards/sdk-services.json
Normal file
@ -0,0 +1,594 @@
|
|||||||
|
{
|
||||||
|
"annotations": {
|
||||||
|
"list": []
|
||||||
|
},
|
||||||
|
"editable": true,
|
||||||
|
"fiscalYearStartMonth": 0,
|
||||||
|
"graphTooltip": 0,
|
||||||
|
"id": null,
|
||||||
|
"links": [],
|
||||||
|
"liveNow": false,
|
||||||
|
"panels": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "palette-classic"
|
||||||
|
},
|
||||||
|
"custom": {
|
||||||
|
"axisLabel": "",
|
||||||
|
"axisPlacement": "auto",
|
||||||
|
"barAlignment": 0,
|
||||||
|
"drawStyle": "line",
|
||||||
|
"fillOpacity": 10,
|
||||||
|
"gradientMode": "none",
|
||||||
|
"hideFrom": {
|
||||||
|
"legend": false,
|
||||||
|
"tooltip": false,
|
||||||
|
"vis": false
|
||||||
|
},
|
||||||
|
"lineInterpolation": "linear",
|
||||||
|
"lineWidth": 1,
|
||||||
|
"pointSize": 5,
|
||||||
|
"scaleDistribution": {
|
||||||
|
"type": "linear"
|
||||||
|
},
|
||||||
|
"showPoints": "never",
|
||||||
|
"spanNulls": false,
|
||||||
|
"stacking": {
|
||||||
|
"group": "A",
|
||||||
|
"mode": "none"
|
||||||
|
},
|
||||||
|
"thresholdsStyle": {
|
||||||
|
"mode": "off"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "red",
|
||||||
|
"value": 80
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 8,
|
||||||
|
"w": 8,
|
||||||
|
"x": 0,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"id": 1,
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"calcs": [],
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom"
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "single"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"editorMode": "code",
|
||||||
|
"expr": "sum(rate({container=~\"sdk_.*\"} |= \"message\" [5m])) by (container)",
|
||||||
|
"queryType": "",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Messages par Service SDK",
|
||||||
|
"type": "timeseries"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "palette-classic"
|
||||||
|
},
|
||||||
|
"custom": {
|
||||||
|
"axisLabel": "",
|
||||||
|
"axisPlacement": "auto",
|
||||||
|
"barAlignment": 0,
|
||||||
|
"drawStyle": "line",
|
||||||
|
"fillOpacity": 10,
|
||||||
|
"gradientMode": "none",
|
||||||
|
"hideFrom": {
|
||||||
|
"legend": false,
|
||||||
|
"tooltip": false,
|
||||||
|
"vis": false
|
||||||
|
},
|
||||||
|
"lineInterpolation": "linear",
|
||||||
|
"lineWidth": 1,
|
||||||
|
"pointSize": 5,
|
||||||
|
"scaleDistribution": {
|
||||||
|
"type": "linear"
|
||||||
|
},
|
||||||
|
"showPoints": "never",
|
||||||
|
"spanNulls": false,
|
||||||
|
"stacking": {
|
||||||
|
"group": "A",
|
||||||
|
"mode": "none"
|
||||||
|
},
|
||||||
|
"thresholdsStyle": {
|
||||||
|
"mode": "off"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "red",
|
||||||
|
"value": 80
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 8,
|
||||||
|
"w": 8,
|
||||||
|
"x": 8,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"id": 2,
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"calcs": [],
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom"
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "single"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"editorMode": "code",
|
||||||
|
"expr": "sum(rate({container=\"sdk_relay\"} |= \"transaction\" [5m])) by (container)",
|
||||||
|
"queryType": "",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Transactions Relay",
|
||||||
|
"type": "timeseries"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "palette-classic"
|
||||||
|
},
|
||||||
|
"custom": {
|
||||||
|
"axisLabel": "",
|
||||||
|
"axisPlacement": "auto",
|
||||||
|
"barAlignment": 0,
|
||||||
|
"drawStyle": "line",
|
||||||
|
"fillOpacity": 10,
|
||||||
|
"gradientMode": "none",
|
||||||
|
"hideFrom": {
|
||||||
|
"legend": false,
|
||||||
|
"tooltip": false,
|
||||||
|
"vis": false
|
||||||
|
},
|
||||||
|
"lineInterpolation": "linear",
|
||||||
|
"lineWidth": 1,
|
||||||
|
"pointSize": 5,
|
||||||
|
"scaleDistribution": {
|
||||||
|
"type": "linear"
|
||||||
|
},
|
||||||
|
"showPoints": "never",
|
||||||
|
"spanNulls": false,
|
||||||
|
"stacking": {
|
||||||
|
"group": "A",
|
||||||
|
"mode": "none"
|
||||||
|
},
|
||||||
|
"thresholdsStyle": {
|
||||||
|
"mode": "off"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "red",
|
||||||
|
"value": 80
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 8,
|
||||||
|
"w": 8,
|
||||||
|
"x": 16,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"id": 3,
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"calcs": [],
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom"
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "single"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"title": "Signatures Signer",
|
||||||
|
"type": "timeseries"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "thresholds"
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "red",
|
||||||
|
"value": 80
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 4,
|
||||||
|
"w": 6,
|
||||||
|
"x": 0,
|
||||||
|
"y": 8
|
||||||
|
},
|
||||||
|
"id": 4,
|
||||||
|
"options": {
|
||||||
|
"colorMode": "value",
|
||||||
|
"graphMode": "area",
|
||||||
|
"justifyMode": "auto",
|
||||||
|
"orientation": "auto",
|
||||||
|
"reduceOptions": {
|
||||||
|
"calcs": [
|
||||||
|
"lastNotNull"
|
||||||
|
],
|
||||||
|
"fields": "",
|
||||||
|
"values": false
|
||||||
|
},
|
||||||
|
"textMode": "auto"
|
||||||
|
},
|
||||||
|
"pluginVersion": "10.0.0",
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"editorMode": "code",
|
||||||
|
"expr": "count_over_time({container=\"sdk_relay\"} |= \"ERROR\" [1h])",
|
||||||
|
"queryType": "",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Erreurs Relay (1h)",
|
||||||
|
"type": "stat"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "thresholds"
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "red",
|
||||||
|
"value": 80
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 4,
|
||||||
|
"w": 6,
|
||||||
|
"x": 6,
|
||||||
|
"y": 8
|
||||||
|
},
|
||||||
|
"id": 5,
|
||||||
|
"options": {
|
||||||
|
"colorMode": "value",
|
||||||
|
"graphMode": "area",
|
||||||
|
"justifyMode": "auto",
|
||||||
|
"orientation": "auto",
|
||||||
|
"reduceOptions": {
|
||||||
|
"calcs": [
|
||||||
|
"lastNotNull"
|
||||||
|
],
|
||||||
|
"fields": "",
|
||||||
|
"values": false
|
||||||
|
},
|
||||||
|
"textMode": "auto"
|
||||||
|
},
|
||||||
|
"pluginVersion": "10.0.0",
|
||||||
|
"title": "Erreurs Signer (1h)",
|
||||||
|
"type": "stat"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "thresholds"
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "red",
|
||||||
|
"value": 80
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 4,
|
||||||
|
"w": 6,
|
||||||
|
"x": 12,
|
||||||
|
"y": 8
|
||||||
|
},
|
||||||
|
"id": 6,
|
||||||
|
"options": {
|
||||||
|
"colorMode": "value",
|
||||||
|
"graphMode": "area",
|
||||||
|
"justifyMode": "auto",
|
||||||
|
"orientation": "auto",
|
||||||
|
"reduceOptions": {
|
||||||
|
"calcs": [
|
||||||
|
"lastNotNull"
|
||||||
|
],
|
||||||
|
"fields": "",
|
||||||
|
"values": false
|
||||||
|
},
|
||||||
|
"textMode": "auto"
|
||||||
|
},
|
||||||
|
"pluginVersion": "10.0.0",
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"editorMode": "code",
|
||||||
|
"expr": "count_over_time({container=\"sdk_storage\"} |= \"ERROR\" [1h])",
|
||||||
|
"queryType": "",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Erreurs Storage (1h)",
|
||||||
|
"type": "stat"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "thresholds"
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "red",
|
||||||
|
"value": 80
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 4,
|
||||||
|
"w": 6,
|
||||||
|
"x": 18,
|
||||||
|
"y": 8
|
||||||
|
},
|
||||||
|
"id": 7,
|
||||||
|
"options": {
|
||||||
|
"colorMode": "value",
|
||||||
|
"graphMode": "area",
|
||||||
|
"justifyMode": "auto",
|
||||||
|
"orientation": "auto",
|
||||||
|
"reduceOptions": {
|
||||||
|
"calcs": [
|
||||||
|
"lastNotNull"
|
||||||
|
],
|
||||||
|
"fields": "",
|
||||||
|
"values": false
|
||||||
|
},
|
||||||
|
"textMode": "auto"
|
||||||
|
},
|
||||||
|
"pluginVersion": "10.0.0",
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"editorMode": "code",
|
||||||
|
"expr": "sum(count_over_time({container=~\"sdk_.*\"} [1h]))",
|
||||||
|
"queryType": "",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Total Logs SDK (1h)",
|
||||||
|
"type": "stat"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"custom": {
|
||||||
|
"align": "auto",
|
||||||
|
"cellOptions": {
|
||||||
|
"type": "auto"
|
||||||
|
},
|
||||||
|
"inspect": false
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "red",
|
||||||
|
"value": 80
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 8,
|
||||||
|
"w": 24,
|
||||||
|
"x": 0,
|
||||||
|
"y": 12
|
||||||
|
},
|
||||||
|
"id": 8,
|
||||||
|
"options": {
|
||||||
|
"cellHeight": "sm",
|
||||||
|
"footer": {
|
||||||
|
"countRows": false,
|
||||||
|
"fields": "",
|
||||||
|
"reducer": [
|
||||||
|
"sum"
|
||||||
|
],
|
||||||
|
"show": false
|
||||||
|
},
|
||||||
|
"showHeader": true
|
||||||
|
},
|
||||||
|
"pluginVersion": "10.0.0",
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"editorMode": "code",
|
||||||
|
"expr": "{container=~\"sdk_.*\"} |= \"ERROR\" | line_format \"{{.timestamp}} - {{.container}} - {{.message}}\"",
|
||||||
|
"queryType": "",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "Erreurs Récentes SDK",
|
||||||
|
"type": "table"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"refresh": "5s",
|
||||||
|
"schemaVersion": 37,
|
||||||
|
"style": "dark",
|
||||||
|
"tags": [
|
||||||
|
"sdk",
|
||||||
|
"relay",
|
||||||
|
"signer",
|
||||||
|
"storage"
|
||||||
|
],
|
||||||
|
"templating": {
|
||||||
|
"list": []
|
||||||
|
},
|
||||||
|
"time": {
|
||||||
|
"from": "now-1h",
|
||||||
|
"to": "now"
|
||||||
|
},
|
||||||
|
"timepicker": {},
|
||||||
|
"timezone": "",
|
||||||
|
"title": "SDK Services - Monitoring",
|
||||||
|
"uid": "sdk-services",
|
||||||
|
"version": 1,
|
||||||
|
"weekStart": ""
|
||||||
|
}
|
||||||
@ -1,6 +1,25 @@
|
|||||||
{
|
{
|
||||||
"annotations": {
|
"annotations": {
|
||||||
"list": []
|
"list": [
|
||||||
|
{
|
||||||
|
"builtIn": 1,
|
||||||
|
"datasource": {
|
||||||
|
"type": "grafana",
|
||||||
|
"uid": "-- Grafana --"
|
||||||
|
},
|
||||||
|
"enable": true,
|
||||||
|
"hide": true,
|
||||||
|
"iconColor": "rgba(0, 211, 255, 1)",
|
||||||
|
"name": "Annotations & Alerts",
|
||||||
|
"target": {
|
||||||
|
"limit": 100,
|
||||||
|
"matchAny": false,
|
||||||
|
"tags": [],
|
||||||
|
"type": "dashboard"
|
||||||
|
},
|
||||||
|
"type": "dashboard"
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"editable": true,
|
"editable": true,
|
||||||
"fiscalYearStartMonth": 0,
|
"fiscalYearStartMonth": 0,
|
||||||
@ -67,7 +86,7 @@
|
|||||||
},
|
},
|
||||||
"gridPos": {
|
"gridPos": {
|
||||||
"h": 8,
|
"h": 8,
|
||||||
"w": 24,
|
"w": 6,
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 0
|
"y": 0
|
||||||
},
|
},
|
||||||
@ -83,6 +102,83 @@
|
|||||||
"sort": "none"
|
"sort": "none"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"title": "LeCoffre Backend - Volume Logs",
|
||||||
|
"type": "timeseries"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "palette-classic"
|
||||||
|
},
|
||||||
|
"custom": {
|
||||||
|
"axisLabel": "",
|
||||||
|
"axisPlacement": "auto",
|
||||||
|
"barAlignment": 0,
|
||||||
|
"drawStyle": "line",
|
||||||
|
"fillOpacity": 10,
|
||||||
|
"gradientMode": "none",
|
||||||
|
"hideFrom": {
|
||||||
|
"legend": false,
|
||||||
|
"tooltip": false,
|
||||||
|
"vis": false
|
||||||
|
},
|
||||||
|
"lineInterpolation": "linear",
|
||||||
|
"lineWidth": 1,
|
||||||
|
"pointSize": 5,
|
||||||
|
"scaleDistribution": {
|
||||||
|
"type": "linear"
|
||||||
|
},
|
||||||
|
"showPoints": "never",
|
||||||
|
"spanNulls": false,
|
||||||
|
"stacking": {
|
||||||
|
"group": "A",
|
||||||
|
"mode": "none"
|
||||||
|
},
|
||||||
|
"thresholdsStyle": {
|
||||||
|
"mode": "off"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "red",
|
||||||
|
"value": 80
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"unit": "short"
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 8,
|
||||||
|
"w": 6,
|
||||||
|
"x": 6,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"id": 2,
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"calcs": [],
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom"
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "single",
|
||||||
|
"sort": "none"
|
||||||
|
}
|
||||||
|
},
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"datasource": {
|
"datasource": {
|
||||||
@ -90,19 +186,222 @@
|
|||||||
"uid": "loki"
|
"uid": "loki"
|
||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"expr": "sum by (container) (count_over_time({container=~\"$bitcoin_DOCKER_NAME|$blindbit-oracle_DOCKER_NAME|$sdk_relay_DOCKER_NAME|$sdk_storage_DOCKER_NAME|$ihm_client_DOCKER_NAME|$lecoffre-front_DOCKER_NAME\"} |= \"ERROR\" [5m]))",
|
"expr": "sum by (service) (count_over_time({job=\"lecoffre-front\"} [5m]))",
|
||||||
"queryType": "",
|
"queryType": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"title": "Erreurs par Service (5 dernières minutes)",
|
"title": "LeCoffre Frontend - Volume Logs",
|
||||||
"type": "timeseries"
|
"type": "timeseries"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "palette-classic"
|
||||||
|
},
|
||||||
|
"custom": {
|
||||||
|
"axisLabel": "",
|
||||||
|
"axisPlacement": "auto",
|
||||||
|
"barAlignment": 0,
|
||||||
|
"drawStyle": "line",
|
||||||
|
"fillOpacity": 10,
|
||||||
|
"gradientMode": "none",
|
||||||
|
"hideFrom": {
|
||||||
|
"legend": false,
|
||||||
|
"tooltip": false,
|
||||||
|
"vis": false
|
||||||
|
},
|
||||||
|
"lineInterpolation": "linear",
|
||||||
|
"lineWidth": 1,
|
||||||
|
"pointSize": 5,
|
||||||
|
"scaleDistribution": {
|
||||||
|
"type": "linear"
|
||||||
|
},
|
||||||
|
"showPoints": "never",
|
||||||
|
"spanNulls": false,
|
||||||
|
"stacking": {
|
||||||
|
"group": "A",
|
||||||
|
"mode": "none"
|
||||||
|
},
|
||||||
|
"thresholdsStyle": {
|
||||||
|
"mode": "off"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "red",
|
||||||
|
"value": 80
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"unit": "short"
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 8,
|
||||||
|
"w": 6,
|
||||||
|
"x": 12,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"id": 3,
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"calcs": [],
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom"
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "single",
|
||||||
|
"sort": "none"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"editorMode": "code",
|
||||||
|
"expr": "sum by (service) (count_over_time({job=\"ihm_client\"} [5m]))",
|
||||||
|
"queryType": "",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "IHM Client - Volume Logs",
|
||||||
|
"type": "timeseries"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "palette-classic"
|
||||||
|
},
|
||||||
|
"custom": {
|
||||||
|
"axisLabel": "",
|
||||||
|
"axisPlacement": "auto",
|
||||||
|
"barAlignment": 0,
|
||||||
|
"drawStyle": "line",
|
||||||
|
"fillOpacity": 10,
|
||||||
|
"gradientMode": "none",
|
||||||
|
"hideFrom": {
|
||||||
|
"legend": false,
|
||||||
|
"tooltip": false,
|
||||||
|
"vis": false
|
||||||
|
},
|
||||||
|
"lineInterpolation": "linear",
|
||||||
|
"lineWidth": 1,
|
||||||
|
"pointSize": 5,
|
||||||
|
"scaleDistribution": {
|
||||||
|
"type": "linear"
|
||||||
|
},
|
||||||
|
"showPoints": "never",
|
||||||
|
"spanNulls": false,
|
||||||
|
"stacking": {
|
||||||
|
"group": "A",
|
||||||
|
"mode": "none"
|
||||||
|
},
|
||||||
|
"thresholdsStyle": {
|
||||||
|
"mode": "off"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "red",
|
||||||
|
"value": 80
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"unit": "short"
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 8,
|
||||||
|
"w": 6,
|
||||||
|
"x": 18,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"id": 4,
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"calcs": [],
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom"
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "single",
|
||||||
|
"sort": "none"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"editorMode": "code",
|
||||||
|
"expr": "sum by (service) (count_over_time({job=\"sdk_relay\"} [5m]))",
|
||||||
|
"queryType": "",
|
||||||
|
"refId": "A"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"title": "SDK Relay - Volume Logs",
|
||||||
|
"type": "timeseries"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"datasource": {
|
||||||
|
"type": "loki",
|
||||||
|
"uid": "loki"
|
||||||
|
},
|
||||||
|
"gridPos": {
|
||||||
|
"h": 12,
|
||||||
|
"w": 24,
|
||||||
|
"x": 0,
|
||||||
|
"y": 8
|
||||||
|
},
|
||||||
|
"id": 5,
|
||||||
|
"options": {
|
||||||
|
"showTime": false,
|
||||||
|
"showLabels": false,
|
||||||
|
"showCommonLabels": false,
|
||||||
|
"wrapLogMessage": false,
|
||||||
|
"prettifyLogMessage": false,
|
||||||
|
"enableLogDetails": true,
|
||||||
|
"dedupStrategy": "none",
|
||||||
|
"sortOrder": "Descending"
|
||||||
|
},
|
||||||
|
"title": "Logs d'Erreur - Services Applications",
|
||||||
|
"type": "logs"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"refresh": "30s",
|
"refresh": "30s",
|
||||||
"schemaVersion": 36,
|
"schemaVersion": 36,
|
||||||
"style": "dark",
|
"style": "dark",
|
||||||
"tags": ["overview", "auto-generated"],
|
"tags": ["services", "applications"],
|
||||||
"templating": {
|
"templating": {
|
||||||
"list": []
|
"list": []
|
||||||
},
|
},
|
||||||
@ -112,8 +411,8 @@
|
|||||||
},
|
},
|
||||||
"timepicker": {},
|
"timepicker": {},
|
||||||
"timezone": "",
|
"timezone": "",
|
||||||
"title": "Services Overview - Auto Generated",
|
"title": "Services Applications - Monitoring",
|
||||||
"uid": "services-overview-auto",
|
"uid": "services-overview",
|
||||||
"version": 1,
|
"version": 1,
|
||||||
"weekStart": ""
|
"weekStart": ""
|
||||||
}
|
}
|
||||||
|
|||||||
76
storage/dev/_4NK_modules/loki/loki-config.yaml
Normal file
76
storage/dev/_4NK_modules/loki/loki-config.yaml
Normal file
@ -0,0 +1,76 @@
|
|||||||
|
auth_enabled: false
|
||||||
|
|
||||||
|
server:
|
||||||
|
http_listen_port: 3100:3100
|
||||||
|
grpc_listen_port: 9096
|
||||||
|
http_listen_address: 0.0.0.0
|
||||||
|
grpc_listen_address: 0.0.0.0
|
||||||
|
|
||||||
|
common:
|
||||||
|
instance_addr: 0.0.0.0
|
||||||
|
path_prefix: /loki
|
||||||
|
storage:
|
||||||
|
filesystem:
|
||||||
|
chunks_directory: /loki/chunks
|
||||||
|
rules_directory: /loki/rules
|
||||||
|
replication_factor: 1
|
||||||
|
ring:
|
||||||
|
kvstore:
|
||||||
|
store: inmemory
|
||||||
|
|
||||||
|
schema_config:
|
||||||
|
configs:
|
||||||
|
- from: 2020-10-24
|
||||||
|
store: tsdb
|
||||||
|
object_store: filesystem
|
||||||
|
schema: v13
|
||||||
|
index:
|
||||||
|
prefix: index_
|
||||||
|
period: 24h
|
||||||
|
|
||||||
|
ruler:
|
||||||
|
alertmanager_url: http://localhost:3100:3100
|
||||||
|
|
||||||
|
# Configuration de l'ingester - SEULEMENT le paramètre crucial
|
||||||
|
ingester:
|
||||||
|
lifecycler:
|
||||||
|
min_ready_duration: 5s # Réduit le délai de 15s à 5s
|
||||||
|
|
||||||
|
# Configuration des limites
|
||||||
|
limits_config:
|
||||||
|
reject_old_samples: true
|
||||||
|
reject_old_samples_max_age: 168h
|
||||||
|
max_cache_freshness_per_query: 10m
|
||||||
|
split_queries_by_interval: 15m
|
||||||
|
max_query_parallelism: 32
|
||||||
|
max_streams_per_user: 0
|
||||||
|
max_line_size: 256000
|
||||||
|
ingestion_rate_mb: 16
|
||||||
|
ingestion_burst_size_mb: 32
|
||||||
|
per_stream_rate_limit: 3MB
|
||||||
|
per_stream_rate_limit_burst: 15MB
|
||||||
|
max_entries_limit_per_query: 5000
|
||||||
|
max_query_series: 500
|
||||||
|
max_query_length: 721h
|
||||||
|
cardinality_limit: 100000
|
||||||
|
max_streams_matchers_per_query: 1000
|
||||||
|
max_concurrent_tail_requests: 10
|
||||||
|
|
||||||
|
# Configuration du storage
|
||||||
|
storage_config:
|
||||||
|
tsdb_shipper:
|
||||||
|
active_index_directory: /loki/tsdb-index
|
||||||
|
cache_location: /loki/tsdb-cache
|
||||||
|
filesystem:
|
||||||
|
directory: /loki/chunks
|
||||||
|
|
||||||
|
# Configuration du compactor
|
||||||
|
compactor:
|
||||||
|
working_directory: /loki/compactor
|
||||||
|
compaction_interval: 10m
|
||||||
|
retention_enabled: false
|
||||||
|
delete_request_store: filesystem
|
||||||
|
|
||||||
|
# Analytics désactivés
|
||||||
|
analytics:
|
||||||
|
reporting_enabled: false
|
||||||
@ -1,334 +1,107 @@
|
|||||||
server:
|
server:
|
||||||
http_listen_port: 9080
|
http_listen_port: 8090:8090
|
||||||
grpc_listen_port: 0
|
grpc_listen_port: 0
|
||||||
|
|
||||||
positions:
|
positions:
|
||||||
filename: /tmp/positions.yaml
|
filename: /tmp/positions.yaml
|
||||||
|
|
||||||
clients:
|
clients:
|
||||||
- url: http://loki:3100/loki/api/v1/push
|
- url: /loki/api/v1/push
|
||||||
|
|
||||||
scrape_configs:
|
scrape_configs:
|
||||||
|
# Bitcoin Signet Logs
|
||||||
- job_name: 'REDIS'
|
- job_name: bitcoin
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- localhost
|
- localhost
|
||||||
labels:
|
labels:
|
||||||
job: REDIS
|
job: bitcoin
|
||||||
__path__: $REDIS_LOGS_DIR/*.log
|
service: bitcoin-signet
|
||||||
pipeline_stages:
|
__path__: /*.log
|
||||||
- match:
|
|
||||||
selector: '{job="REDIS"}'
|
|
||||||
stages:
|
|
||||||
- regex:
|
|
||||||
expression: '^(?P<timestamp>\S+\s\S+)\s+(?P<level>\S+)\s+(?P<message>.*)'
|
|
||||||
- labels:
|
|
||||||
level:
|
|
||||||
- timestamp:
|
|
||||||
source: timestamp
|
|
||||||
format: '2006-01-02 15:04:05'
|
|
||||||
|
|
||||||
- job_name: 'POSTGRESQL'
|
# Blindbit Oracle Logs
|
||||||
|
- job_name: blindbit
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- localhost
|
- localhost
|
||||||
labels:
|
labels:
|
||||||
job: POSTGRESQL
|
job: blindbit
|
||||||
__path__: $POSTGRESQL_LOGS_DIR/*.log
|
service: blindbit-oracle
|
||||||
pipeline_stages:
|
__path__: /*.log
|
||||||
- match:
|
|
||||||
selector: '{job="POSTGRESQL"}'
|
|
||||||
stages:
|
|
||||||
- regex:
|
|
||||||
expression: '^(?P<timestamp>\S+\s\S+)\s+(?P<level>\S+)\s+(?P<message>.*)'
|
|
||||||
- labels:
|
|
||||||
level:
|
|
||||||
- timestamp:
|
|
||||||
source: timestamp
|
|
||||||
format: '2006-01-02 15:04:05'
|
|
||||||
|
|
||||||
- job_name: 'LOKI'
|
# SDK Relay Logs
|
||||||
|
- job_name: sdk_relay
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- localhost
|
- localhost
|
||||||
labels:
|
labels:
|
||||||
job: LOKI
|
job: sdk_relay
|
||||||
__path__: $LOKI_LOGS_DIR/*.log
|
service: sdk_relay
|
||||||
pipeline_stages:
|
__path__: /*.log
|
||||||
- match:
|
|
||||||
selector: '{job="LOKI"}'
|
|
||||||
stages:
|
|
||||||
- regex:
|
|
||||||
expression: '^(?P<timestamp>\S+\s\S+)\s+(?P<level>\S+)\s+(?P<message>.*)'
|
|
||||||
- labels:
|
|
||||||
level:
|
|
||||||
- timestamp:
|
|
||||||
source: timestamp
|
|
||||||
format: '2006-01-02 15:04:05'
|
|
||||||
|
|
||||||
- job_name: 'PROMTAIL'
|
# SDK Storage Logs
|
||||||
|
- job_name: sdk_storage
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- localhost
|
- localhost
|
||||||
labels:
|
labels:
|
||||||
job: PROMTAIL
|
job: sdk_storage
|
||||||
__path__: $PROMTAIL_LOGS_DIR/*.log
|
service: sdk_storage
|
||||||
pipeline_stages:
|
__path__: /*.log
|
||||||
- match:
|
|
||||||
selector: '{job="PROMTAIL"}'
|
|
||||||
stages:
|
|
||||||
- regex:
|
|
||||||
expression: '^(?P<timestamp>\S+\s\S+)\s+(?P<level>\S+)\s+(?P<message>.*)'
|
|
||||||
- labels:
|
|
||||||
level:
|
|
||||||
- timestamp:
|
|
||||||
source: timestamp
|
|
||||||
format: '2006-01-02 15:04:05'
|
|
||||||
|
|
||||||
- job_name: 'GRAFANA'
|
# LeCoffre Frontend Logs
|
||||||
|
- job_name: lecoffre-front
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- localhost
|
- localhost
|
||||||
labels:
|
labels:
|
||||||
job: GRAFANA
|
job: lecoffre-front
|
||||||
__path__: $GRAFANA_LOGS_DIR/*.log
|
service: lecoffre-front
|
||||||
pipeline_stages:
|
__path__: /*.log
|
||||||
- match:
|
|
||||||
selector: '{job="GRAFANA"}'
|
|
||||||
stages:
|
|
||||||
- regex:
|
|
||||||
expression: '^(?P<timestamp>\S+\s\S+)\s+(?P<level>\S+)\s+(?P<message>.*)'
|
|
||||||
- labels:
|
|
||||||
level:
|
|
||||||
- timestamp:
|
|
||||||
source: timestamp
|
|
||||||
format: '2006-01-02 15:04:05'
|
|
||||||
|
|
||||||
- job_name: 'NGNIX'
|
# IHM Client Logs
|
||||||
|
- job_name: ihm_client
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- localhost
|
- localhost
|
||||||
labels:
|
labels:
|
||||||
job: NGNIX
|
job: ihm_client
|
||||||
__path__: $NGNIX_LOGS_DIR/*.log
|
service: ihm_client
|
||||||
pipeline_stages:
|
__path__: /*.log
|
||||||
- match:
|
|
||||||
selector: '{job="NGNIX"}'
|
|
||||||
stages:
|
|
||||||
- regex:
|
|
||||||
expression: '^(?P<timestamp>\S+\s\S+)\s+(?P<level>\S+)\s+(?P<message>.*)'
|
|
||||||
- labels:
|
|
||||||
level:
|
|
||||||
- timestamp:
|
|
||||||
source: timestamp
|
|
||||||
format: '2006-01-02 15:04:05'
|
|
||||||
|
|
||||||
- job_name: 'TOR'
|
# Miner Logs
|
||||||
|
- job_name: miner
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- localhost
|
- localhost
|
||||||
labels:
|
labels:
|
||||||
job: TOR
|
job: miner
|
||||||
__path__: $TOR_LOGS_DIR/*.log
|
service: signet_miner
|
||||||
pipeline_stages:
|
__path__: /*.log
|
||||||
- match:
|
|
||||||
selector: '{job="TOR"}'
|
|
||||||
stages:
|
|
||||||
- regex:
|
|
||||||
expression: '^(?P<timestamp>\S+\s\S+)\s+(?P<level>\S+)\s+(?P<message>.*)'
|
|
||||||
- labels:
|
|
||||||
level:
|
|
||||||
- timestamp:
|
|
||||||
source: timestamp
|
|
||||||
format: '2006-01-02 15:04:05'
|
|
||||||
|
|
||||||
- job_name: '_4NK_VAULT'
|
# Tor Logs
|
||||||
|
- job_name: tor
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- localhost
|
- localhost
|
||||||
labels:
|
labels:
|
||||||
job: _4NK_VAULT
|
job: tor
|
||||||
__path__: $_4NK_VAULT_LOGS_DIR/*.log
|
service: tor-proxy
|
||||||
pipeline_stages:
|
__path__: /*.log
|
||||||
- match:
|
|
||||||
selector: '{job="_4NK_VAULT"}'
|
|
||||||
stages:
|
|
||||||
- regex:
|
|
||||||
expression: '^(?P<timestamp>\S+\s\S+)\s+(?P<level>\S+)\s+(?P<message>.*)'
|
|
||||||
- labels:
|
|
||||||
level:
|
|
||||||
- timestamp:
|
|
||||||
source: timestamp
|
|
||||||
format: '2006-01-02 15:04:05'
|
|
||||||
|
|
||||||
- job_name: 'BITCOIN'
|
# Docker Container Logs
|
||||||
static_configs:
|
- job_name: docker
|
||||||
- targets:
|
docker_sd_configs:
|
||||||
- localhost
|
- host: unix:///var/run/docker.sock
|
||||||
labels:
|
refresh_interval: 5s
|
||||||
job: BITCOIN
|
filters:
|
||||||
__path__: $BITCOIN_LOGS_DIR/*.log
|
- name: label
|
||||||
pipeline_stages:
|
values: ["com.centurylinklabs.watchtower.enable=true"]
|
||||||
- match:
|
relabel_configs:
|
||||||
selector: '{job="BITCOIN"}'
|
- source_labels: ['__meta_docker_container_name']
|
||||||
stages:
|
regex: '/?(.*)'
|
||||||
- regex:
|
target_label: 'container_name'
|
||||||
expression: '^(?P<timestamp>\S+\s\S+)\s+(?P<level>\S+)\s+(?P<message>.*)'
|
- source_labels: ['__meta_docker_container_log_stream']
|
||||||
- labels:
|
target_label: 'logstream'
|
||||||
level:
|
- source_labels: ['__meta_docker_container_label_logging_job_name']
|
||||||
- timestamp:
|
target_label: 'job'
|
||||||
source: timestamp
|
|
||||||
format: '2006-01-02 15:04:05'
|
|
||||||
|
|
||||||
- job_name: 'BLINDBIT_ORACLE'
|
|
||||||
static_configs:
|
|
||||||
- targets:
|
|
||||||
- localhost
|
|
||||||
labels:
|
|
||||||
job: BLINDBIT_ORACLE
|
|
||||||
__path__: $BLINDBIT_ORACLE_LOGS_DIR/*.log
|
|
||||||
pipeline_stages:
|
|
||||||
- match:
|
|
||||||
selector: '{job="BLINDBIT_ORACLE"}'
|
|
||||||
stages:
|
|
||||||
- regex:
|
|
||||||
expression: '^(?P<timestamp>\S+\s\S+)\s+(?P<level>\S+)\s+(?P<message>.*)'
|
|
||||||
- labels:
|
|
||||||
level:
|
|
||||||
- timestamp:
|
|
||||||
source: timestamp
|
|
||||||
format: '2006-01-02 15:04:05'
|
|
||||||
|
|
||||||
- job_name: 'SDK_RELAY'
|
|
||||||
static_configs:
|
|
||||||
- targets:
|
|
||||||
- localhost
|
|
||||||
labels:
|
|
||||||
job: SDK_RELAY
|
|
||||||
__path__: $SDK_RELAY_LOGS_DIR/*.log
|
|
||||||
pipeline_stages:
|
|
||||||
- match:
|
|
||||||
selector: '{job="SDK_RELAY"}'
|
|
||||||
stages:
|
|
||||||
- regex:
|
|
||||||
expression: '^(?P<timestamp>\S+\s\S+)\s+(?P<level>\S+)\s+(?P<message>.*)'
|
|
||||||
- labels:
|
|
||||||
level:
|
|
||||||
- timestamp:
|
|
||||||
source: timestamp
|
|
||||||
format: '2006-01-02 15:04:05'
|
|
||||||
|
|
||||||
- job_name: 'SDK_STORAGE'
|
|
||||||
static_configs:
|
|
||||||
- targets:
|
|
||||||
- localhost
|
|
||||||
labels:
|
|
||||||
job: SDK_STORAGE
|
|
||||||
__path__: $SDK_STORAGE_LOGS_DIR/*.log
|
|
||||||
pipeline_stages:
|
|
||||||
- match:
|
|
||||||
selector: '{job="SDK_STORAGE"}'
|
|
||||||
stages:
|
|
||||||
- regex:
|
|
||||||
expression: '^(?P<timestamp>\S+\s\S+)\s+(?P<level>\S+)\s+(?P<message>.*)'
|
|
||||||
- labels:
|
|
||||||
level:
|
|
||||||
- timestamp:
|
|
||||||
source: timestamp
|
|
||||||
format: '2006-01-02 15:04:05'
|
|
||||||
|
|
||||||
- job_name: 'IHM_CLIENT'
|
|
||||||
static_configs:
|
|
||||||
- targets:
|
|
||||||
- localhost
|
|
||||||
labels:
|
|
||||||
job: IHM_CLIENT
|
|
||||||
__path__: $IHM_CLIENT_LOGS_DIR/*.log
|
|
||||||
pipeline_stages:
|
|
||||||
- match:
|
|
||||||
selector: '{job="IHM_CLIENT"}'
|
|
||||||
stages:
|
|
||||||
- regex:
|
|
||||||
expression: '^(?P<timestamp>\S+\s\S+)\s+(?P<level>\S+)\s+(?P<message>.*)'
|
|
||||||
- labels:
|
|
||||||
level:
|
|
||||||
- timestamp:
|
|
||||||
source: timestamp
|
|
||||||
format: '2006-01-02 15:04:05'
|
|
||||||
|
|
||||||
- job_name: '_4NK_CERTIFICATOR'
|
|
||||||
static_configs:
|
|
||||||
- targets:
|
|
||||||
- localhost
|
|
||||||
labels:
|
|
||||||
job: _4NK_CERTIFICATOR
|
|
||||||
__path__: $_4NK_CERTIFICATOR_LOGS_DIR/*.log
|
|
||||||
pipeline_stages:
|
|
||||||
- match:
|
|
||||||
selector: '{job="_4NK_CERTIFICATOR"}'
|
|
||||||
stages:
|
|
||||||
- regex:
|
|
||||||
expression: '^(?P<timestamp>\S+\s\S+)\s+(?P<level>\S+)\s+(?P<message>.*)'
|
|
||||||
- labels:
|
|
||||||
level:
|
|
||||||
- timestamp:
|
|
||||||
source: timestamp
|
|
||||||
format: '2006-01-02 15:04:05'
|
|
||||||
|
|
||||||
- job_name: '_4NK_MINER'
|
|
||||||
static_configs:
|
|
||||||
- targets:
|
|
||||||
- localhost
|
|
||||||
labels:
|
|
||||||
job: _4NK_MINER
|
|
||||||
__path__: $_4NK_MINER_LOGS_DIR/*.log
|
|
||||||
pipeline_stages:
|
|
||||||
- match:
|
|
||||||
selector: '{job="_4NK_MINER"}'
|
|
||||||
stages:
|
|
||||||
- regex:
|
|
||||||
expression: '^(?P<timestamp>\S+\s\S+)\s+(?P<level>\S+)\s+(?P<message>.*)'
|
|
||||||
- labels:
|
|
||||||
level:
|
|
||||||
- timestamp:
|
|
||||||
source: timestamp
|
|
||||||
format: '2006-01-02 15:04:05'
|
|
||||||
|
|
||||||
- job_name: 'LECOFFRE_FRONT'
|
|
||||||
static_configs:
|
|
||||||
- targets:
|
|
||||||
- localhost
|
|
||||||
labels:
|
|
||||||
job: LECOFFRE_FRONT
|
|
||||||
__path__: $LECOFFRE_FRONT_LOGS_DIR/*.log
|
|
||||||
pipeline_stages:
|
|
||||||
- match:
|
|
||||||
selector: '{job="LECOFFRE_FRONT"}'
|
|
||||||
stages:
|
|
||||||
- regex:
|
|
||||||
expression: '^(?P<timestamp>\S+\s\S+)\s+(?P<level>\S+)\s+(?P<message>.*)'
|
|
||||||
- labels:
|
|
||||||
level:
|
|
||||||
- timestamp:
|
|
||||||
source: timestamp
|
|
||||||
format: '2006-01-02 15:04:05'
|
|
||||||
|
|
||||||
- job_name: '_4NK_WEB_STATUS'
|
|
||||||
static_configs:
|
|
||||||
- targets:
|
|
||||||
- localhost
|
|
||||||
labels:
|
|
||||||
job: _4NK_WEB_STATUS
|
|
||||||
__path__: $_4NK_WEB_STATUS_LOGS_DIR/*.log
|
|
||||||
pipeline_stages:
|
|
||||||
- match:
|
|
||||||
selector: '{job="_4NK_WEB_STATUS"}'
|
|
||||||
stages:
|
|
||||||
- regex:
|
|
||||||
expression: '^(?P<timestamp>\S+\s\S+)\s+(?P<level>\S+)\s+(?P<message>.*)'
|
|
||||||
- labels:
|
|
||||||
level:
|
|
||||||
- timestamp:
|
|
||||||
source: timestamp
|
|
||||||
format: '2006-01-02 15:04:05'
|
|
||||||
|
|||||||
16
storage/dev/_4NK_modules/sdk_relay/.conf
Normal file
16
storage/dev/_4NK_modules/sdk_relay/.conf
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
core_url=""
|
||||||
|
ws_url=""
|
||||||
|
wallet_name="default"
|
||||||
|
network="signet"
|
||||||
|
blindbit_url=""
|
||||||
|
zmq_url=
|
||||||
|
storage=
|
||||||
|
data_dir=
|
||||||
|
bitcoin_data_dir=
|
||||||
|
bootstrap_url=
|
||||||
|
bootstrap_faucet=true
|
||||||
|
RUST_LOG="DEBUG,reqwest=DEBUG,tokio_tungstenite=DEBUG"
|
||||||
|
NODE_OPTIONS="--max-old-space-size=2048"
|
||||||
|
|
||||||
|
SIGNER_API_KEY="your-api-key-change-this"
|
||||||
|
VITE_JWT_SECRET_KEY="52b3d77617bb00982dfee15b08effd52cfe5b2e69b2f61cc4848cfe1e98c0bc9"
|
||||||
@ -2,511 +2,511 @@
|
|||||||
services:
|
services:
|
||||||
|
|
||||||
|
|
||||||
$REDIS_DOCKER_NAME:
|
:
|
||||||
image: $REDIS_DOCKER_IMAGE
|
image:
|
||||||
container_name: $REDIS_DOCKER_NAME
|
container_name:
|
||||||
working_dir: /$REDIS_DOCKER_NAME
|
working_dir: /
|
||||||
ports:
|
ports:
|
||||||
- "0.0.0.0:$REDIS_EXTERNAL_PORT"
|
- "0.0.0.0:"
|
||||||
- "0.0.0.0:$REDIS_PORT"
|
- "0.0.0.0:6379:6379"
|
||||||
- "0.0.0.0:$REDIS_PORT2"
|
- "0.0.0.0:"
|
||||||
- "0.0.0.0:$REDIS_PORT3"
|
- "0.0.0.0:"
|
||||||
volumes:
|
volumes:
|
||||||
- $REDIS_CONFS_DIR:$REDIS_DOCKER_CONFS_DIR
|
- :
|
||||||
- $REDIS_LOGS_DIR:$REDIS_DOCKER_LOGS_DIR
|
- :
|
||||||
- $REDIS_RUNS_DIR:$REDIS_DOCKER_RUNS_DIR
|
- :
|
||||||
- $REDIS_DATAS_DIR:$REDIS_DOCKER_DATAS_DIR
|
- :
|
||||||
- $REDIS_BACKUPS_DIR:$REDIS_DOCKER_BACKUPS_DIR
|
- :
|
||||||
- $REDIS_SCRIPTS_DIR:$REDIS_DOCKER_SCRIPTS_DIR
|
- :
|
||||||
networks:
|
networks:
|
||||||
btcnet:
|
btcnet:
|
||||||
aliases:
|
aliases:
|
||||||
- $REDIS_DOCKER_NAME
|
-
|
||||||
user: root
|
user: root
|
||||||
entrypoint: \>
|
entrypoint: \>
|
||||||
/bin/sh -c "$REDIS_DOCKER_WORKING_DIR_CREATE"
|
/bin/sh -c ""
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "sh", "$LECONFFRE-FRONT_CONFS_DIR/healthcheck_$REDIS.sh"]
|
test: ["CMD", "sh", "-FRONT_CONFS_DIR/healthcheck_redis.sh"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 50
|
retries: 50
|
||||||
restart: unless-stopped"
|
restart: unless-stopped"
|
||||||
|
|
||||||
$POSTGRESQL_DOCKER_NAME:
|
:
|
||||||
image: $POSTGRESQL_DOCKER_IMAGE
|
image:
|
||||||
container_name: $POSTGRESQL_DOCKER_NAME
|
container_name:
|
||||||
working_dir: /$POSTGRESQL_DOCKER_NAME
|
working_dir: /
|
||||||
ports:
|
ports:
|
||||||
- "0.0.0.0:$POSTGRESQL_EXTERNAL_PORT"
|
- "0.0.0.0:"
|
||||||
- "0.0.0.0:$POSTGRESQL_PORT"
|
- "0.0.0.0:5432:5432"
|
||||||
- "0.0.0.0:$POSTGRESQL_PORT2"
|
- "0.0.0.0:"
|
||||||
- "0.0.0.0:$POSTGRESQL_PORT3"
|
- "0.0.0.0:"
|
||||||
volumes:
|
volumes:
|
||||||
- $POSTGRESQL_CONFS_DIR:$POSTGRESQL_DOCKER_CONFS_DIR
|
- :
|
||||||
- $POSTGRESQL_LOGS_DIR:$POSTGRESQL_DOCKER_LOGS_DIR
|
- :
|
||||||
- $POSTGRESQL_RUNS_DIR:$POSTGRESQL_DOCKER_RUNS_DIR
|
- :
|
||||||
- $POSTGRESQL_DATAS_DIR:$POSTGRESQL_DOCKER_DATAS_DIR
|
- :
|
||||||
- $POSTGRESQL_BACKUPS_DIR:$POSTGRESQL_DOCKER_BACKUPS_DIR
|
- :
|
||||||
- $POSTGRESQL_SCRIPTS_DIR:$POSTGRESQL_DOCKER_SCRIPTS_DIR
|
- :
|
||||||
networks:
|
networks:
|
||||||
btcnet:
|
btcnet:
|
||||||
aliases:
|
aliases:
|
||||||
- $POSTGRESQL_DOCKER_NAME
|
-
|
||||||
user: root
|
user: root
|
||||||
entrypoint: \>
|
entrypoint: \>
|
||||||
/bin/sh -c "$POSTGRESQL_DOCKER_WORKING_DIR_CREATE"
|
/bin/sh -c ""
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "sh", "$LECONFFRE-FRONT_CONFS_DIR/healthcheck_$POSTGRESQL.sh"]
|
test: ["CMD", "sh", "-FRONT_CONFS_DIR/healthcheck_postgresql.sh"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 50
|
retries: 50
|
||||||
restart: unless-stopped"
|
restart: unless-stopped"
|
||||||
|
|
||||||
$LOKI_DOCKER_NAME:
|
:
|
||||||
image: $LOKI_DOCKER_IMAGE
|
image:
|
||||||
container_name: $LOKI_DOCKER_NAME
|
container_name:
|
||||||
working_dir: /$LOKI_DOCKER_NAME
|
working_dir: /
|
||||||
ports:
|
ports:
|
||||||
- "0.0.0.0:$LOKI_EXTERNAL_PORT"
|
- "0.0.0.0:"
|
||||||
- "0.0.0.0:$LOKI_PORT"
|
- "0.0.0.0:3100:3100"
|
||||||
- "0.0.0.0:$LOKI_PORT2"
|
- "0.0.0.0:9096"
|
||||||
- "0.0.0.0:$LOKI_PORT3"
|
- "0.0.0.0:"
|
||||||
volumes:
|
volumes:
|
||||||
- $LOKI_CONFS_DIR:$LOKI_DOCKER_CONFS_DIR
|
- :
|
||||||
- $LOKI_LOGS_DIR:$LOKI_DOCKER_LOGS_DIR
|
- :
|
||||||
- $LOKI_RUNS_DIR:$LOKI_DOCKER_RUNS_DIR
|
- :
|
||||||
- $LOKI_DATAS_DIR:$LOKI_DOCKER_DATAS_DIR
|
- :
|
||||||
- $LOKI_BACKUPS_DIR:$LOKI_DOCKER_BACKUPS_DIR
|
- :
|
||||||
- $LOKI_SCRIPTS_DIR:$LOKI_DOCKER_SCRIPTS_DIR
|
- :
|
||||||
networks:
|
networks:
|
||||||
btcnet:
|
btcnet:
|
||||||
aliases:
|
aliases:
|
||||||
- $LOKI_DOCKER_NAME
|
-
|
||||||
user: root
|
user: root
|
||||||
entrypoint: \>
|
entrypoint: \>
|
||||||
/bin/sh -c "$LOKI_DOCKER_WORKING_DIR_CREATE"
|
/bin/sh -c ""
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "sh", "$LECONFFRE-FRONT_CONFS_DIR/healthcheck_$LOKI.sh"]
|
test: ["CMD", "sh", "-FRONT_CONFS_DIR/healthcheck_loki.sh"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 50
|
retries: 50
|
||||||
restart: unless-stopped"
|
restart: unless-stopped"
|
||||||
|
|
||||||
$PROMTAIL_DOCKER_NAME:
|
:
|
||||||
image: $PROMTAIL_DOCKER_IMAGE
|
image:
|
||||||
container_name: $PROMTAIL_DOCKER_NAME
|
container_name:
|
||||||
working_dir: /$PROMTAIL_DOCKER_NAME
|
working_dir: /
|
||||||
ports:
|
ports:
|
||||||
- "0.0.0.0:$PROMTAIL_EXTERNAL_PORT"
|
- "0.0.0.0:"
|
||||||
- "0.0.0.0:$PROMTAIL_PORT"
|
- "0.0.0.0:8090:8090"
|
||||||
- "0.0.0.0:$PROMTAIL_PORT2"
|
- "0.0.0.0:"
|
||||||
- "0.0.0.0:$PROMTAIL_PORT3"
|
- "0.0.0.0:"
|
||||||
volumes:
|
volumes:
|
||||||
- $PROMTAIL_CONFS_DIR:$PROMTAIL_DOCKER_CONFS_DIR
|
- :
|
||||||
- $PROMTAIL_LOGS_DIR:$PROMTAIL_DOCKER_LOGS_DIR
|
- :
|
||||||
- $PROMTAIL_RUNS_DIR:$PROMTAIL_DOCKER_RUNS_DIR
|
- :
|
||||||
- $PROMTAIL_DATAS_DIR:$PROMTAIL_DOCKER_DATAS_DIR
|
- :
|
||||||
- $PROMTAIL_BACKUPS_DIR:$PROMTAIL_DOCKER_BACKUPS_DIR
|
- :
|
||||||
- $PROMTAIL_SCRIPTS_DIR:$PROMTAIL_DOCKER_SCRIPTS_DIR
|
- :
|
||||||
networks:
|
networks:
|
||||||
btcnet:
|
btcnet:
|
||||||
aliases:
|
aliases:
|
||||||
- $PROMTAIL_DOCKER_NAME
|
-
|
||||||
user: root
|
user: root
|
||||||
entrypoint: \>
|
entrypoint: \>
|
||||||
/bin/sh -c "$PROMTAIL_DOCKER_WORKING_DIR_CREATE"
|
/bin/sh -c ""
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "sh", "$LECONFFRE-FRONT_CONFS_DIR/healthcheck_$PROMTAIL.sh"]
|
test: ["CMD", "sh", "-FRONT_CONFS_DIR/healthcheck_promtail.sh"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 50
|
retries: 50
|
||||||
restart: unless-stopped"
|
restart: unless-stopped"
|
||||||
|
|
||||||
$GRAFANA_DOCKER_NAME:
|
:
|
||||||
image: $GRAFANA_DOCKER_IMAGE
|
image:
|
||||||
container_name: $GRAFANA_DOCKER_NAME
|
container_name:
|
||||||
working_dir: /$GRAFANA_DOCKER_NAME
|
working_dir: /
|
||||||
ports:
|
ports:
|
||||||
- "0.0.0.0:$GRAFANA_EXTERNAL_PORT"
|
- "0.0.0.0:"
|
||||||
- "0.0.0.0:$GRAFANA_PORT"
|
- "0.0.0.0:3001:3001"
|
||||||
- "0.0.0.0:$GRAFANA_PORT2"
|
- "0.0.0.0:"
|
||||||
- "0.0.0.0:$GRAFANA_PORT3"
|
- "0.0.0.0:"
|
||||||
volumes:
|
volumes:
|
||||||
- $GRAFANA_CONFS_DIR:$GRAFANA_DOCKER_CONFS_DIR
|
- :
|
||||||
- $GRAFANA_LOGS_DIR:$GRAFANA_DOCKER_LOGS_DIR
|
- :
|
||||||
- $GRAFANA_RUNS_DIR:$GRAFANA_DOCKER_RUNS_DIR
|
- :
|
||||||
- $GRAFANA_DATAS_DIR:$GRAFANA_DOCKER_DATAS_DIR
|
- :
|
||||||
- $GRAFANA_BACKUPS_DIR:$GRAFANA_DOCKER_BACKUPS_DIR
|
- :
|
||||||
- $GRAFANA_SCRIPTS_DIR:$GRAFANA_DOCKER_SCRIPTS_DIR
|
- :
|
||||||
networks:
|
networks:
|
||||||
btcnet:
|
btcnet:
|
||||||
aliases:
|
aliases:
|
||||||
- $GRAFANA_DOCKER_NAME
|
-
|
||||||
user: root
|
user: root
|
||||||
entrypoint: \>
|
entrypoint: \>
|
||||||
/bin/sh -c "$GRAFANA_DOCKER_WORKING_DIR_CREATE"
|
/bin/sh -c ""
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "sh", "$LECONFFRE-FRONT_CONFS_DIR/healthcheck_$GRAFANA.sh"]
|
test: ["CMD", "sh", "-FRONT_CONFS_DIR/healthcheck_grafana.sh"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 50
|
retries: 50
|
||||||
restart: unless-stopped"
|
restart: unless-stopped"
|
||||||
|
|
||||||
$NGNIX_DOCKER_NAME:
|
:
|
||||||
image: $NGNIX_DOCKER_IMAGE
|
image:
|
||||||
container_name: $NGNIX_DOCKER_NAME
|
container_name:
|
||||||
working_dir: /$NGNIX_DOCKER_NAME
|
working_dir: /
|
||||||
ports:
|
ports:
|
||||||
- "0.0.0.0:$NGNIX_EXTERNAL_PORT"
|
- "0.0.0.0:"
|
||||||
- "0.0.0.0:$NGNIX_PORT"
|
- "0.0.0.0:"
|
||||||
- "0.0.0.0:$NGNIX_PORT2"
|
- "0.0.0.0:"
|
||||||
- "0.0.0.0:$NGNIX_PORT3"
|
- "0.0.0.0:"
|
||||||
volumes:
|
volumes:
|
||||||
- $NGNIX_CONFS_DIR:$NGNIX_DOCKER_CONFS_DIR
|
- :
|
||||||
- $NGNIX_LOGS_DIR:$NGNIX_DOCKER_LOGS_DIR
|
- :
|
||||||
- $NGNIX_RUNS_DIR:$NGNIX_DOCKER_RUNS_DIR
|
- :
|
||||||
- $NGNIX_DATAS_DIR:$NGNIX_DOCKER_DATAS_DIR
|
- :
|
||||||
- $NGNIX_BACKUPS_DIR:$NGNIX_DOCKER_BACKUPS_DIR
|
- :
|
||||||
- $NGNIX_SCRIPTS_DIR:$NGNIX_DOCKER_SCRIPTS_DIR
|
- :
|
||||||
networks:
|
networks:
|
||||||
btcnet:
|
btcnet:
|
||||||
aliases:
|
aliases:
|
||||||
- $NGNIX_DOCKER_NAME
|
-
|
||||||
user: root
|
user: root
|
||||||
entrypoint: \>
|
entrypoint: \>
|
||||||
/bin/sh -c "$NGNIX_DOCKER_WORKING_DIR_CREATE"
|
/bin/sh -c ""
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "sh", "$LECONFFRE-FRONT_CONFS_DIR/healthcheck_$NGNIX.sh"]
|
test: ["CMD", "sh", "-FRONT_CONFS_DIR/healthcheck_.sh"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 50
|
retries: 50
|
||||||
restart: unless-stopped"
|
restart: unless-stopped"
|
||||||
|
|
||||||
$TOR_DOCKER_NAME:
|
:
|
||||||
image: $TOR_DOCKER_IMAGE
|
image:
|
||||||
container_name: $TOR_DOCKER_NAME
|
container_name:
|
||||||
working_dir: /$TOR_DOCKER_NAME
|
working_dir: /
|
||||||
ports:
|
ports:
|
||||||
- "0.0.0.0:$TOR_EXTERNAL_PORT"
|
- "0.0.0.0:"
|
||||||
- "0.0.0.0:$TOR_PORT"
|
- "0.0.0.0:9050:9050"
|
||||||
- "0.0.0.0:$TOR_PORT2"
|
- "0.0.0.0:"
|
||||||
- "0.0.0.0:$TOR_PORT3"
|
- "0.0.0.0:"
|
||||||
volumes:
|
volumes:
|
||||||
- $TOR_CONFS_DIR:$TOR_DOCKER_CONFS_DIR
|
- :
|
||||||
- $TOR_LOGS_DIR:$TOR_DOCKER_LOGS_DIR
|
- :
|
||||||
- $TOR_RUNS_DIR:$TOR_DOCKER_RUNS_DIR
|
- :
|
||||||
- $TOR_DATAS_DIR:$TOR_DOCKER_DATAS_DIR
|
- :
|
||||||
- $TOR_BACKUPS_DIR:$TOR_DOCKER_BACKUPS_DIR
|
- :
|
||||||
- $TOR_SCRIPTS_DIR:$TOR_DOCKER_SCRIPTS_DIR
|
- :
|
||||||
networks:
|
networks:
|
||||||
btcnet:
|
btcnet:
|
||||||
aliases:
|
aliases:
|
||||||
- $TOR_DOCKER_NAME
|
-
|
||||||
user: root
|
user: root
|
||||||
entrypoint: \>
|
entrypoint: \>
|
||||||
/bin/sh -c "$TOR_DOCKER_WORKING_DIR_CREATE"
|
/bin/sh -c ""
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "sh", "$LECONFFRE-FRONT_CONFS_DIR/healthcheck_$TOR.sh"]
|
test: ["CMD", "sh", "-FRONT_CONFS_DIR/healthcheck_tor-proxy.sh"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 50
|
retries: 50
|
||||||
restart: unless-stopped"
|
restart: unless-stopped"
|
||||||
|
|
||||||
$_4NK_VAULT_DOCKER_NAME:
|
:
|
||||||
image: $_4NK_VAULT_DOCKER_IMAGE
|
image:
|
||||||
container_name: $_4NK_VAULT_DOCKER_NAME
|
container_name:
|
||||||
working_dir: /$_4NK_VAULT_DOCKER_NAME
|
working_dir: /
|
||||||
ports:
|
ports:
|
||||||
- "0.0.0.0:$_4NK_VAULT_EXTERNAL_PORT"
|
- "0.0.0.0:"
|
||||||
- "0.0.0.0:$_4NK_VAULT_PORT"
|
- "0.0.0.0:"
|
||||||
- "0.0.0.0:$_4NK_VAULT_PORT2"
|
- "0.0.0.0:"
|
||||||
- "0.0.0.0:$_4NK_VAULT_PORT3"
|
- "0.0.0.0:"
|
||||||
volumes:
|
volumes:
|
||||||
- $_4NK_VAULT_CONFS_DIR:$_4NK_VAULT_DOCKER_CONFS_DIR
|
- :
|
||||||
- $_4NK_VAULT_LOGS_DIR:$_4NK_VAULT_DOCKER_LOGS_DIR
|
- :
|
||||||
- $_4NK_VAULT_RUNS_DIR:$_4NK_VAULT_DOCKER_RUNS_DIR
|
- :
|
||||||
- $_4NK_VAULT_DATAS_DIR:$_4NK_VAULT_DOCKER_DATAS_DIR
|
- :
|
||||||
- $_4NK_VAULT_BACKUPS_DIR:$_4NK_VAULT_DOCKER_BACKUPS_DIR
|
- :
|
||||||
- $_4NK_VAULT_SCRIPTS_DIR:$_4NK_VAULT_DOCKER_SCRIPTS_DIR
|
- :
|
||||||
networks:
|
networks:
|
||||||
btcnet:
|
btcnet:
|
||||||
aliases:
|
aliases:
|
||||||
- $_4NK_VAULT_DOCKER_NAME
|
-
|
||||||
user: root
|
user: root
|
||||||
entrypoint: \>
|
entrypoint: \>
|
||||||
/bin/sh -c "$_4NK_VAULT_DOCKER_WORKING_DIR_CREATE"
|
/bin/sh -c ""
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "sh", "$LECONFFRE-FRONT_CONFS_DIR/healthcheck_$_4NK_VAULT.sh"]
|
test: ["CMD", "sh", "-FRONT_CONFS_DIR/healthcheck__4NK_vault.sh"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 50
|
retries: 50
|
||||||
restart: unless-stopped"
|
restart: unless-stopped"
|
||||||
|
|
||||||
$BITCOIN_DOCKER_NAME:
|
:
|
||||||
image: $BITCOIN_DOCKER_IMAGE
|
image:
|
||||||
container_name: $BITCOIN_DOCKER_NAME
|
container_name:
|
||||||
working_dir: /$BITCOIN_DOCKER_NAME
|
working_dir: /
|
||||||
ports:
|
ports:
|
||||||
- "0.0.0.0:$BITCOIN_EXTERNAL_PORT"
|
- "0.0.0.0:38333:38333"
|
||||||
- "0.0.0.0:$BITCOIN_PORT"
|
- "0.0.0.0:38332:38332"
|
||||||
- "0.0.0.0:$BITCOIN_PORT2"
|
- "0.0.0.0:29001:29001"
|
||||||
- "0.0.0.0:$BITCOIN_PORT3"
|
- "0.0.0.0:29000:29000"
|
||||||
volumes:
|
volumes:
|
||||||
- $BITCOIN_CONFS_DIR:$BITCOIN_DOCKER_CONFS_DIR
|
- :
|
||||||
- $BITCOIN_LOGS_DIR:$BITCOIN_DOCKER_LOGS_DIR
|
- :
|
||||||
- $BITCOIN_RUNS_DIR:$BITCOIN_DOCKER_RUNS_DIR
|
- :
|
||||||
- $BITCOIN_DATAS_DIR:$BITCOIN_DOCKER_DATAS_DIR
|
- /home/debian/_4NK_env/projects/lecoffre/lecoffre_node/datas/bitcoin:
|
||||||
- $BITCOIN_BACKUPS_DIR:$BITCOIN_DOCKER_BACKUPS_DIR
|
- :
|
||||||
- $BITCOIN_SCRIPTS_DIR:$BITCOIN_DOCKER_SCRIPTS_DIR
|
- :
|
||||||
networks:
|
networks:
|
||||||
btcnet:
|
btcnet:
|
||||||
aliases:
|
aliases:
|
||||||
- $BITCOIN_DOCKER_NAME
|
-
|
||||||
user: root
|
user: root
|
||||||
entrypoint: \>
|
entrypoint: \>
|
||||||
/bin/sh -c "$BITCOIN_DOCKER_WORKING_DIR_CREATE"
|
/bin/sh -c ""
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "sh", "$LECONFFRE-FRONT_CONFS_DIR/healthcheck_$BITCOIN.sh"]
|
test: ["CMD", "sh", "-FRONT_CONFS_DIR/healthcheck_bitcoin.sh"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 50
|
retries: 50
|
||||||
restart: unless-stopped"
|
restart: unless-stopped"
|
||||||
|
|
||||||
$BLINDBIT_ORACLE_DOCKER_NAME:
|
:
|
||||||
image: $BLINDBIT_ORACLE_DOCKER_IMAGE
|
image:
|
||||||
container_name: $BLINDBIT_ORACLE_DOCKER_NAME
|
container_name:
|
||||||
working_dir: /$BLINDBIT_ORACLE_DOCKER_NAME
|
working_dir: /
|
||||||
ports:
|
ports:
|
||||||
- "0.0.0.0:$BLINDBIT_ORACLE_EXTERNAL_PORT"
|
- "0.0.0.0:"
|
||||||
- "0.0.0.0:$BLINDBIT_ORACLE_PORT"
|
- "0.0.0.0:8000:8000"
|
||||||
- "0.0.0.0:$BLINDBIT_ORACLE_PORT2"
|
- "0.0.0.0:"
|
||||||
- "0.0.0.0:$BLINDBIT_ORACLE_PORT3"
|
- "0.0.0.0:"
|
||||||
volumes:
|
volumes:
|
||||||
- $BLINDBIT_ORACLE_CONFS_DIR:$BLINDBIT_ORACLE_DOCKER_CONFS_DIR
|
- :
|
||||||
- $BLINDBIT_ORACLE_LOGS_DIR:$BLINDBIT_ORACLE_DOCKER_LOGS_DIR
|
- :
|
||||||
- $BLINDBIT_ORACLE_RUNS_DIR:$BLINDBIT_ORACLE_DOCKER_RUNS_DIR
|
- :
|
||||||
- $BLINDBIT_ORACLE_DATAS_DIR:$BLINDBIT_ORACLE_DOCKER_DATAS_DIR
|
- :
|
||||||
- $BLINDBIT_ORACLE_BACKUPS_DIR:$BLINDBIT_ORACLE_DOCKER_BACKUPS_DIR
|
- :
|
||||||
- $BLINDBIT_ORACLE_SCRIPTS_DIR:$BLINDBIT_ORACLE_DOCKER_SCRIPTS_DIR
|
- :
|
||||||
networks:
|
networks:
|
||||||
btcnet:
|
btcnet:
|
||||||
aliases:
|
aliases:
|
||||||
- $BLINDBIT_ORACLE_DOCKER_NAME
|
-
|
||||||
user: root
|
user: root
|
||||||
entrypoint: \>
|
entrypoint: \>
|
||||||
/bin/sh -c "$BLINDBIT_ORACLE_DOCKER_WORKING_DIR_CREATE"
|
/bin/sh -c ""
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "sh", "$LECONFFRE-FRONT_CONFS_DIR/healthcheck_$BLINDBIT_ORACLE.sh"]
|
test: ["CMD", "sh", "-FRONT_CONFS_DIR/healthcheck_blindbit-oracle.sh"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 50
|
retries: 50
|
||||||
restart: unless-stopped"
|
restart: unless-stopped"
|
||||||
|
|
||||||
$SDK_RELAY_DOCKER_NAME:
|
:
|
||||||
image: $SDK_RELAY_DOCKER_IMAGE
|
image:
|
||||||
container_name: $SDK_RELAY_DOCKER_NAME
|
container_name:
|
||||||
working_dir: /$SDK_RELAY_DOCKER_NAME
|
working_dir: /
|
||||||
ports:
|
ports:
|
||||||
- "0.0.0.0:$SDK_RELAY_EXTERNAL_PORT"
|
- "0.0.0.0:"
|
||||||
- "0.0.0.0:$SDK_RELAY_PORT"
|
- "0.0.0.0:8080:8080"
|
||||||
- "0.0.0.0:$SDK_RELAY_PORT2"
|
- "0.0.0.0:"
|
||||||
- "0.0.0.0:$SDK_RELAY_PORT3"
|
- "0.0.0.0:"
|
||||||
volumes:
|
volumes:
|
||||||
- $SDK_RELAY_CONFS_DIR:$SDK_RELAY_DOCKER_CONFS_DIR
|
- :
|
||||||
- $SDK_RELAY_LOGS_DIR:$SDK_RELAY_DOCKER_LOGS_DIR
|
- :
|
||||||
- $SDK_RELAY_RUNS_DIR:$SDK_RELAY_DOCKER_RUNS_DIR
|
- :
|
||||||
- $SDK_RELAY_DATAS_DIR:$SDK_RELAY_DOCKER_DATAS_DIR
|
- :
|
||||||
- $SDK_RELAY_BACKUPS_DIR:$SDK_RELAY_DOCKER_BACKUPS_DIR
|
- :
|
||||||
- $SDK_RELAY_SCRIPTS_DIR:$SDK_RELAY_DOCKER_SCRIPTS_DIR
|
- :
|
||||||
networks:
|
networks:
|
||||||
btcnet:
|
btcnet:
|
||||||
aliases:
|
aliases:
|
||||||
- $SDK_RELAY_DOCKER_NAME
|
-
|
||||||
user: root
|
user: root
|
||||||
entrypoint: \>
|
entrypoint: \>
|
||||||
/bin/sh -c "$SDK_RELAY_DOCKER_WORKING_DIR_CREATE"
|
/bin/sh -c ""
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "sh", "$LECONFFRE-FRONT_CONFS_DIR/healthcheck_$SDK_RELAY.sh"]
|
test: ["CMD", "sh", "-FRONT_CONFS_DIR/healthcheck_sdk_relay.sh"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 50
|
retries: 50
|
||||||
restart: unless-stopped"
|
restart: unless-stopped"
|
||||||
|
|
||||||
$SDK_STORAGE_DOCKER_NAME:
|
:
|
||||||
image: $SDK_STORAGE_DOCKER_IMAGE
|
image:
|
||||||
container_name: $SDK_STORAGE_DOCKER_NAME
|
container_name:
|
||||||
working_dir: /$SDK_STORAGE_DOCKER_NAME
|
working_dir: /
|
||||||
ports:
|
ports:
|
||||||
- "0.0.0.0:$SDK_STORAGE_EXTERNAL_PORT"
|
- "0.0.0.0:"
|
||||||
- "0.0.0.0:$SDK_STORAGE_PORT"
|
- "0.0.0.0:8081:8081"
|
||||||
- "0.0.0.0:$SDK_STORAGE_PORT2"
|
- "0.0.0.0:"
|
||||||
- "0.0.0.0:$SDK_STORAGE_PORT3"
|
- "0.0.0.0:"
|
||||||
volumes:
|
volumes:
|
||||||
- $SDK_STORAGE_CONFS_DIR:$SDK_STORAGE_DOCKER_CONFS_DIR
|
- :
|
||||||
- $SDK_STORAGE_LOGS_DIR:$SDK_STORAGE_DOCKER_LOGS_DIR
|
- :
|
||||||
- $SDK_STORAGE_RUNS_DIR:$SDK_STORAGE_DOCKER_RUNS_DIR
|
- :
|
||||||
- $SDK_STORAGE_DATAS_DIR:$SDK_STORAGE_DOCKER_DATAS_DIR
|
- :
|
||||||
- $SDK_STORAGE_BACKUPS_DIR:$SDK_STORAGE_DOCKER_BACKUPS_DIR
|
- :
|
||||||
- $SDK_STORAGE_SCRIPTS_DIR:$SDK_STORAGE_DOCKER_SCRIPTS_DIR
|
- :
|
||||||
networks:
|
networks:
|
||||||
btcnet:
|
btcnet:
|
||||||
aliases:
|
aliases:
|
||||||
- $SDK_STORAGE_DOCKER_NAME
|
-
|
||||||
user: root
|
user: root
|
||||||
entrypoint: \>
|
entrypoint: \>
|
||||||
/bin/sh -c "$SDK_STORAGE_DOCKER_WORKING_DIR_CREATE"
|
/bin/sh -c ""
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "sh", "$LECONFFRE-FRONT_CONFS_DIR/healthcheck_$SDK_STORAGE.sh"]
|
test: ["CMD", "sh", "-FRONT_CONFS_DIR/healthcheck_sdk_storage.sh"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 50
|
retries: 50
|
||||||
restart: unless-stopped"
|
restart: unless-stopped"
|
||||||
|
|
||||||
$IHM_CLIENT_DOCKER_NAME:
|
:
|
||||||
image: $IHM_CLIENT_DOCKER_IMAGE
|
image:
|
||||||
container_name: $IHM_CLIENT_DOCKER_NAME
|
container_name:
|
||||||
working_dir: /$IHM_CLIENT_DOCKER_NAME
|
working_dir: /
|
||||||
ports:
|
ports:
|
||||||
- "0.0.0.0:$IHM_CLIENT_EXTERNAL_PORT"
|
- "0.0.0.0:"
|
||||||
- "0.0.0.0:$IHM_CLIENT_PORT"
|
- "0.0.0.0:3003:3003"
|
||||||
- "0.0.0.0:$IHM_CLIENT_PORT2"
|
- "0.0.0.0:"
|
||||||
- "0.0.0.0:$IHM_CLIENT_PORT3"
|
- "0.0.0.0:"
|
||||||
volumes:
|
volumes:
|
||||||
- $IHM_CLIENT_CONFS_DIR:$IHM_CLIENT_DOCKER_CONFS_DIR
|
- :
|
||||||
- $IHM_CLIENT_LOGS_DIR:$IHM_CLIENT_DOCKER_LOGS_DIR
|
- :
|
||||||
- $IHM_CLIENT_RUNS_DIR:$IHM_CLIENT_DOCKER_RUNS_DIR
|
- :
|
||||||
- $IHM_CLIENT_DATAS_DIR:$IHM_CLIENT_DOCKER_DATAS_DIR
|
- :
|
||||||
- $IHM_CLIENT_BACKUPS_DIR:$IHM_CLIENT_DOCKER_BACKUPS_DIR
|
- :
|
||||||
- $IHM_CLIENT_SCRIPTS_DIR:$IHM_CLIENT_DOCKER_SCRIPTS_DIR
|
- :
|
||||||
networks:
|
networks:
|
||||||
btcnet:
|
btcnet:
|
||||||
aliases:
|
aliases:
|
||||||
- $IHM_CLIENT_DOCKER_NAME
|
-
|
||||||
user: root
|
user: root
|
||||||
entrypoint: \>
|
entrypoint: \>
|
||||||
/bin/sh -c "$IHM_CLIENT_DOCKER_WORKING_DIR_CREATE"
|
/bin/sh -c ""
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "sh", "$LECONFFRE-FRONT_CONFS_DIR/healthcheck_$IHM_CLIENT.sh"]
|
test: ["CMD", "sh", "-FRONT_CONFS_DIR/healthcheck_ihm_client.sh"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 50
|
retries: 50
|
||||||
restart: unless-stopped"
|
restart: unless-stopped"
|
||||||
|
|
||||||
$_4NK_CERTIFICATOR_DOCKER_NAME:
|
:
|
||||||
image: $_4NK_CERTIFICATOR_DOCKER_IMAGE
|
image:
|
||||||
container_name: $_4NK_CERTIFICATOR_DOCKER_NAME
|
container_name:
|
||||||
working_dir: /$_4NK_CERTIFICATOR_DOCKER_NAME
|
working_dir: /
|
||||||
ports:
|
ports:
|
||||||
- "0.0.0.0:$_4NK_CERTIFICATOR_EXTERNAL_PORT"
|
- "0.0.0.0:"
|
||||||
- "0.0.0.0:$_4NK_CERTIFICATOR_PORT"
|
- "0.0.0.0:8082:8082"
|
||||||
- "0.0.0.0:$_4NK_CERTIFICATOR_PORT2"
|
- "0.0.0.0:"
|
||||||
- "0.0.0.0:$_4NK_CERTIFICATOR_PORT3"
|
- "0.0.0.0:"
|
||||||
volumes:
|
volumes:
|
||||||
- $_4NK_CERTIFICATOR_CONFS_DIR:$_4NK_CERTIFICATOR_DOCKER_CONFS_DIR
|
- :
|
||||||
- $_4NK_CERTIFICATOR_LOGS_DIR:$_4NK_CERTIFICATOR_DOCKER_LOGS_DIR
|
- :
|
||||||
- $_4NK_CERTIFICATOR_RUNS_DIR:$_4NK_CERTIFICATOR_DOCKER_RUNS_DIR
|
- :
|
||||||
- $_4NK_CERTIFICATOR_DATAS_DIR:$_4NK_CERTIFICATOR_DOCKER_DATAS_DIR
|
- :
|
||||||
- $_4NK_CERTIFICATOR_BACKUPS_DIR:$_4NK_CERTIFICATOR_DOCKER_BACKUPS_DIR
|
- :
|
||||||
- $_4NK_CERTIFICATOR_SCRIPTS_DIR:$_4NK_CERTIFICATOR_DOCKER_SCRIPTS_DIR
|
- :
|
||||||
networks:
|
networks:
|
||||||
btcnet:
|
btcnet:
|
||||||
aliases:
|
aliases:
|
||||||
- $_4NK_CERTIFICATOR_DOCKER_NAME
|
-
|
||||||
user: root
|
user: root
|
||||||
entrypoint: \>
|
entrypoint: \>
|
||||||
/bin/sh -c "$_4NK_CERTIFICATOR_DOCKER_WORKING_DIR_CREATE"
|
/bin/sh -c ""
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "sh", "$LECONFFRE-FRONT_CONFS_DIR/healthcheck_$_4NK_CERTIFICATOR.sh"]
|
test: ["CMD", "sh", "-FRONT_CONFS_DIR/healthcheck__4NK_certificator.sh"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 50
|
retries: 50
|
||||||
restart: unless-stopped"
|
restart: unless-stopped"
|
||||||
|
|
||||||
$_4NK_MINER_DOCKER_NAME:
|
:
|
||||||
image: $_4NK_MINER_DOCKER_IMAGE
|
image:
|
||||||
container_name: $_4NK_MINER_DOCKER_NAME
|
container_name:
|
||||||
working_dir: /$_4NK_MINER_DOCKER_NAME
|
working_dir: /
|
||||||
ports:
|
ports:
|
||||||
- "0.0.0.0:$_4NK_MINER_EXTERNAL_PORT"
|
- "0.0.0.0:"
|
||||||
- "0.0.0.0:$_4NK_MINER_PORT"
|
- "0.0.0.0:8083:8083"
|
||||||
- "0.0.0.0:$_4NK_MINER_PORT2"
|
- "0.0.0.0:"
|
||||||
- "0.0.0.0:$_4NK_MINER_PORT3"
|
- "0.0.0.0:"
|
||||||
volumes:
|
volumes:
|
||||||
- $_4NK_MINER_CONFS_DIR:$_4NK_MINER_DOCKER_CONFS_DIR
|
- :
|
||||||
- $_4NK_MINER_LOGS_DIR:$_4NK_MINER_DOCKER_LOGS_DIR
|
- :
|
||||||
- $_4NK_MINER_RUNS_DIR:$_4NK_MINER_DOCKER_RUNS_DIR
|
- :
|
||||||
- $_4NK_MINER_DATAS_DIR:$_4NK_MINER_DOCKER_DATAS_DIR
|
- :
|
||||||
- $_4NK_MINER_BACKUPS_DIR:$_4NK_MINER_DOCKER_BACKUPS_DIR
|
- :
|
||||||
- $_4NK_MINER_SCRIPTS_DIR:$_4NK_MINER_DOCKER_SCRIPTS_DIR
|
- :
|
||||||
networks:
|
networks:
|
||||||
btcnet:
|
btcnet:
|
||||||
aliases:
|
aliases:
|
||||||
- $_4NK_MINER_DOCKER_NAME
|
-
|
||||||
user: root
|
user: root
|
||||||
entrypoint: \>
|
entrypoint: \>
|
||||||
/bin/sh -c "$_4NK_MINER_DOCKER_WORKING_DIR_CREATE"
|
/bin/sh -c ""
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "sh", "$LECONFFRE-FRONT_CONFS_DIR/healthcheck_$_4NK_MINER.sh"]
|
test: ["CMD", "sh", "-FRONT_CONFS_DIR/healthcheck__4NK_miner.sh"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 50
|
retries: 50
|
||||||
restart: unless-stopped"
|
restart: unless-stopped"
|
||||||
|
|
||||||
$LECOFFRE_FRONT_DOCKER_NAME:
|
:
|
||||||
image: $LECOFFRE_FRONT_DOCKER_IMAGE
|
image:
|
||||||
container_name: $LECOFFRE_FRONT_DOCKER_NAME
|
container_name:
|
||||||
working_dir: /$LECOFFRE_FRONT_DOCKER_NAME
|
working_dir: /
|
||||||
ports:
|
ports:
|
||||||
- "0.0.0.0:$LECOFFRE_FRONT_EXTERNAL_PORT"
|
- "0.0.0.0:"
|
||||||
- "0.0.0.0:$LECOFFRE_FRONT_PORT"
|
- "0.0.0.0:3000:3000"
|
||||||
- "0.0.0.0:$LECOFFRE_FRONT_PORT2"
|
- "0.0.0.0:"
|
||||||
- "0.0.0.0:$LECOFFRE_FRONT_PORT3"
|
- "0.0.0.0:"
|
||||||
volumes:
|
volumes:
|
||||||
- $LECOFFRE_FRONT_CONFS_DIR:$LECOFFRE_FRONT_DOCKER_CONFS_DIR
|
- :
|
||||||
- $LECOFFRE_FRONT_LOGS_DIR:$LECOFFRE_FRONT_DOCKER_LOGS_DIR
|
- :
|
||||||
- $LECOFFRE_FRONT_RUNS_DIR:$LECOFFRE_FRONT_DOCKER_RUNS_DIR
|
- :
|
||||||
- $LECOFFRE_FRONT_DATAS_DIR:$LECOFFRE_FRONT_DOCKER_DATAS_DIR
|
- :
|
||||||
- $LECOFFRE_FRONT_BACKUPS_DIR:$LECOFFRE_FRONT_DOCKER_BACKUPS_DIR
|
- :
|
||||||
- $LECOFFRE_FRONT_SCRIPTS_DIR:$LECOFFRE_FRONT_DOCKER_SCRIPTS_DIR
|
- :
|
||||||
networks:
|
networks:
|
||||||
btcnet:
|
btcnet:
|
||||||
aliases:
|
aliases:
|
||||||
- $LECOFFRE_FRONT_DOCKER_NAME
|
-
|
||||||
user: root
|
user: root
|
||||||
entrypoint: \>
|
entrypoint: \>
|
||||||
/bin/sh -c "$LECOFFRE_FRONT_DOCKER_WORKING_DIR_CREATE"
|
/bin/sh -c ""
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "sh", "$LECONFFRE-FRONT_CONFS_DIR/healthcheck_$LECOFFRE_FRONT.sh"]
|
test: ["CMD", "sh", "-FRONT_CONFS_DIR/healthcheck_lecoffre-front.sh"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 50
|
retries: 50
|
||||||
restart: unless-stopped"
|
restart: unless-stopped"
|
||||||
|
|
||||||
$_4NK_WEB_STATUS_DOCKER_NAME:
|
:
|
||||||
image: $_4NK_WEB_STATUS_DOCKER_IMAGE
|
image:
|
||||||
container_name: $_4NK_WEB_STATUS_DOCKER_NAME
|
container_name:
|
||||||
working_dir: /$_4NK_WEB_STATUS_DOCKER_NAME
|
working_dir: /
|
||||||
ports:
|
ports:
|
||||||
- "0.0.0.0:$_4NK_WEB_STATUS_EXTERNAL_PORT"
|
- "0.0.0.0:3006:3006"
|
||||||
- "0.0.0.0:$_4NK_WEB_STATUS_PORT"
|
- "0.0.0.0:3006:3006"
|
||||||
- "0.0.0.0:$_4NK_WEB_STATUS_PORT2"
|
- "0.0.0.0:"
|
||||||
- "0.0.0.0:$_4NK_WEB_STATUS_PORT3"
|
- "0.0.0.0:"
|
||||||
volumes:
|
volumes:
|
||||||
- $_4NK_WEB_STATUS_CONFS_DIR:$_4NK_WEB_STATUS_DOCKER_CONFS_DIR
|
- :
|
||||||
- $_4NK_WEB_STATUS_LOGS_DIR:$_4NK_WEB_STATUS_DOCKER_LOGS_DIR
|
- :
|
||||||
- $_4NK_WEB_STATUS_RUNS_DIR:$_4NK_WEB_STATUS_DOCKER_RUNS_DIR
|
- :
|
||||||
- $_4NK_WEB_STATUS_DATAS_DIR:$_4NK_WEB_STATUS_DOCKER_DATAS_DIR
|
- :
|
||||||
- $_4NK_WEB_STATUS_BACKUPS_DIR:$_4NK_WEB_STATUS_DOCKER_BACKUPS_DIR
|
- :
|
||||||
- $_4NK_WEB_STATUS_SCRIPTS_DIR:$_4NK_WEB_STATUS_DOCKER_SCRIPTS_DIR
|
- :
|
||||||
networks:
|
networks:
|
||||||
btcnet:
|
btcnet:
|
||||||
aliases:
|
aliases:
|
||||||
- $_4NK_WEB_STATUS_DOCKER_NAME
|
-
|
||||||
user: root
|
user: root
|
||||||
entrypoint: \>
|
entrypoint: \>
|
||||||
/bin/sh -c "$_4NK_WEB_STATUS_DOCKER_WORKING_DIR_CREATE"
|
/bin/sh -c ""
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "sh", "$LECONFFRE-FRONT_CONFS_DIR/healthcheck_$_4NK_WEB_STATUS.sh"]
|
test: ["CMD", "sh", "-FRONT_CONFS_DIR/healthcheck__4NK_web_status.sh"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 50
|
retries: 50
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
$_4NK_CERTIFICATOR_LOGS_DIR/*.log {
|
/*.log {
|
||||||
daily
|
daily
|
||||||
missingok
|
missingok
|
||||||
rotate 7
|
rotate 7
|
||||||
@ -8,6 +8,6 @@ $_4NK_CERTIFICATOR_LOGS_DIR/*.log {
|
|||||||
create 644 root root
|
create 644 root root
|
||||||
postrotate
|
postrotate
|
||||||
# Redémarrer le service si nécessaire
|
# Redémarrer le service si nécessaire
|
||||||
docker restart $_4NK_CERTIFICATOR_DOCKER_NAME 2>/dev/null || true
|
docker restart 2>/dev/null || true
|
||||||
endscript
|
endscript
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
$_4NK_MINER_LOGS_DIR/*.log {
|
/*.log {
|
||||||
daily
|
daily
|
||||||
missingok
|
missingok
|
||||||
rotate 7
|
rotate 7
|
||||||
@ -8,6 +8,6 @@ $_4NK_MINER_LOGS_DIR/*.log {
|
|||||||
create 644 root root
|
create 644 root root
|
||||||
postrotate
|
postrotate
|
||||||
# Redémarrer le service si nécessaire
|
# Redémarrer le service si nécessaire
|
||||||
docker restart $_4NK_MINER_DOCKER_NAME 2>/dev/null || true
|
docker restart 2>/dev/null || true
|
||||||
endscript
|
endscript
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
$_4NK_VAULT_LOGS_DIR/*.log {
|
/*.log {
|
||||||
daily
|
daily
|
||||||
missingok
|
missingok
|
||||||
rotate 7
|
rotate 7
|
||||||
@ -8,6 +8,6 @@ $_4NK_VAULT_LOGS_DIR/*.log {
|
|||||||
create 644 root root
|
create 644 root root
|
||||||
postrotate
|
postrotate
|
||||||
# Redémarrer le service si nécessaire
|
# Redémarrer le service si nécessaire
|
||||||
docker restart $_4NK_VAULT_DOCKER_NAME 2>/dev/null || true
|
docker restart 2>/dev/null || true
|
||||||
endscript
|
endscript
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
$_4NK_WEB_STATUS_LOGS_DIR/*.log {
|
/*.log {
|
||||||
daily
|
daily
|
||||||
missingok
|
missingok
|
||||||
rotate 7
|
rotate 7
|
||||||
@ -8,6 +8,6 @@ $_4NK_WEB_STATUS_LOGS_DIR/*.log {
|
|||||||
create 644 root root
|
create 644 root root
|
||||||
postrotate
|
postrotate
|
||||||
# Redémarrer le service si nécessaire
|
# Redémarrer le service si nécessaire
|
||||||
docker restart $_4NK_WEB_STATUS_DOCKER_NAME 2>/dev/null || true
|
docker restart 2>/dev/null || true
|
||||||
endscript
|
endscript
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
$BITCOIN_LOGS_DIR/*.log {
|
/*.log {
|
||||||
daily
|
daily
|
||||||
missingok
|
missingok
|
||||||
rotate 7
|
rotate 7
|
||||||
@ -8,6 +8,6 @@ $BITCOIN_LOGS_DIR/*.log {
|
|||||||
create 644 root root
|
create 644 root root
|
||||||
postrotate
|
postrotate
|
||||||
# Redémarrer le service si nécessaire
|
# Redémarrer le service si nécessaire
|
||||||
docker restart $BITCOIN_DOCKER_NAME 2>/dev/null || true
|
docker restart 2>/dev/null || true
|
||||||
endscript
|
endscript
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
$BLINDBIT_ORACLE_LOGS_DIR/*.log {
|
/*.log {
|
||||||
daily
|
daily
|
||||||
missingok
|
missingok
|
||||||
rotate 7
|
rotate 7
|
||||||
@ -8,6 +8,6 @@ $BLINDBIT_ORACLE_LOGS_DIR/*.log {
|
|||||||
create 644 root root
|
create 644 root root
|
||||||
postrotate
|
postrotate
|
||||||
# Redémarrer le service si nécessaire
|
# Redémarrer le service si nécessaire
|
||||||
docker restart $BLINDBIT_ORACLE_DOCKER_NAME 2>/dev/null || true
|
docker restart 2>/dev/null || true
|
||||||
endscript
|
endscript
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
$GRAFANA_LOGS_DIR/*.log {
|
/*.log {
|
||||||
daily
|
daily
|
||||||
missingok
|
missingok
|
||||||
rotate 7
|
rotate 7
|
||||||
@ -8,6 +8,6 @@ $GRAFANA_LOGS_DIR/*.log {
|
|||||||
create 644 root root
|
create 644 root root
|
||||||
postrotate
|
postrotate
|
||||||
# Redémarrer le service si nécessaire
|
# Redémarrer le service si nécessaire
|
||||||
docker restart $GRAFANA_DOCKER_NAME 2>/dev/null || true
|
docker restart 2>/dev/null || true
|
||||||
endscript
|
endscript
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
$IHM_CLIENT_LOGS_DIR/*.log {
|
/*.log {
|
||||||
daily
|
daily
|
||||||
missingok
|
missingok
|
||||||
rotate 7
|
rotate 7
|
||||||
@ -8,6 +8,6 @@ $IHM_CLIENT_LOGS_DIR/*.log {
|
|||||||
create 644 root root
|
create 644 root root
|
||||||
postrotate
|
postrotate
|
||||||
# Redémarrer le service si nécessaire
|
# Redémarrer le service si nécessaire
|
||||||
docker restart $IHM_CLIENT_DOCKER_NAME 2>/dev/null || true
|
docker restart 2>/dev/null || true
|
||||||
endscript
|
endscript
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
$LECOFFRE_FRONT_LOGS_DIR/*.log {
|
/*.log {
|
||||||
daily
|
daily
|
||||||
missingok
|
missingok
|
||||||
rotate 7
|
rotate 7
|
||||||
@ -8,6 +8,6 @@ $LECOFFRE_FRONT_LOGS_DIR/*.log {
|
|||||||
create 644 root root
|
create 644 root root
|
||||||
postrotate
|
postrotate
|
||||||
# Redémarrer le service si nécessaire
|
# Redémarrer le service si nécessaire
|
||||||
docker restart $LECOFFRE_FRONT_DOCKER_NAME 2>/dev/null || true
|
docker restart 2>/dev/null || true
|
||||||
endscript
|
endscript
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
$LOKI_LOGS_DIR/*.log {
|
/*.log {
|
||||||
daily
|
daily
|
||||||
missingok
|
missingok
|
||||||
rotate 7
|
rotate 7
|
||||||
@ -8,6 +8,6 @@ $LOKI_LOGS_DIR/*.log {
|
|||||||
create 644 root root
|
create 644 root root
|
||||||
postrotate
|
postrotate
|
||||||
# Redémarrer le service si nécessaire
|
# Redémarrer le service si nécessaire
|
||||||
docker restart $LOKI_DOCKER_NAME 2>/dev/null || true
|
docker restart 2>/dev/null || true
|
||||||
endscript
|
endscript
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
$NGNIX_LOGS_DIR/*.log {
|
/*.log {
|
||||||
daily
|
daily
|
||||||
missingok
|
missingok
|
||||||
rotate 7
|
rotate 7
|
||||||
@ -8,6 +8,6 @@ $NGNIX_LOGS_DIR/*.log {
|
|||||||
create 644 root root
|
create 644 root root
|
||||||
postrotate
|
postrotate
|
||||||
# Redémarrer le service si nécessaire
|
# Redémarrer le service si nécessaire
|
||||||
docker restart $NGNIX_DOCKER_NAME 2>/dev/null || true
|
docker restart 2>/dev/null || true
|
||||||
endscript
|
endscript
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
$POSTGRESQL_LOGS_DIR/*.log {
|
/*.log {
|
||||||
daily
|
daily
|
||||||
missingok
|
missingok
|
||||||
rotate 7
|
rotate 7
|
||||||
@ -8,6 +8,6 @@ $POSTGRESQL_LOGS_DIR/*.log {
|
|||||||
create 644 root root
|
create 644 root root
|
||||||
postrotate
|
postrotate
|
||||||
# Redémarrer le service si nécessaire
|
# Redémarrer le service si nécessaire
|
||||||
docker restart $POSTGRESQL_DOCKER_NAME 2>/dev/null || true
|
docker restart 2>/dev/null || true
|
||||||
endscript
|
endscript
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
$PROMTAIL_LOGS_DIR/*.log {
|
/*.log {
|
||||||
daily
|
daily
|
||||||
missingok
|
missingok
|
||||||
rotate 7
|
rotate 7
|
||||||
@ -8,6 +8,6 @@ $PROMTAIL_LOGS_DIR/*.log {
|
|||||||
create 644 root root
|
create 644 root root
|
||||||
postrotate
|
postrotate
|
||||||
# Redémarrer le service si nécessaire
|
# Redémarrer le service si nécessaire
|
||||||
docker restart $PROMTAIL_DOCKER_NAME 2>/dev/null || true
|
docker restart 2>/dev/null || true
|
||||||
endscript
|
endscript
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
$REDIS_LOGS_DIR/*.log {
|
/*.log {
|
||||||
daily
|
daily
|
||||||
missingok
|
missingok
|
||||||
rotate 7
|
rotate 7
|
||||||
@ -8,6 +8,6 @@ $REDIS_LOGS_DIR/*.log {
|
|||||||
create 644 root root
|
create 644 root root
|
||||||
postrotate
|
postrotate
|
||||||
# Redémarrer le service si nécessaire
|
# Redémarrer le service si nécessaire
|
||||||
docker restart $REDIS_DOCKER_NAME 2>/dev/null || true
|
docker restart 2>/dev/null || true
|
||||||
endscript
|
endscript
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
$SDK_RELAY_LOGS_DIR/*.log {
|
/*.log {
|
||||||
daily
|
daily
|
||||||
missingok
|
missingok
|
||||||
rotate 7
|
rotate 7
|
||||||
@ -8,6 +8,6 @@ $SDK_RELAY_LOGS_DIR/*.log {
|
|||||||
create 644 root root
|
create 644 root root
|
||||||
postrotate
|
postrotate
|
||||||
# Redémarrer le service si nécessaire
|
# Redémarrer le service si nécessaire
|
||||||
docker restart $SDK_RELAY_DOCKER_NAME 2>/dev/null || true
|
docker restart 2>/dev/null || true
|
||||||
endscript
|
endscript
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
$SDK_STORAGE_LOGS_DIR/*.log {
|
/*.log {
|
||||||
daily
|
daily
|
||||||
missingok
|
missingok
|
||||||
rotate 7
|
rotate 7
|
||||||
@ -8,6 +8,6 @@ $SDK_STORAGE_LOGS_DIR/*.log {
|
|||||||
create 644 root root
|
create 644 root root
|
||||||
postrotate
|
postrotate
|
||||||
# Redémarrer le service si nécessaire
|
# Redémarrer le service si nécessaire
|
||||||
docker restart $SDK_STORAGE_DOCKER_NAME 2>/dev/null || true
|
docker restart 2>/dev/null || true
|
||||||
endscript
|
endscript
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
$TOR_LOGS_DIR/*.log {
|
/*.log {
|
||||||
daily
|
daily
|
||||||
missingok
|
missingok
|
||||||
rotate 7
|
rotate 7
|
||||||
@ -8,6 +8,6 @@ $TOR_LOGS_DIR/*.log {
|
|||||||
create 644 root root
|
create 644 root root
|
||||||
postrotate
|
postrotate
|
||||||
# Redémarrer le service si nécessaire
|
# Redémarrer le service si nécessaire
|
||||||
docker restart $TOR_DOCKER_NAME 2>/dev/null || true
|
docker restart 2>/dev/null || true
|
||||||
endscript
|
endscript
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,16 +1,16 @@
|
|||||||
# Configuration HTTPS pour BITCOIN
|
# Configuration HTTPS pour BITCOIN
|
||||||
# Généré automatiquement le Fri Oct 3 17:10:13 UTC 2025
|
# Généré automatiquement le Sun Oct 5 13:16:52 UTC 2025
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $BITCOIN.$_4NKweb.com;
|
server_name bitcoin..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $BITCOIN_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
||||||
ssl_certificate_key /etc/letsencrypt/live/dev4._4NKweb.com/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/dev4._4NKweb.com/privkey.pem;
|
||||||
@ -25,19 +25,19 @@ ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$BITCOIN_https.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$BITCOIN_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$BITCOIN_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,16 +1,16 @@
|
|||||||
# Configuration HTTPS pour BLINDBIT_ORACLE
|
# Configuration HTTPS pour BLINDBIT_ORACLE
|
||||||
# Généré automatiquement le Fri Oct 3 17:10:13 UTC 2025
|
# Généré automatiquement le Sun Oct 5 13:16:52 UTC 2025
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $BLINDBIT_ORACLE.$_4NKweb.com;
|
server_name blindbit-oracle..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $BLINDBIT_ORACLE_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
||||||
ssl_certificate_key /etc/letsencrypt/live/dev4._4NKweb.com/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/dev4._4NKweb.com/privkey.pem;
|
||||||
@ -25,19 +25,19 @@ ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$BLINDBIT_ORACLE_https.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$BLINDBIT_ORACLE_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$BLINDBIT_ORACLE_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,16 +1,16 @@
|
|||||||
# Configuration HTTPS pour GRAFANA
|
# Configuration HTTPS pour GRAFANA
|
||||||
# Généré automatiquement le Fri Oct 3 17:10:13 UTC 2025
|
# Généré automatiquement le Sun Oct 5 13:16:52 UTC 2025
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $GRAFANA.$_4NKweb.com;
|
server_name grafana..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $GRAFANA_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
||||||
ssl_certificate_key /etc/letsencrypt/live/dev4._4NKweb.com/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/dev4._4NKweb.com/privkey.pem;
|
||||||
@ -25,19 +25,19 @@ ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$GRAFANA_https.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$GRAFANA_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$GRAFANA_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,16 +1,16 @@
|
|||||||
# Configuration HTTPS pour IHM_CLIENT
|
# Configuration HTTPS pour IHM_CLIENT
|
||||||
# Généré automatiquement le Fri Oct 3 17:10:13 UTC 2025
|
# Généré automatiquement le Sun Oct 5 13:16:52 UTC 2025
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $IHM_CLIENT.$_4NKweb.com;
|
server_name ihm_client..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $IHM_CLIENT_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
||||||
ssl_certificate_key /etc/letsencrypt/live/dev4._4NKweb.com/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/dev4._4NKweb.com/privkey.pem;
|
||||||
@ -25,19 +25,19 @@ ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$IHM_CLIENT_https.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$IHM_CLIENT_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$IHM_CLIENT_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,16 +1,16 @@
|
|||||||
# Configuration HTTPS pour LECOFFRE_FRONT
|
# Configuration HTTPS pour LECOFFRE_FRONT
|
||||||
# Généré automatiquement le Fri Oct 3 17:10:13 UTC 2025
|
# Généré automatiquement le Sun Oct 5 13:16:52 UTC 2025
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $LECOFFRE_FRONT.$_4NKweb.com;
|
server_name lecoffre-front..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $LECOFFRE_FRONT_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
||||||
ssl_certificate_key /etc/letsencrypt/live/dev4._4NKweb.com/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/dev4._4NKweb.com/privkey.pem;
|
||||||
@ -25,19 +25,19 @@ ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$LECOFFRE_FRONT_https.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$LECOFFRE_FRONT_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$LECOFFRE_FRONT_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,16 +1,16 @@
|
|||||||
# Configuration HTTPS pour LOKI
|
# Configuration HTTPS pour LOKI
|
||||||
# Généré automatiquement le Fri Oct 3 17:10:13 UTC 2025
|
# Généré automatiquement le Sun Oct 5 13:16:52 UTC 2025
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $LOKI.$_4NKweb.com;
|
server_name loki..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $LOKI_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
||||||
ssl_certificate_key /etc/letsencrypt/live/dev4._4NKweb.com/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/dev4._4NKweb.com/privkey.pem;
|
||||||
@ -25,19 +25,19 @@ ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$LOKI_https.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$LOKI_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$LOKI_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,16 +1,16 @@
|
|||||||
# Configuration HTTPS pour NGNIX
|
# Configuration HTTPS pour NGNIX
|
||||||
# Généré automatiquement le Fri Oct 3 17:10:13 UTC 2025
|
# Généré automatiquement le Sun Oct 5 13:16:52 UTC 2025
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $NGNIX.$_4NKweb.com;
|
server_name ..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $NGNIX_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
||||||
ssl_certificate_key /etc/letsencrypt/live/dev4._4NKweb.com/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/dev4._4NKweb.com/privkey.pem;
|
||||||
@ -25,19 +25,19 @@ ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$NGNIX_https.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$NGNIX_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$NGNIX_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,16 +1,16 @@
|
|||||||
# Configuration HTTPS pour POSTGRESQL
|
# Configuration HTTPS pour POSTGRESQL
|
||||||
# Généré automatiquement le Fri Oct 3 17:10:13 UTC 2025
|
# Généré automatiquement le Sun Oct 5 13:16:52 UTC 2025
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $POSTGRESQL.$_4NKweb.com;
|
server_name postgresql..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $POSTGRESQL_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
||||||
ssl_certificate_key /etc/letsencrypt/live/dev4._4NKweb.com/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/dev4._4NKweb.com/privkey.pem;
|
||||||
@ -25,19 +25,19 @@ ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$POSTGRESQL_https.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$POSTGRESQL_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$POSTGRESQL_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,16 +1,16 @@
|
|||||||
# Configuration HTTPS pour PROMTAIL
|
# Configuration HTTPS pour PROMTAIL
|
||||||
# Généré automatiquement le Fri Oct 3 17:10:13 UTC 2025
|
# Généré automatiquement le Sun Oct 5 13:16:52 UTC 2025
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $PROMTAIL.$_4NKweb.com;
|
server_name promtail..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $PROMTAIL_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
||||||
ssl_certificate_key /etc/letsencrypt/live/dev4._4NKweb.com/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/dev4._4NKweb.com/privkey.pem;
|
||||||
@ -25,19 +25,19 @@ ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$PROMTAIL_https.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$PROMTAIL_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$PROMTAIL_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,16 +1,16 @@
|
|||||||
# Configuration HTTPS pour REDIS
|
# Configuration HTTPS pour REDIS
|
||||||
# Généré automatiquement le Fri Oct 3 17:10:13 UTC 2025
|
# Généré automatiquement le Sun Oct 5 13:16:52 UTC 2025
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $REDIS.$_4NKweb.com;
|
server_name redis..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $REDIS_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
||||||
ssl_certificate_key /etc/letsencrypt/live/dev4._4NKweb.com/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/dev4._4NKweb.com/privkey.pem;
|
||||||
@ -25,19 +25,19 @@ ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$REDIS_https.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$REDIS_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$REDIS_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,16 +1,16 @@
|
|||||||
# Configuration HTTPS pour SDK_RELAY
|
# Configuration HTTPS pour SDK_RELAY
|
||||||
# Généré automatiquement le Fri Oct 3 17:10:13 UTC 2025
|
# Généré automatiquement le Sun Oct 5 13:16:52 UTC 2025
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $SDK_RELAY.$_4NKweb.com;
|
server_name sdk_relay..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $SDK_RELAY_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
||||||
ssl_certificate_key /etc/letsencrypt/live/dev4._4NKweb.com/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/dev4._4NKweb.com/privkey.pem;
|
||||||
@ -25,19 +25,19 @@ ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$SDK_RELAY_https.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$SDK_RELAY_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$SDK_RELAY_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,16 +1,16 @@
|
|||||||
# Configuration HTTPS pour SDK_STORAGE
|
# Configuration HTTPS pour SDK_STORAGE
|
||||||
# Généré automatiquement le Fri Oct 3 17:10:13 UTC 2025
|
# Généré automatiquement le Sun Oct 5 13:16:52 UTC 2025
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $SDK_STORAGE.$_4NKweb.com;
|
server_name sdk_storage..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $SDK_STORAGE_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
||||||
ssl_certificate_key /etc/letsencrypt/live/dev4._4NKweb.com/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/dev4._4NKweb.com/privkey.pem;
|
||||||
@ -25,19 +25,19 @@ ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$SDK_STORAGE_https.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$SDK_STORAGE_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$SDK_STORAGE_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,16 +1,16 @@
|
|||||||
# Configuration HTTPS pour TOR
|
# Configuration HTTPS pour TOR
|
||||||
# Généré automatiquement le Fri Oct 3 17:10:13 UTC 2025
|
# Généré automatiquement le Sun Oct 5 13:16:52 UTC 2025
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $TOR.$_4NKweb.com;
|
server_name tor-proxy..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $TOR_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
||||||
ssl_certificate_key /etc/letsencrypt/live/dev4._4NKweb.com/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/dev4._4NKweb.com/privkey.pem;
|
||||||
@ -25,19 +25,19 @@ ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$TOR_https.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$TOR_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$TOR_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,16 +1,16 @@
|
|||||||
# Configuration HTTPS pour _4NK_CERTIFICATOR
|
# Configuration HTTPS pour _4NK_CERTIFICATOR
|
||||||
# Généré automatiquement le Fri Oct 3 17:10:13 UTC 2025
|
# Généré automatiquement le Sun Oct 5 13:16:52 UTC 2025
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $_4NK_CERTIFICATOR.$_4NKweb.com;
|
server_name _4NK_certificator..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $_4NK_CERTIFICATOR_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
||||||
ssl_certificate_key /etc/letsencrypt/live/dev4._4NKweb.com/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/dev4._4NKweb.com/privkey.pem;
|
||||||
@ -25,19 +25,19 @@ ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$_4NK_CERTIFICATOR_https.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$_4NK_CERTIFICATOR_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$_4NK_CERTIFICATOR_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,16 +1,16 @@
|
|||||||
# Configuration HTTPS pour _4NK_MINER
|
# Configuration HTTPS pour _4NK_MINER
|
||||||
# Généré automatiquement le Fri Oct 3 17:10:13 UTC 2025
|
# Généré automatiquement le Sun Oct 5 13:16:52 UTC 2025
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $_4NK_MINER.$_4NKweb.com;
|
server_name _4NK_miner..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $_4NK_MINER_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
||||||
ssl_certificate_key /etc/letsencrypt/live/dev4._4NKweb.com/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/dev4._4NKweb.com/privkey.pem;
|
||||||
@ -25,19 +25,19 @@ ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$_4NK_MINER_https.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$_4NK_MINER_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$_4NK_MINER_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,16 +1,16 @@
|
|||||||
# Configuration HTTPS pour _4NK_VAULT
|
# Configuration HTTPS pour _4NK_VAULT
|
||||||
# Généré automatiquement le Fri Oct 3 17:10:13 UTC 2025
|
# Généré automatiquement le Sun Oct 5 13:16:52 UTC 2025
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $_4NK_VAULT.$_4NKweb.com;
|
server_name _4NK_vault..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $_4NK_VAULT_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
||||||
ssl_certificate_key /etc/letsencrypt/live/dev4._4NKweb.com/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/dev4._4NKweb.com/privkey.pem;
|
||||||
@ -25,19 +25,19 @@ ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$_4NK_VAULT_https.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$_4NK_VAULT_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$_4NK_VAULT_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,16 +1,16 @@
|
|||||||
# Configuration HTTPS pour _4NK_WEB_STATUS
|
# Configuration HTTPS pour _4NK_WEB_STATUS
|
||||||
# Généré automatiquement le Fri Oct 3 17:10:13 UTC 2025
|
# Généré automatiquement le Sun Oct 5 13:16:52 UTC 2025
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $_4NK_WEB_STATUS.$_4NKweb.com;
|
server_name _4NK_web_status..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $_4NK_WEB_STATUS_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
||||||
ssl_certificate_key /etc/letsencrypt/live/dev4._4NKweb.com/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/dev4._4NKweb.com/privkey.pem;
|
||||||
@ -25,19 +25,19 @@ ssl_certificate /etc/letsencrypt/live/dev4._4NKweb.com/fullchain.pem;
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$_4NK_WEB_STATUS_https.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$_4NK_WEB_STATUS_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$_4NK_WEB_STATUS_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -3,358 +3,358 @@
|
|||||||
|
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen $REDIS_PORT default_server;
|
listen 6379:6379 default_server;
|
||||||
server_name _; # pas d'host requis
|
server_name _; # pas d'host requis
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$REDIS_int.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$REDIS_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
# websocket (si nécessaire)
|
# websocket (si nécessaire)
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$REDIS_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen $POSTGRESQL_PORT default_server;
|
listen 5432:5432 default_server;
|
||||||
server_name _; # pas d'host requis
|
server_name _; # pas d'host requis
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$POSTGRESQL_int.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$POSTGRESQL_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
# websocket (si nécessaire)
|
# websocket (si nécessaire)
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$POSTGRESQL_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen $LOKI_PORT default_server;
|
listen 3100:3100 default_server;
|
||||||
server_name _; # pas d'host requis
|
server_name _; # pas d'host requis
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$LOKI_int.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$LOKI_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
# websocket (si nécessaire)
|
# websocket (si nécessaire)
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$LOKI_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen $PROMTAIL_PORT default_server;
|
listen 8090:8090 default_server;
|
||||||
server_name _; # pas d'host requis
|
server_name _; # pas d'host requis
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$PROMTAIL_int.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$PROMTAIL_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
# websocket (si nécessaire)
|
# websocket (si nécessaire)
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$PROMTAIL_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen $GRAFANA_PORT default_server;
|
listen 3001:3001 default_server;
|
||||||
server_name _; # pas d'host requis
|
server_name _; # pas d'host requis
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$GRAFANA_int.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$GRAFANA_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
# websocket (si nécessaire)
|
# websocket (si nécessaire)
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$GRAFANA_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen $NGNIX_PORT default_server;
|
listen default_server;
|
||||||
server_name _; # pas d'host requis
|
server_name _; # pas d'host requis
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$NGNIX_int.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$NGNIX_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
# websocket (si nécessaire)
|
# websocket (si nécessaire)
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$NGNIX_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen $TOR_PORT default_server;
|
listen 9050:9050 default_server;
|
||||||
server_name _; # pas d'host requis
|
server_name _; # pas d'host requis
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$TOR_int.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$TOR_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
# websocket (si nécessaire)
|
# websocket (si nécessaire)
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$TOR_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen $_4NK_VAULT_PORT default_server;
|
listen default_server;
|
||||||
server_name _; # pas d'host requis
|
server_name _; # pas d'host requis
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$_4NK_VAULT_int.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$_4NK_VAULT_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
# websocket (si nécessaire)
|
# websocket (si nécessaire)
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$_4NK_VAULT_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen $BITCOIN_PORT default_server;
|
listen 38332:38332 default_server;
|
||||||
server_name _; # pas d'host requis
|
server_name _; # pas d'host requis
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$BITCOIN_int.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$BITCOIN_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
# websocket (si nécessaire)
|
# websocket (si nécessaire)
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$BITCOIN_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen $BLINDBIT_ORACLE_PORT default_server;
|
listen 8000:8000 default_server;
|
||||||
server_name _; # pas d'host requis
|
server_name _; # pas d'host requis
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$BLINDBIT_ORACLE_int.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$BLINDBIT_ORACLE_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
# websocket (si nécessaire)
|
# websocket (si nécessaire)
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$BLINDBIT_ORACLE_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen $SDK_RELAY_PORT default_server;
|
listen 8080:8080 default_server;
|
||||||
server_name _; # pas d'host requis
|
server_name _; # pas d'host requis
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$SDK_RELAY_int.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$SDK_RELAY_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
# websocket (si nécessaire)
|
# websocket (si nécessaire)
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$SDK_RELAY_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen $SDK_STORAGE_PORT default_server;
|
listen 8081:8081 default_server;
|
||||||
server_name _; # pas d'host requis
|
server_name _; # pas d'host requis
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$SDK_STORAGE_int.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$SDK_STORAGE_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
# websocket (si nécessaire)
|
# websocket (si nécessaire)
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$SDK_STORAGE_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen $IHM_CLIENT_PORT default_server;
|
listen 3003:3003 default_server;
|
||||||
server_name _; # pas d'host requis
|
server_name _; # pas d'host requis
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$IHM_CLIENT_int.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$IHM_CLIENT_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
# websocket (si nécessaire)
|
# websocket (si nécessaire)
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$IHM_CLIENT_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen $_4NK_CERTIFICATOR_PORT default_server;
|
listen 8082:8082 default_server;
|
||||||
server_name _; # pas d'host requis
|
server_name _; # pas d'host requis
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$_4NK_CERTIFICATOR_int.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$_4NK_CERTIFICATOR_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
# websocket (si nécessaire)
|
# websocket (si nécessaire)
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$_4NK_CERTIFICATOR_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen $_4NK_MINER_PORT default_server;
|
listen 8083:8083 default_server;
|
||||||
server_name _; # pas d'host requis
|
server_name _; # pas d'host requis
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$_4NK_MINER_int.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$_4NK_MINER_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
# websocket (si nécessaire)
|
# websocket (si nécessaire)
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$_4NK_MINER_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen $LECOFFRE_FRONT_PORT default_server;
|
listen 3000:3000 default_server;
|
||||||
server_name _; # pas d'host requis
|
server_name _; # pas d'host requis
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$LECOFFRE_FRONT_int.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$LECOFFRE_FRONT_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
# websocket (si nécessaire)
|
# websocket (si nécessaire)
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$LECOFFRE_FRONT_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen $_4NK_WEB_STATUS_PORT default_server;
|
listen 3006:3006 default_server;
|
||||||
server_name _; # pas d'host requis
|
server_name _; # pas d'host requis
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$_4NK_WEB_STATUS_int.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$_4NK_WEB_STATUS_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
# websocket (si nécessaire)
|
# websocket (si nécessaire)
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$_4NK_WEB_STATUS_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
# Configuration Nginx consolidée pour $HOST
|
# Configuration Nginx consolidée pour dev4._4NKweb.com
|
||||||
# Générée automatiquement le $(date)
|
# Générée automatiquement le $(date)
|
||||||
|
|
||||||
# Inclusion du format de log JSON et des upstreams
|
# Inclusion du format de log JSON et des upstreams
|
||||||
@ -8,22 +8,22 @@ include upstreams.conf;
|
|||||||
# Redirection globale HTTP→HTTPS
|
# Redirection globale HTTP→HTTPS
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $HOST *.$HOST;
|
server_name dev4._4NKweb.com *.dev4._4NKweb.com;
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
# Configuration HTTPS pour REDIS
|
# Configuration HTTPS pour REDIS
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $REDIS.$_4NKweb.com;
|
server_name redis..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $REDIS_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -37,17 +37,17 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$REDIS_https.log app_json;
|
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$REDIS_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$REDIS_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
@ -57,14 +57,14 @@ server {
|
|||||||
# Configuration HTTPS pour POSTGRESQL
|
# Configuration HTTPS pour POSTGRESQL
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $POSTGRESQL.$_4NKweb.com;
|
server_name postgresql..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $POSTGRESQL_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -78,17 +78,17 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$POSTGRESQL_https.log app_json;
|
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$POSTGRESQL_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$POSTGRESQL_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
@ -98,14 +98,14 @@ server {
|
|||||||
# Configuration HTTPS pour LOKI
|
# Configuration HTTPS pour LOKI
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $LOKI.$_4NKweb.com;
|
server_name loki..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $LOKI_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -119,17 +119,17 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$LOKI_https.log app_json;
|
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$LOKI_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$LOKI_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
@ -139,14 +139,14 @@ server {
|
|||||||
# Configuration HTTPS pour PROMTAIL
|
# Configuration HTTPS pour PROMTAIL
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $PROMTAIL.$_4NKweb.com;
|
server_name promtail..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $PROMTAIL_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -160,17 +160,17 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$PROMTAIL_https.log app_json;
|
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$PROMTAIL_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$PROMTAIL_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
@ -180,14 +180,14 @@ server {
|
|||||||
# Configuration HTTPS pour GRAFANA
|
# Configuration HTTPS pour GRAFANA
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $GRAFANA.$_4NKweb.com;
|
server_name grafana..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $GRAFANA_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -201,17 +201,17 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$GRAFANA_https.log app_json;
|
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$GRAFANA_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$GRAFANA_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
@ -221,14 +221,14 @@ server {
|
|||||||
# Configuration HTTPS pour NGNIX
|
# Configuration HTTPS pour NGNIX
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $NGNIX.$_4NKweb.com;
|
server_name ..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $NGNIX_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -242,17 +242,17 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$NGNIX_https.log app_json;
|
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$NGNIX_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$NGNIX_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
@ -262,14 +262,14 @@ server {
|
|||||||
# Configuration HTTPS pour TOR
|
# Configuration HTTPS pour TOR
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $TOR.$_4NKweb.com;
|
server_name tor-proxy..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $TOR_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -283,17 +283,17 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$TOR_https.log app_json;
|
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$TOR_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$TOR_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
@ -303,14 +303,14 @@ server {
|
|||||||
# Configuration HTTPS pour _4NK_VAULT
|
# Configuration HTTPS pour _4NK_VAULT
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $_4NK_VAULT.$_4NKweb.com;
|
server_name _4NK_vault..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $_4NK_VAULT_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -324,17 +324,17 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$_4NK_VAULT_https.log app_json;
|
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$_4NK_VAULT_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$_4NK_VAULT_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
@ -344,14 +344,14 @@ server {
|
|||||||
# Configuration HTTPS pour BITCOIN
|
# Configuration HTTPS pour BITCOIN
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $BITCOIN.$_4NKweb.com;
|
server_name bitcoin..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $BITCOIN_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -365,17 +365,17 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$BITCOIN_https.log app_json;
|
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$BITCOIN_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$BITCOIN_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
@ -385,14 +385,14 @@ server {
|
|||||||
# Configuration HTTPS pour BLINDBIT_ORACLE
|
# Configuration HTTPS pour BLINDBIT_ORACLE
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $BLINDBIT_ORACLE.$_4NKweb.com;
|
server_name blindbit-oracle..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $BLINDBIT_ORACLE_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -406,17 +406,17 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$BLINDBIT_ORACLE_https.log app_json;
|
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$BLINDBIT_ORACLE_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$BLINDBIT_ORACLE_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
@ -426,14 +426,14 @@ server {
|
|||||||
# Configuration HTTPS pour SDK_RELAY
|
# Configuration HTTPS pour SDK_RELAY
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $SDK_RELAY.$_4NKweb.com;
|
server_name sdk_relay..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $SDK_RELAY_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -447,17 +447,17 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$SDK_RELAY_https.log app_json;
|
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$SDK_RELAY_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$SDK_RELAY_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
@ -467,14 +467,14 @@ server {
|
|||||||
# Configuration HTTPS pour SDK_STORAGE
|
# Configuration HTTPS pour SDK_STORAGE
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $SDK_STORAGE.$_4NKweb.com;
|
server_name sdk_storage..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $SDK_STORAGE_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -488,17 +488,17 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$SDK_STORAGE_https.log app_json;
|
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$SDK_STORAGE_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$SDK_STORAGE_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
@ -508,14 +508,14 @@ server {
|
|||||||
# Configuration HTTPS pour IHM_CLIENT
|
# Configuration HTTPS pour IHM_CLIENT
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $IHM_CLIENT.$_4NKweb.com;
|
server_name ihm_client..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $IHM_CLIENT_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -529,17 +529,17 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$IHM_CLIENT_https.log app_json;
|
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$IHM_CLIENT_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$IHM_CLIENT_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
@ -549,14 +549,14 @@ server {
|
|||||||
# Configuration HTTPS pour _4NK_CERTIFICATOR
|
# Configuration HTTPS pour _4NK_CERTIFICATOR
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $_4NK_CERTIFICATOR.$_4NKweb.com;
|
server_name _4NK_certificator..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $_4NK_CERTIFICATOR_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -570,17 +570,17 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$_4NK_CERTIFICATOR_https.log app_json;
|
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$_4NK_CERTIFICATOR_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$_4NK_CERTIFICATOR_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
@ -590,14 +590,14 @@ server {
|
|||||||
# Configuration HTTPS pour _4NK_MINER
|
# Configuration HTTPS pour _4NK_MINER
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $_4NK_MINER.$_4NKweb.com;
|
server_name _4NK_miner..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $_4NK_MINER_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -611,17 +611,17 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$_4NK_MINER_https.log app_json;
|
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$_4NK_MINER_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$_4NK_MINER_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
@ -631,14 +631,14 @@ server {
|
|||||||
# Configuration HTTPS pour LECOFFRE_FRONT
|
# Configuration HTTPS pour LECOFFRE_FRONT
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $LECOFFRE_FRONT.$_4NKweb.com;
|
server_name lecoffre-front..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $LECOFFRE_FRONT_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -652,17 +652,17 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$LECOFFRE_FRONT_https.log app_json;
|
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$LECOFFRE_FRONT_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$LECOFFRE_FRONT_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
@ -672,14 +672,14 @@ server {
|
|||||||
# Configuration HTTPS pour _4NK_WEB_STATUS
|
# Configuration HTTPS pour _4NK_WEB_STATUS
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $_4NK_WEB_STATUS.$_4NKweb.com;
|
server_name _4NK_web_status..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $_4NK_WEB_STATUS_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -693,17 +693,17 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$_4NK_WEB_STATUS_https.log app_json;
|
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$_4NK_WEB_STATUS_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$_4NK_WEB_STATUS_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
# Configuration Nginx consolidée pour $HOST
|
# Configuration Nginx consolidée pour dev4._4NKweb.com
|
||||||
# Générée automatiquement le $(date)
|
# Générée automatiquement le $(date)
|
||||||
|
|
||||||
# Inclusion du format de log JSON et des upstreams
|
# Inclusion du format de log JSON et des upstreams
|
||||||
@ -8,22 +8,22 @@ include upstreams.conf;
|
|||||||
# Redirection globale HTTP→HTTPS
|
# Redirection globale HTTP→HTTPS
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $HOST *.$HOST;
|
server_name dev4._4NKweb.com *.dev4._4NKweb.com;
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
# Configuration HTTPS pour REDIS
|
# Configuration HTTPS pour REDIS
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $REDIS.$_4NKweb.com;
|
server_name redis..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $REDIS_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -37,17 +37,17 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$REDIS_https.log app_json;
|
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$REDIS_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$REDIS_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
@ -57,14 +57,14 @@ server {
|
|||||||
# Configuration HTTPS pour POSTGRESQL
|
# Configuration HTTPS pour POSTGRESQL
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $POSTGRESQL.$_4NKweb.com;
|
server_name postgresql..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $POSTGRESQL_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -78,17 +78,17 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$POSTGRESQL_https.log app_json;
|
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$POSTGRESQL_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$POSTGRESQL_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
@ -98,14 +98,14 @@ server {
|
|||||||
# Configuration HTTPS pour LOKI
|
# Configuration HTTPS pour LOKI
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $LOKI.$_4NKweb.com;
|
server_name loki..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $LOKI_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -119,17 +119,17 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$LOKI_https.log app_json;
|
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$LOKI_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$LOKI_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
@ -139,14 +139,14 @@ server {
|
|||||||
# Configuration HTTPS pour PROMTAIL
|
# Configuration HTTPS pour PROMTAIL
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $PROMTAIL.$_4NKweb.com;
|
server_name promtail..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $PROMTAIL_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -160,17 +160,17 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$PROMTAIL_https.log app_json;
|
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$PROMTAIL_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$PROMTAIL_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
@ -180,14 +180,14 @@ server {
|
|||||||
# Configuration HTTPS pour GRAFANA
|
# Configuration HTTPS pour GRAFANA
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $GRAFANA.$_4NKweb.com;
|
server_name grafana..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $GRAFANA_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -201,17 +201,17 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$GRAFANA_https.log app_json;
|
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$GRAFANA_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$GRAFANA_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
@ -221,14 +221,14 @@ server {
|
|||||||
# Configuration HTTPS pour NGNIX
|
# Configuration HTTPS pour NGNIX
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $NGNIX.$_4NKweb.com;
|
server_name ..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $NGNIX_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -242,17 +242,17 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$NGNIX_https.log app_json;
|
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$NGNIX_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$NGNIX_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
@ -262,14 +262,14 @@ server {
|
|||||||
# Configuration HTTPS pour TOR
|
# Configuration HTTPS pour TOR
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $TOR.$_4NKweb.com;
|
server_name tor-proxy..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $TOR_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -283,17 +283,17 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$TOR_https.log app_json;
|
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$TOR_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$TOR_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
@ -303,14 +303,14 @@ server {
|
|||||||
# Configuration HTTPS pour _4NK_VAULT
|
# Configuration HTTPS pour _4NK_VAULT
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $_4NK_VAULT.$_4NKweb.com;
|
server_name _4NK_vault..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $_4NK_VAULT_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -324,17 +324,17 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$_4NK_VAULT_https.log app_json;
|
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$_4NK_VAULT_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$_4NK_VAULT_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
@ -344,14 +344,14 @@ server {
|
|||||||
# Configuration HTTPS pour BITCOIN
|
# Configuration HTTPS pour BITCOIN
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $BITCOIN.$_4NKweb.com;
|
server_name bitcoin..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $BITCOIN_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -365,17 +365,17 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$BITCOIN_https.log app_json;
|
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$BITCOIN_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$BITCOIN_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
@ -385,14 +385,14 @@ server {
|
|||||||
# Configuration HTTPS pour BLINDBIT_ORACLE
|
# Configuration HTTPS pour BLINDBIT_ORACLE
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $BLINDBIT_ORACLE.$_4NKweb.com;
|
server_name blindbit-oracle..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $BLINDBIT_ORACLE_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -406,17 +406,17 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$BLINDBIT_ORACLE_https.log app_json;
|
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$BLINDBIT_ORACLE_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$BLINDBIT_ORACLE_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
@ -426,14 +426,14 @@ server {
|
|||||||
# Configuration HTTPS pour SDK_RELAY
|
# Configuration HTTPS pour SDK_RELAY
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $SDK_RELAY.$_4NKweb.com;
|
server_name sdk_relay..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $SDK_RELAY_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -447,17 +447,17 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$SDK_RELAY_https.log app_json;
|
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$SDK_RELAY_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$SDK_RELAY_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
@ -467,14 +467,14 @@ server {
|
|||||||
# Configuration HTTPS pour SDK_STORAGE
|
# Configuration HTTPS pour SDK_STORAGE
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $SDK_STORAGE.$_4NKweb.com;
|
server_name sdk_storage..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $SDK_STORAGE_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -488,17 +488,17 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$SDK_STORAGE_https.log app_json;
|
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$SDK_STORAGE_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$SDK_STORAGE_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
@ -508,14 +508,14 @@ server {
|
|||||||
# Configuration HTTPS pour IHM_CLIENT
|
# Configuration HTTPS pour IHM_CLIENT
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $IHM_CLIENT.$_4NKweb.com;
|
server_name ihm_client..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $IHM_CLIENT_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -529,17 +529,17 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$IHM_CLIENT_https.log app_json;
|
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$IHM_CLIENT_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$IHM_CLIENT_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
@ -549,14 +549,14 @@ server {
|
|||||||
# Configuration HTTPS pour _4NK_CERTIFICATOR
|
# Configuration HTTPS pour _4NK_CERTIFICATOR
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $_4NK_CERTIFICATOR.$_4NKweb.com;
|
server_name _4NK_certificator..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $_4NK_CERTIFICATOR_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -570,17 +570,17 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$_4NK_CERTIFICATOR_https.log app_json;
|
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$_4NK_CERTIFICATOR_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$_4NK_CERTIFICATOR_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
@ -590,14 +590,14 @@ server {
|
|||||||
# Configuration HTTPS pour _4NK_MINER
|
# Configuration HTTPS pour _4NK_MINER
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $_4NK_MINER.$_4NKweb.com;
|
server_name _4NK_miner..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $_4NK_MINER_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -611,17 +611,17 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$_4NK_MINER_https.log app_json;
|
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$_4NK_MINER_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$_4NK_MINER_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
@ -631,14 +631,14 @@ server {
|
|||||||
# Configuration HTTPS pour LECOFFRE_FRONT
|
# Configuration HTTPS pour LECOFFRE_FRONT
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $LECOFFRE_FRONT.$_4NKweb.com;
|
server_name lecoffre-front..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $LECOFFRE_FRONT_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -652,17 +652,17 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$LECOFFRE_FRONT_https.log app_json;
|
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$LECOFFRE_FRONT_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$LECOFFRE_FRONT_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
@ -672,14 +672,14 @@ server {
|
|||||||
# Configuration HTTPS pour _4NK_WEB_STATUS
|
# Configuration HTTPS pour _4NK_WEB_STATUS
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $_4NK_WEB_STATUS.$_4NKweb.com;
|
server_name _4NK_web_status..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $_4NK_WEB_STATUS_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -693,17 +693,17 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$_4NK_WEB_STATUS_https.log app_json;
|
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$_4NK_WEB_STATUS_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$_4NK_WEB_STATUS_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/etc/nginx/conf.d/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
# Configuration Nginx consolidée pour $HOST
|
# Configuration Nginx consolidée pour dev4._4NKweb.com
|
||||||
# Générée automatiquement le $(date)
|
# Générée automatiquement le $(date)
|
||||||
|
|
||||||
# Inclusion du format de log JSON et des upstreams
|
# Inclusion du format de log JSON et des upstreams
|
||||||
@ -8,22 +8,22 @@ include upstreams.conf;
|
|||||||
# Redirection globale HTTP→HTTPS
|
# Redirection globale HTTP→HTTPS
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $HOST *.$HOST;
|
server_name dev4._4NKweb.com *.dev4._4NKweb.com;
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
# Configuration HTTPS pour REDIS
|
# Configuration HTTPS pour REDIS
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $REDIS.$_4NKweb.com;
|
server_name redis..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $REDIS_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -37,19 +37,19 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$REDIS_https.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$REDIS_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$REDIS_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -57,14 +57,14 @@ server {
|
|||||||
# Configuration HTTPS pour POSTGRESQL
|
# Configuration HTTPS pour POSTGRESQL
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $POSTGRESQL.$_4NKweb.com;
|
server_name postgresql..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $POSTGRESQL_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -78,19 +78,19 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$POSTGRESQL_https.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$POSTGRESQL_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$POSTGRESQL_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -98,14 +98,14 @@ server {
|
|||||||
# Configuration HTTPS pour LOKI
|
# Configuration HTTPS pour LOKI
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $LOKI.$_4NKweb.com;
|
server_name loki..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $LOKI_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -119,19 +119,19 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$LOKI_https.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$LOKI_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$LOKI_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -139,14 +139,14 @@ server {
|
|||||||
# Configuration HTTPS pour PROMTAIL
|
# Configuration HTTPS pour PROMTAIL
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $PROMTAIL.$_4NKweb.com;
|
server_name promtail..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $PROMTAIL_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -160,19 +160,19 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$PROMTAIL_https.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$PROMTAIL_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$PROMTAIL_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -180,14 +180,14 @@ server {
|
|||||||
# Configuration HTTPS pour GRAFANA
|
# Configuration HTTPS pour GRAFANA
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $GRAFANA.$_4NKweb.com;
|
server_name grafana..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $GRAFANA_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -201,19 +201,19 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$GRAFANA_https.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$GRAFANA_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$GRAFANA_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -221,14 +221,14 @@ server {
|
|||||||
# Configuration HTTPS pour NGNIX
|
# Configuration HTTPS pour NGNIX
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $NGNIX.$_4NKweb.com;
|
server_name ..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $NGNIX_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -242,19 +242,19 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$NGNIX_https.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$NGNIX_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$NGNIX_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -262,14 +262,14 @@ server {
|
|||||||
# Configuration HTTPS pour TOR
|
# Configuration HTTPS pour TOR
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $TOR.$_4NKweb.com;
|
server_name tor-proxy..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $TOR_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -283,19 +283,19 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$TOR_https.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$TOR_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$TOR_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -303,14 +303,14 @@ server {
|
|||||||
# Configuration HTTPS pour _4NK_VAULT
|
# Configuration HTTPS pour _4NK_VAULT
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $_4NK_VAULT.$_4NKweb.com;
|
server_name _4NK_vault..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $_4NK_VAULT_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -324,19 +324,19 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$_4NK_VAULT_https.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$_4NK_VAULT_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$_4NK_VAULT_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -344,14 +344,14 @@ server {
|
|||||||
# Configuration HTTPS pour BITCOIN
|
# Configuration HTTPS pour BITCOIN
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $BITCOIN.$_4NKweb.com;
|
server_name bitcoin..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $BITCOIN_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -365,19 +365,19 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$BITCOIN_https.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$BITCOIN_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$BITCOIN_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -385,14 +385,14 @@ server {
|
|||||||
# Configuration HTTPS pour BLINDBIT_ORACLE
|
# Configuration HTTPS pour BLINDBIT_ORACLE
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $BLINDBIT_ORACLE.$_4NKweb.com;
|
server_name blindbit-oracle..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $BLINDBIT_ORACLE_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -406,19 +406,19 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$BLINDBIT_ORACLE_https.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$BLINDBIT_ORACLE_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$BLINDBIT_ORACLE_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -426,14 +426,14 @@ server {
|
|||||||
# Configuration HTTPS pour SDK_RELAY
|
# Configuration HTTPS pour SDK_RELAY
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $SDK_RELAY.$_4NKweb.com;
|
server_name sdk_relay..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $SDK_RELAY_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -447,19 +447,19 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$SDK_RELAY_https.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$SDK_RELAY_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$SDK_RELAY_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -467,14 +467,14 @@ server {
|
|||||||
# Configuration HTTPS pour SDK_STORAGE
|
# Configuration HTTPS pour SDK_STORAGE
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $SDK_STORAGE.$_4NKweb.com;
|
server_name sdk_storage..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $SDK_STORAGE_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -488,19 +488,19 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$SDK_STORAGE_https.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$SDK_STORAGE_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$SDK_STORAGE_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -508,14 +508,14 @@ server {
|
|||||||
# Configuration HTTPS pour IHM_CLIENT
|
# Configuration HTTPS pour IHM_CLIENT
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $IHM_CLIENT.$_4NKweb.com;
|
server_name ihm_client..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $IHM_CLIENT_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -529,19 +529,19 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$IHM_CLIENT_https.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$IHM_CLIENT_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$IHM_CLIENT_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -549,14 +549,14 @@ server {
|
|||||||
# Configuration HTTPS pour _4NK_CERTIFICATOR
|
# Configuration HTTPS pour _4NK_CERTIFICATOR
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $_4NK_CERTIFICATOR.$_4NKweb.com;
|
server_name _4NK_certificator..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $_4NK_CERTIFICATOR_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -570,19 +570,19 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$_4NK_CERTIFICATOR_https.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$_4NK_CERTIFICATOR_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$_4NK_CERTIFICATOR_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -590,14 +590,14 @@ server {
|
|||||||
# Configuration HTTPS pour _4NK_MINER
|
# Configuration HTTPS pour _4NK_MINER
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $_4NK_MINER.$_4NKweb.com;
|
server_name _4NK_miner..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $_4NK_MINER_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -611,19 +611,19 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$_4NK_MINER_https.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$_4NK_MINER_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$_4NK_MINER_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -631,14 +631,14 @@ server {
|
|||||||
# Configuration HTTPS pour LECOFFRE_FRONT
|
# Configuration HTTPS pour LECOFFRE_FRONT
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $LECOFFRE_FRONT.$_4NKweb.com;
|
server_name lecoffre-front..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $LECOFFRE_FRONT_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -652,19 +652,19 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$LECOFFRE_FRONT_https.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$LECOFFRE_FRONT_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$LECOFFRE_FRONT_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -672,14 +672,14 @@ server {
|
|||||||
# Configuration HTTPS pour _4NK_WEB_STATUS
|
# Configuration HTTPS pour _4NK_WEB_STATUS
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name $_4NK_WEB_STATUS.$_4NKweb.com;
|
server_name _4NK_web_status..com;
|
||||||
# redirection HTTP→HTTPS pour l'externe
|
# redirection HTTP→HTTPS pour l'externe
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name $_4NK_WEB_STATUS_DOCKER_NAME.$_4NKweb.com;
|
server_name ..com;
|
||||||
|
|
||||||
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
ssl_certificate $/etc/letsencrypt/live/dev4._4NKweb.com/certs/fullchain.pem;
|
||||||
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
ssl_certificate_key $/etc/letsencrypt/live/dev4._4NKweb.com/private/privkey.pem;
|
||||||
@ -693,19 +693,19 @@ server {
|
|||||||
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
# HSTS (activer seulement si tout le domaine est en HTTPS)
|
||||||
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||||
|
|
||||||
access_log $/home/debian/_4NK_env/DOCKER_GLOBAL_NAME/logs/nginx/$_4NK_WEB_STATUS_https.log app_json;
|
access_log $/home/debian/_4NK_env/projects/lecoffre/lecoffre_node/logs/nginx/.log app_json;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://$_4NK_WEB_STATUS_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws/ {
|
location /ws/ {
|
||||||
proxy_pass http://$_4NK_WEB_STATUS_DOCKER_NAME;
|
proxy_pass http://;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade ;
|
||||||
proxy_set_header Connection "upgrade";
|
proxy_set_header Connection "upgrade";
|
||||||
include $/etc/nginx/conf.d/proxy_headers.conf;
|
include $/proxy_headers.conf;
|
||||||
proxy_read_timeout 3600s;
|
proxy_read_timeout 3600s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,17 +1,17 @@
|
|||||||
# Headers de proxy générés automatiquement
|
# Headers de proxy générés automatiquement
|
||||||
# Généré le $(date)
|
# Généré le $(date)
|
||||||
|
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host ;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP ;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For ;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto ;
|
||||||
proxy_set_header X-Forwarded-Host $host;
|
proxy_set_header X-Forwarded-Host ;
|
||||||
proxy_set_header X-Forwarded-Port $server_port;
|
proxy_set_header X-Forwarded-Port ;
|
||||||
|
|
||||||
# Directives de proxy
|
# Directives de proxy
|
||||||
proxy_redirect off; # si l'app sait générer ses URLs
|
proxy_redirect off; # si l'app sait générer ses URLs
|
||||||
add_header X-Debug-Scheme $scheme always;
|
add_header X-Debug-Scheme always;
|
||||||
add_header X-Debug-XFP $http_x_forwarded_proto always;
|
add_header X-Debug-XFP always;
|
||||||
|
|
||||||
# Timeouts
|
# Timeouts
|
||||||
proxy_connect_timeout 60s;
|
proxy_connect_timeout 60s;
|
||||||
@ -25,5 +25,5 @@ proxy_buffers 8 4k;
|
|||||||
proxy_busy_buffers_size 8k;
|
proxy_busy_buffers_size 8k;
|
||||||
|
|
||||||
# Cache settings
|
# Cache settings
|
||||||
proxy_cache_bypass $http_upgrade;
|
proxy_cache_bypass ;
|
||||||
proxy_no_cache $http_upgrade;
|
proxy_no_cache ;
|
||||||
|
|||||||
@ -2,101 +2,101 @@
|
|||||||
# Généré le $(date)
|
# Généré le $(date)
|
||||||
|
|
||||||
log_format app_json escape=json
|
log_format app_json escape=json
|
||||||
'{ "time":"$time_iso8601",'
|
'{ "time":"",'
|
||||||
' "client":"$remote_addr",'
|
' "client":"",'
|
||||||
' "xff":"$http_x_forwarded_for",'
|
' "xff":"",'
|
||||||
' "method":"$request_method",'
|
' "method":"",'
|
||||||
' "host":"$host",'
|
' "host":"",'
|
||||||
' "uri":"$request_uri",'
|
' "uri":"",'
|
||||||
' "status":$status,'
|
' "status":,'
|
||||||
' "bytes":$body_bytes_sent,'
|
' "bytes":,'
|
||||||
' "ua":"$http_user_agent",'
|
' "ua":"",'
|
||||||
' "upstream":"$upstream_addr",'
|
' "upstream":"",'
|
||||||
' "rt":$request_time,'
|
' "rt":,'
|
||||||
' "urt":$upstream_response_time }';
|
' "urt": }';
|
||||||
|
|
||||||
|
|
||||||
upstream $REDIS {
|
upstream redis {
|
||||||
server $REDIS_DOCKER_NAME:$REDIS_PORT;
|
server :6379:6379;
|
||||||
keepalive 64;
|
keepalive 64;
|
||||||
}
|
}
|
||||||
|
|
||||||
upstream $POSTGRESQL {
|
upstream postgresql {
|
||||||
server $POSTGRESQL_DOCKER_NAME:$POSTGRESQL_PORT;
|
server :5432:5432;
|
||||||
keepalive 64;
|
keepalive 64;
|
||||||
}
|
}
|
||||||
|
|
||||||
upstream $LOKI {
|
upstream loki {
|
||||||
server $LOKI_DOCKER_NAME:$LOKI_PORT;
|
server :3100:3100;
|
||||||
keepalive 64;
|
keepalive 64;
|
||||||
}
|
}
|
||||||
|
|
||||||
upstream $PROMTAIL {
|
upstream promtail {
|
||||||
server $PROMTAIL_DOCKER_NAME:$PROMTAIL_PORT;
|
server :8090:8090;
|
||||||
keepalive 64;
|
keepalive 64;
|
||||||
}
|
}
|
||||||
|
|
||||||
upstream $GRAFANA {
|
upstream grafana {
|
||||||
server $GRAFANA_DOCKER_NAME:$GRAFANA_PORT;
|
server :3001:3001;
|
||||||
keepalive 64;
|
keepalive 64;
|
||||||
}
|
}
|
||||||
|
|
||||||
upstream $NGNIX {
|
upstream {
|
||||||
server $NGNIX_DOCKER_NAME:$NGNIX_PORT;
|
server :;
|
||||||
keepalive 64;
|
keepalive 64;
|
||||||
}
|
}
|
||||||
|
|
||||||
upstream $TOR {
|
upstream tor-proxy {
|
||||||
server $TOR_DOCKER_NAME:$TOR_PORT;
|
server :9050:9050;
|
||||||
keepalive 64;
|
keepalive 64;
|
||||||
}
|
}
|
||||||
|
|
||||||
upstream $_4NK_VAULT {
|
upstream _4NK_vault {
|
||||||
server $_4NK_VAULT_DOCKER_NAME:$_4NK_VAULT_PORT;
|
server :;
|
||||||
keepalive 64;
|
keepalive 64;
|
||||||
}
|
}
|
||||||
|
|
||||||
upstream $BITCOIN {
|
upstream bitcoin {
|
||||||
server $BITCOIN_DOCKER_NAME:$BITCOIN_PORT;
|
server :38332:38332;
|
||||||
keepalive 64;
|
keepalive 64;
|
||||||
}
|
}
|
||||||
|
|
||||||
upstream $BLINDBIT_ORACLE {
|
upstream blindbit-oracle {
|
||||||
server $BLINDBIT_ORACLE_DOCKER_NAME:$BLINDBIT_ORACLE_PORT;
|
server :8000:8000;
|
||||||
keepalive 64;
|
keepalive 64;
|
||||||
}
|
}
|
||||||
|
|
||||||
upstream $SDK_RELAY {
|
upstream sdk_relay {
|
||||||
server $SDK_RELAY_DOCKER_NAME:$SDK_RELAY_PORT;
|
server :8080:8080;
|
||||||
keepalive 64;
|
keepalive 64;
|
||||||
}
|
}
|
||||||
|
|
||||||
upstream $SDK_STORAGE {
|
upstream sdk_storage {
|
||||||
server $SDK_STORAGE_DOCKER_NAME:$SDK_STORAGE_PORT;
|
server :8081:8081;
|
||||||
keepalive 64;
|
keepalive 64;
|
||||||
}
|
}
|
||||||
|
|
||||||
upstream $IHM_CLIENT {
|
upstream ihm_client {
|
||||||
server $IHM_CLIENT_DOCKER_NAME:$IHM_CLIENT_PORT;
|
server :3003:3003;
|
||||||
keepalive 64;
|
keepalive 64;
|
||||||
}
|
}
|
||||||
|
|
||||||
upstream $_4NK_CERTIFICATOR {
|
upstream _4NK_certificator {
|
||||||
server $_4NK_CERTIFICATOR_DOCKER_NAME:$_4NK_CERTIFICATOR_PORT;
|
server :8082:8082;
|
||||||
keepalive 64;
|
keepalive 64;
|
||||||
}
|
}
|
||||||
|
|
||||||
upstream $_4NK_MINER {
|
upstream _4NK_miner {
|
||||||
server $_4NK_MINER_DOCKER_NAME:$_4NK_MINER_PORT;
|
server :8083:8083;
|
||||||
keepalive 64;
|
keepalive 64;
|
||||||
}
|
}
|
||||||
|
|
||||||
upstream $LECOFFRE_FRONT {
|
upstream lecoffre-front {
|
||||||
server $LECOFFRE_FRONT_DOCKER_NAME:$LECOFFRE_FRONT_PORT;
|
server :3000:3000;
|
||||||
keepalive 64;
|
keepalive 64;
|
||||||
}
|
}
|
||||||
|
|
||||||
upstream $_4NK_WEB_STATUS {
|
upstream _4NK_web_status {
|
||||||
server $_4NK_WEB_STATUS_DOCKER_NAME:$_4NK_WEB_STATUS_PORT;
|
server :3006:3006;
|
||||||
keepalive 64;
|
keepalive 64;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,207 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Script de test pour valider le fonctionnement du script generate.sh
|
|
||||||
# Teste les différentes options et fonctionnalités
|
|
||||||
|
|
||||||
# Couleurs
|
|
||||||
RED='\033[0;31m'
|
|
||||||
GREEN='\033[0;32m'
|
|
||||||
YELLOW='\033[1;33m'
|
|
||||||
BLUE='\033[0;34m'
|
|
||||||
NC='\033[0m'
|
|
||||||
|
|
||||||
# Compteurs
|
|
||||||
TESTS_PASSED=0
|
|
||||||
TESTS_FAILED=0
|
|
||||||
TOTAL_TESTS=0
|
|
||||||
|
|
||||||
# Fonction pour afficher les résultats
|
|
||||||
print_result() {
|
|
||||||
local test_name="$1"
|
|
||||||
local status="$2"
|
|
||||||
local message="$3"
|
|
||||||
|
|
||||||
TOTAL_TESTS=$((TOTAL_TESTS + 1))
|
|
||||||
|
|
||||||
if [ "$status" = "PASS" ]; then
|
|
||||||
echo -e "${GREEN}✅ PASS${NC}: $test_name - $message"
|
|
||||||
TESTS_PASSED=$((TESTS_PASSED + 1))
|
|
||||||
else
|
|
||||||
echo -e "${RED}❌ FAIL${NC}: $test_name - $message"
|
|
||||||
TESTS_FAILED=$((TESTS_FAILED + 1))
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
echo -e "${BLUE}🧪 TEST DU SCRIPT GÉNÉRATEUR PRINCIPAL${NC}"
|
|
||||||
echo -e "${BLUE}======================================${NC}"
|
|
||||||
|
|
||||||
# Test 1: Vérifier l'existence du script
|
|
||||||
if [ -f "generate.sh" ]; then
|
|
||||||
print_result "Script existe" "PASS" "generate.sh présent"
|
|
||||||
else
|
|
||||||
print_result "Script existe" "FAIL" "generate.sh manquant"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Test 2: Vérifier que le script est exécutable
|
|
||||||
if [ -x "generate.sh" ]; then
|
|
||||||
print_result "Script exécutable" "PASS" "generate.sh exécutable"
|
|
||||||
else
|
|
||||||
print_result "Script exécutable" "FAIL" "generate.sh non exécutable"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Test 3: Test de l'aide
|
|
||||||
echo -e "\n${YELLOW}🔍 Test de l'aide...${NC}"
|
|
||||||
if ./generate.sh --help >/dev/null 2>&1; then
|
|
||||||
print_result "Aide fonctionne" "PASS" "Option --help fonctionne"
|
|
||||||
else
|
|
||||||
print_result "Aide fonctionne" "FAIL" "Option --help échoue"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Test 4: Vérifier les scripts requis
|
|
||||||
REQUIRED_SCRIPTS=(
|
|
||||||
"generate_variables.sh"
|
|
||||||
"generate_grafana_dashboards.sh"
|
|
||||||
"generate_nginx_configs.sh"
|
|
||||||
)
|
|
||||||
|
|
||||||
for script in "${REQUIRED_SCRIPTS[@]}"; do
|
|
||||||
if [ -f "$script" ]; then
|
|
||||||
print_result "Script requis" "PASS" "$script présent"
|
|
||||||
else
|
|
||||||
print_result "Script requis" "FAIL" "$script manquant"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
# Test 5: Test avec variables d'environnement minimales
|
|
||||||
echo -e "\n${YELLOW}🔍 Test avec variables minimales...${NC}"
|
|
||||||
|
|
||||||
# Exporter des variables minimales
|
|
||||||
export HOST="test.example.com"
|
|
||||||
export SERVICES=(TEST_SERVICE)
|
|
||||||
export DOMAIN="test.example.com"
|
|
||||||
export CERT_PATH="/tmp/certs"
|
|
||||||
export NGINX_LOGS_DIR="/tmp/logs"
|
|
||||||
export NGINX_CONFS_DIR="/tmp/conf"
|
|
||||||
export DOCKER_GLOBAL_NAME="test"
|
|
||||||
|
|
||||||
# Test d'exécution (sans --verbose pour éviter trop de sortie)
|
|
||||||
echo -e "${YELLOW}Exécution du script generate.sh...${NC}"
|
|
||||||
if timeout 30 ./generate.sh >/dev/null 2>&1; then
|
|
||||||
print_result "Exécution script" "PASS" "Script s'exécute sans erreur fatale"
|
|
||||||
else
|
|
||||||
exit_code=$?
|
|
||||||
if [ $exit_code -eq 124 ]; then
|
|
||||||
print_result "Exécution script" "PASS" "Script s'exécute (timeout après 30s)"
|
|
||||||
else
|
|
||||||
print_result "Exécution script" "FAIL" "Script échoue avec code $exit_code"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Test 6: Vérifier les fichiers générés
|
|
||||||
echo -e "\n${YELLOW}🔍 Vérification des fichiers générés...${NC}"
|
|
||||||
|
|
||||||
# Vérifier si des fichiers ont été générés
|
|
||||||
GENERATED_FILES=(
|
|
||||||
"_4NK_modules/grafana/dashboards"
|
|
||||||
"_4NK_modules/promtail/promtail.yml"
|
|
||||||
"nginx/upstreams.conf"
|
|
||||||
"nginx/app-internal-ports.conf"
|
|
||||||
"nginx/proxy_headers.conf"
|
|
||||||
)
|
|
||||||
|
|
||||||
for file in "${GENERATED_FILES[@]}"; do
|
|
||||||
if [ -e "$file" ]; then
|
|
||||||
print_result "Fichier généré" "PASS" "$file créé"
|
|
||||||
else
|
|
||||||
print_result "Fichier généré" "FAIL" "$file non créé"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
# Test 7: Test des options
|
|
||||||
echo -e "\n${YELLOW}🔍 Test des options...${NC}"
|
|
||||||
|
|
||||||
# Test exécution normale (mode verbeux par défaut)
|
|
||||||
if timeout 10 ./generate.sh >/dev/null 2>&1; then
|
|
||||||
print_result "Exécution normale" "PASS" "Script fonctionne en mode verbeux par défaut"
|
|
||||||
else
|
|
||||||
exit_code=$?
|
|
||||||
if [ $exit_code -eq 124 ]; then
|
|
||||||
print_result "Exécution normale" "PASS" "Script fonctionne (timeout)"
|
|
||||||
else
|
|
||||||
print_result "Exécution normale" "FAIL" "Script échoue"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Test option invalide
|
|
||||||
if ./generate.sh --invalid-option >/dev/null 2>&1; then
|
|
||||||
print_result "Option invalide" "FAIL" "Option invalide acceptée"
|
|
||||||
else
|
|
||||||
print_result "Option invalide" "PASS" "Option invalide rejetée"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Test 8: Vérifier la structure des fichiers générés
|
|
||||||
echo -e "\n${YELLOW}🔍 Vérification du contenu des fichiers...${NC}"
|
|
||||||
|
|
||||||
# Vérifier upstreams.conf
|
|
||||||
if [ -f "nginx/upstreams.conf" ]; then
|
|
||||||
if grep -q "upstream" nginx/upstreams.conf; then
|
|
||||||
print_result "Contenu upstreams" "PASS" "upstreams.conf contient des upstreams"
|
|
||||||
else
|
|
||||||
print_result "Contenu upstreams" "FAIL" "upstreams.conf vide ou invalide"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if grep -q "log_format app_json" nginx/upstreams.conf; then
|
|
||||||
print_result "Format log JSON" "PASS" "Format de log JSON présent"
|
|
||||||
else
|
|
||||||
print_result "Format log JSON" "FAIL" "Format de log JSON manquant"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Vérifier proxy_headers.conf
|
|
||||||
if [ -f "nginx/proxy_headers.conf" ]; then
|
|
||||||
if grep -q "proxy_set_header Host" nginx/proxy_headers.conf; then
|
|
||||||
print_result "Headers proxy" "PASS" "Headers de proxy configurés"
|
|
||||||
else
|
|
||||||
print_result "Headers proxy" "FAIL" "Headers de proxy manquants"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Vérifier les dashboards Grafana
|
|
||||||
if [ -d "_4NK_modules/grafana/dashboards" ]; then
|
|
||||||
dashboard_count=$(find _4NK_modules/grafana/dashboards -name "*.json" | wc -l)
|
|
||||||
if [ $dashboard_count -gt 0 ]; then
|
|
||||||
print_result "Dashboards Grafana" "PASS" "$dashboard_count dashboards générés"
|
|
||||||
else
|
|
||||||
print_result "Dashboards Grafana" "FAIL" "Aucun dashboard généré"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Test 9: Nettoyage des fichiers de test
|
|
||||||
echo -e "\n${YELLOW}🧹 Nettoyage des fichiers de test...${NC}"
|
|
||||||
|
|
||||||
# Supprimer les fichiers générés par les tests
|
|
||||||
rm -rf nginx/ 2>/dev/null
|
|
||||||
rm -rf _4NK_modules/ 2>/dev/null
|
|
||||||
rm -rf logrotade/ 2>/dev/null
|
|
||||||
rm -f docker-compose.yml.auto 2>/dev/null
|
|
||||||
rm -f .env.auto 2>/dev/null
|
|
||||||
|
|
||||||
print_result "Nettoyage" "PASS" "Fichiers de test nettoyés"
|
|
||||||
|
|
||||||
# Résumé final
|
|
||||||
echo -e "\n${BLUE}📊 RÉSUMÉ DES TESTS${NC}"
|
|
||||||
echo -e "${BLUE}==================${NC}"
|
|
||||||
echo -e "Total des tests: ${BLUE}$TOTAL_TESTS${NC}"
|
|
||||||
echo -e "Tests réussis: ${GREEN}$TESTS_PASSED${NC}"
|
|
||||||
echo -e "Tests échoués: ${RED}$TESTS_FAILED${NC}"
|
|
||||||
|
|
||||||
if [ $TESTS_FAILED -eq 0 ]; then
|
|
||||||
echo -e "\n${GREEN}🎉 TOUS LES TESTS SONT PASSÉS !${NC}"
|
|
||||||
echo "Le script generate.sh fonctionne correctement."
|
|
||||||
exit 0
|
|
||||||
else
|
|
||||||
echo -e "\n${RED}⚠️ CERTAINS TESTS ONT ÉCHOUÉ${NC}"
|
|
||||||
echo "Vérifiez les erreurs ci-dessus."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
2
templates/.gitkeep
Normal file
2
templates/.gitkeep
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Ce fichier garantit que le répertoire storage/ est présent dans Git
|
||||||
|
./
|
||||||
242
templates/README.md
Normal file
242
templates/README.md
Normal file
@ -0,0 +1,242 @@
|
|||||||
|
# Système de Templates 4NK Vault
|
||||||
|
|
||||||
|
## 🎯 Vue d'ensemble
|
||||||
|
|
||||||
|
Le répertoire `templates/` contient tous les fichiers sources avec variables d'environnement qui sont utilisés pour générer automatiquement les configurations finales dans `storage/`.
|
||||||
|
|
||||||
|
## 📁 Structure
|
||||||
|
|
||||||
|
```
|
||||||
|
templates/
|
||||||
|
├── dev/ # Templates pour l'environnement de développement
|
||||||
|
│ ├── generate.sh # Script principal d'orchestration
|
||||||
|
│ ├── generate_variables.sh # Génération des variables d'environnement
|
||||||
|
│ ├── generate_grafana_dashboards.sh # Génération des dashboards Grafana
|
||||||
|
│ ├── generate_promtail_config.sh # Génération de la config Promtail
|
||||||
|
│ ├── generate_logrotate_configs.sh # Génération des configs logrotate
|
||||||
|
│ ├── generate_nginx_configs.sh # Génération des configs nginx
|
||||||
|
│ ├── replace_variables_and_copy.sh # Résolution des variables + copie
|
||||||
|
│ ├── .env.secrets # Variables sensibles
|
||||||
|
│ ├── .env # Variables principales
|
||||||
|
│ ├── .env.post # Variables finales/composites
|
||||||
|
│ ├── _4NK_modules/ # Modules avec configurations
|
||||||
|
│ ├── 4NK_modules/ # Modules générés (Grafana, Promtail)
|
||||||
|
│ ├── logrotade/ # Configurations logrotate
|
||||||
|
│ └── nginx/ # Configurations nginx
|
||||||
|
└── prod/ # Templates pour l'environnement de production
|
||||||
|
```
|
||||||
|
|
||||||
|
## 🚀 Utilisation Rapide
|
||||||
|
|
||||||
|
### Génération Complète
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Générer toutes les configurations
|
||||||
|
cd templates/dev
|
||||||
|
./generate.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
### Génération Étape par Étape
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# 1. Générer les variables d'environnement
|
||||||
|
./generate_variables.sh
|
||||||
|
|
||||||
|
# 2. Générer les dashboards Grafana
|
||||||
|
./generate_grafana_dashboards.sh
|
||||||
|
|
||||||
|
# 3. Générer la configuration Promtail
|
||||||
|
./generate_promtail_config.sh
|
||||||
|
|
||||||
|
# 4. Générer les configurations logrotate
|
||||||
|
./generate_logrotate_configs.sh
|
||||||
|
|
||||||
|
# 5. Générer les configurations nginx
|
||||||
|
./generate_nginx_configs.sh
|
||||||
|
|
||||||
|
# 6. Résoudre les variables et copier vers storage/
|
||||||
|
./replace_variables_and_copy.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
## 🔧 Configuration
|
||||||
|
|
||||||
|
### Variables d'Environnement
|
||||||
|
|
||||||
|
#### `.env.secrets`
|
||||||
|
Variables sensibles (ne sont jamais copiées dans storage/)
|
||||||
|
```bash
|
||||||
|
# Variables sensibles
|
||||||
|
API_SECRET_KEY=secret_value
|
||||||
|
DATABASE_PASSWORD=password
|
||||||
|
```
|
||||||
|
|
||||||
|
#### `.env`
|
||||||
|
Variables principales du système
|
||||||
|
```bash
|
||||||
|
# Configuration de base
|
||||||
|
ROOT_DIR=/home/debian/_4NK_env
|
||||||
|
DOMAIN=_4NKweb.com
|
||||||
|
HOST=dev4.$DOMAIN
|
||||||
|
|
||||||
|
# Services
|
||||||
|
export SERVICES=(
|
||||||
|
"REDIS"
|
||||||
|
"POSTGRESQL"
|
||||||
|
"BITCOIN"
|
||||||
|
# ...
|
||||||
|
)
|
||||||
|
|
||||||
|
# Services externes
|
||||||
|
export SERVICES_EXTERNAL=(
|
||||||
|
"BOOTSTRAP"
|
||||||
|
"LECOFFRE_BACK_MINI"
|
||||||
|
)
|
||||||
|
```
|
||||||
|
|
||||||
|
#### `.env.post`
|
||||||
|
Variables composites et finales
|
||||||
|
```bash
|
||||||
|
# URLs composites
|
||||||
|
SDK_RELAY_BOOSTRAP_URL=$BOOTSTRAP_URL_WS_EXTERNAL
|
||||||
|
RELAY_URLS=$SDK_RELAY_URL,$SDK_RELAY_BOOSTRAP_URL
|
||||||
|
BITCOIN_RPC_URL=http://$BITCOIN_DOCKER_NAME:$BITCOIN_SIGNET_RPC_PORT
|
||||||
|
```
|
||||||
|
|
||||||
|
### Templates de Fichiers
|
||||||
|
|
||||||
|
Les fichiers dans les sous-répertoires utilisent la syntaxe de variables :
|
||||||
|
- `$VARIABLE` - Variable simple
|
||||||
|
- `${VARIABLE}` - Variable avec accolades
|
||||||
|
- `$VARIABLE_SUFFIX` - Variable avec suffixe
|
||||||
|
|
||||||
|
**Exemple :**
|
||||||
|
```bash
|
||||||
|
# Dans bitcoin.conf
|
||||||
|
datadir=$BITCOIN_DATAS_DIR
|
||||||
|
rpcuser=$BITCOIN_RPC_USER
|
||||||
|
rpcpassword=$BITCOIN_RPC_PASSWORD
|
||||||
|
```
|
||||||
|
|
||||||
|
## 📋 Scripts Disponibles
|
||||||
|
|
||||||
|
### `generate.sh`
|
||||||
|
Script principal qui orchestre tous les autres scripts.
|
||||||
|
|
||||||
|
**Fonctionnalités :**
|
||||||
|
- Exécution séquentielle de tous les scripts de génération
|
||||||
|
- Gestion des erreurs et rollback
|
||||||
|
- Logs détaillés du processus
|
||||||
|
- Validation des prérequis
|
||||||
|
|
||||||
|
### `generate_variables.sh`
|
||||||
|
Génère les variables d'environnement et le fichier Docker Compose.
|
||||||
|
|
||||||
|
**Génère :**
|
||||||
|
- `.env.auto` - Variables générées avec références
|
||||||
|
- `docker-compose.yml.auto` - Docker Compose avec variables
|
||||||
|
|
||||||
|
### `generate_grafana_dashboards.sh`
|
||||||
|
Génère automatiquement les dashboards Grafana.
|
||||||
|
|
||||||
|
**Types de dashboards :**
|
||||||
|
- Services Overview
|
||||||
|
- Bitcoin Services
|
||||||
|
- Frontend Services
|
||||||
|
- SDK Services
|
||||||
|
|
||||||
|
### `generate_promtail_config.sh`
|
||||||
|
Génère la configuration Promtail pour la collecte de logs.
|
||||||
|
|
||||||
|
### `generate_logrotate_configs.sh`
|
||||||
|
Génère les configurations logrotate pour tous les services.
|
||||||
|
|
||||||
|
### `generate_nginx_configs.sh`
|
||||||
|
Génère les configurations nginx (upstreams, HTTPS, etc.).
|
||||||
|
|
||||||
|
### `replace_variables_and_copy.sh`
|
||||||
|
Résout toutes les variables et copie les fichiers vers `storage/`.
|
||||||
|
|
||||||
|
**Fonctionnalités :**
|
||||||
|
- Chargement séquentiel des fichiers `.env`
|
||||||
|
- Résolution multi-passes (jusqu'à 5 passes)
|
||||||
|
- Copie sélective (exclusion des fichiers sensibles)
|
||||||
|
- Validation des variables résolues
|
||||||
|
|
||||||
|
## 🔒 Sécurité
|
||||||
|
|
||||||
|
### Protection des Templates
|
||||||
|
- Les fichiers dans `templates/` ne sont jamais modifiés par l'API
|
||||||
|
- Seuls les fichiers dans `storage/` sont accessibles via l'API
|
||||||
|
- Les fichiers `.env.secrets` ne sont jamais copiés
|
||||||
|
|
||||||
|
### Isolation des Environnements
|
||||||
|
- Chaque environnement (`dev`, `prod`) a ses propres templates
|
||||||
|
- Variables d'environnement isolées par environnement
|
||||||
|
- Pas de fuite de données entre environnements
|
||||||
|
|
||||||
|
## 🛠️ Maintenance
|
||||||
|
|
||||||
|
### Ajout d'un Nouveau Service
|
||||||
|
|
||||||
|
1. **Ajouter le service dans `.env` :**
|
||||||
|
```bash
|
||||||
|
export SERVICES=(
|
||||||
|
"REDIS"
|
||||||
|
"POSTGRESQL"
|
||||||
|
"NOUVEAU_SERVICE" # Ajouter ici
|
||||||
|
# ...
|
||||||
|
)
|
||||||
|
```
|
||||||
|
|
||||||
|
2. **Définir les variables du service :**
|
||||||
|
```bash
|
||||||
|
NOUVEAU_SERVICE=nouveau_service
|
||||||
|
NOUVEAU_SERVICE_IMAGE=image:tag
|
||||||
|
NOUVEAU_SERVICE_PORT=8080:8080
|
||||||
|
```
|
||||||
|
|
||||||
|
3. **Régénérer les configurations :**
|
||||||
|
```bash
|
||||||
|
cd templates/dev
|
||||||
|
./generate.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
### Modification des Variables
|
||||||
|
|
||||||
|
1. **Modifier les fichiers appropriés** dans `templates/dev/`
|
||||||
|
2. **Régénérer les configurations :**
|
||||||
|
```bash
|
||||||
|
cd templates/dev
|
||||||
|
./generate.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
3. **Vérifier les résultats** dans `storage/dev/`
|
||||||
|
|
||||||
|
## 📊 Monitoring
|
||||||
|
|
||||||
|
### Logs de Génération
|
||||||
|
|
||||||
|
Les scripts fournissent des logs détaillés :
|
||||||
|
- Nombre de variables chargées
|
||||||
|
- Fichiers traités et copiés
|
||||||
|
- Erreurs de résolution des variables
|
||||||
|
|
||||||
|
### Validation
|
||||||
|
|
||||||
|
- Vérification automatique des variables non résolues
|
||||||
|
- Protection contre les dépendances circulaires
|
||||||
|
- Validation des chemins et permissions
|
||||||
|
|
||||||
|
## 🔄 Intégration
|
||||||
|
|
||||||
|
### Avec l'API
|
||||||
|
L'API 4NK Vault lit uniquement les fichiers dans `storage/<env>/` après génération.
|
||||||
|
|
||||||
|
### Avec CI/CD
|
||||||
|
Les scripts de génération peuvent être intégrés dans des pipelines CI/CD pour automatiser le déploiement.
|
||||||
|
|
||||||
|
## 📚 Documentation
|
||||||
|
|
||||||
|
- **`docs/templates-system.md`** - Documentation complète du système
|
||||||
|
- **`../README.md`** - Documentation principale du projet
|
||||||
|
- **`../CHANGELOG.md`** - Historique des modifications
|
||||||
@ -9,8 +9,8 @@ COMPOSE_LOG_LEVEL=WARNING
|
|||||||
NODE_OPTIONS="--max-old-space-size=4096"
|
NODE_OPTIONS="--max-old-space-size=4096"
|
||||||
NODE_ENV=production
|
NODE_ENV=production
|
||||||
ROOT_DIR=/home/debian/_4NK_env
|
ROOT_DIR=/home/debian/_4NK_env
|
||||||
DOCKER_GLOBAL_NAME=projects/lecoffre/$DOCKER_GLOBAL_NAME
|
DOCKER_GLOBAL_NAME=projects/lecoffre/lecoffre_node
|
||||||
DOCKER_GLOBAL=$ROOT_DIR/DOCKER_GLOBAL_NAME
|
DOCKER_GLOBAL=$ROOT_DIR/$DOCKER_GLOBAL_NAME
|
||||||
NGINX_LOGS_DIR=$DOCKER_GLOBAL/logs/nginx
|
NGINX_LOGS_DIR=$DOCKER_GLOBAL/logs/nginx
|
||||||
SUPERVISOR_LOGS_DIR=$DOCKER_GLOBAL/logs/supervisor
|
SUPERVISOR_LOGS_DIR=$DOCKER_GLOBAL/logs/supervisor
|
||||||
LOGROTATE_CONF_DIR=$DOCKER_GLOBAL/confs/logrotate
|
LOGROTATE_CONF_DIR=$DOCKER_GLOBAL/confs/logrotate
|
||||||
491
templates/dev/.env.auto
Normal file
491
templates/dev/.env.auto
Normal file
@ -0,0 +1,491 @@
|
|||||||
|
# ====== INTERNAL REDIS ======
|
||||||
|
|
||||||
|
REDIS_DOCKER_NAME=$REDIS
|
||||||
|
REDIS_CONFS_DIR=$DOCKER_GLOBAL/confs/$REDIS
|
||||||
|
REDIS_LOGS_DIR=$DOCKER_GLOBAL/logs/$REDIS
|
||||||
|
REDIS_RUNS_DIR=$DOCKER_GLOBAL/runs/$REDIS
|
||||||
|
REDIS_DATAS_DIR=$DOCKER_GLOBAL/datas/$REDIS
|
||||||
|
REDIS_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$REDIS
|
||||||
|
REDIS_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$REDIS
|
||||||
|
REDIS_DOCKER_WORKING_DIR=/home/$REDIS
|
||||||
|
|
||||||
|
${VARIABLE}_DOCKER_CONFS_DIR=$DOCKER_GLOBAL/confs/$REDIS
|
||||||
|
${VARIABLE}_DOCKER_LOGS_DIR=$DOCKER_GLOBAL/logs/$REDIS
|
||||||
|
${VARIABLE}_DOCKER_RUNS_DIR=$DOCKER_GLOBAL/runs/$REDIS
|
||||||
|
${VARIABLE}_DOCKER_DATAS_DIR=$DOCKER_GLOBAL/datas/$REDIS
|
||||||
|
${VARIABLE}_DOCKER_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$REDIS
|
||||||
|
${VARIABLE}_DOCKER_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$REDIS
|
||||||
|
REDIS_DOCKER_WORKING_DIR=/home/$REDIS
|
||||||
|
|
||||||
|
REDIS_DOCKER_WORKING_DIR_CREATE="id -u $REDIS >/dev/null 2>&1 || adduser --disabled-password --gecos '' $REDIS; chown -R $REDIS:$REDIS /home/root/.$REDIS || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
||||||
|
${VARIABLE}_DOCKER_PORT=$REDIS_PORT
|
||||||
|
REDIS_URL_ROUTE=/$REDIS
|
||||||
|
${VARIABLE}_URL=http://$REDIS_DOCKER_NAME:$REDIS_DOCKER_PORT
|
||||||
|
REDIS_URL_EXTERNAL=https://$HOST$REDIS_URL_ROUTE
|
||||||
|
${VARIABLE}_URL_WS=ws://$REDIS_DOCKER_PORT
|
||||||
|
REDIS_URL_WS_EXTERNAL=wss://$HOST\ws
|
||||||
|
|
||||||
|
|
||||||
|
# ====== INTERNAL POSTGRESQL ======
|
||||||
|
|
||||||
|
POSTGRESQL_DOCKER_NAME=$POSTGRESQL
|
||||||
|
POSTGRESQL_CONFS_DIR=$DOCKER_GLOBAL/confs/$POSTGRESQL
|
||||||
|
POSTGRESQL_LOGS_DIR=$DOCKER_GLOBAL/logs/$POSTGRESQL
|
||||||
|
POSTGRESQL_RUNS_DIR=$DOCKER_GLOBAL/runs/$POSTGRESQL
|
||||||
|
POSTGRESQL_DATAS_DIR=$DOCKER_GLOBAL/datas/$POSTGRESQL
|
||||||
|
POSTGRESQL_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$POSTGRESQL
|
||||||
|
POSTGRESQL_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$POSTGRESQL
|
||||||
|
POSTGRESQL_DOCKER_WORKING_DIR=/home/$POSTGRESQL
|
||||||
|
|
||||||
|
${VARIABLE}_DOCKER_CONFS_DIR=$DOCKER_GLOBAL/confs/$POSTGRESQL
|
||||||
|
${VARIABLE}_DOCKER_LOGS_DIR=$DOCKER_GLOBAL/logs/$POSTGRESQL
|
||||||
|
${VARIABLE}_DOCKER_RUNS_DIR=$DOCKER_GLOBAL/runs/$POSTGRESQL
|
||||||
|
${VARIABLE}_DOCKER_DATAS_DIR=$DOCKER_GLOBAL/datas/$POSTGRESQL
|
||||||
|
${VARIABLE}_DOCKER_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$POSTGRESQL
|
||||||
|
${VARIABLE}_DOCKER_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$POSTGRESQL
|
||||||
|
POSTGRESQL_DOCKER_WORKING_DIR=/home/$POSTGRESQL
|
||||||
|
|
||||||
|
POSTGRESQL_DOCKER_WORKING_DIR_CREATE="id -u $POSTGRESQL >/dev/null 2>&1 || adduser --disabled-password --gecos '' $POSTGRESQL; chown -R $POSTGRESQL:$POSTGRESQL /home/root/.$POSTGRESQL || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
||||||
|
${VARIABLE}_DOCKER_PORT=$POSTGRESQL_PORT
|
||||||
|
POSTGRESQL_URL_ROUTE=/$POSTGRESQL
|
||||||
|
${VARIABLE}_URL=http://$POSTGRESQL_DOCKER_NAME:$POSTGRESQL_DOCKER_PORT
|
||||||
|
POSTGRESQL_URL_EXTERNAL=https://$HOST$POSTGRESQL_URL_ROUTE
|
||||||
|
${VARIABLE}_URL_WS=ws://$POSTGRESQL_DOCKER_PORT
|
||||||
|
POSTGRESQL_URL_WS_EXTERNAL=wss://$HOST\ws
|
||||||
|
|
||||||
|
|
||||||
|
# ====== INTERNAL LOKI ======
|
||||||
|
|
||||||
|
LOKI_DOCKER_NAME=$LOKI
|
||||||
|
LOKI_CONFS_DIR=$DOCKER_GLOBAL/confs/$LOKI
|
||||||
|
LOKI_LOGS_DIR=$DOCKER_GLOBAL/logs/$LOKI
|
||||||
|
LOKI_RUNS_DIR=$DOCKER_GLOBAL/runs/$LOKI
|
||||||
|
LOKI_DATAS_DIR=$DOCKER_GLOBAL/datas/$LOKI
|
||||||
|
LOKI_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$LOKI
|
||||||
|
LOKI_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$LOKI
|
||||||
|
LOKI_DOCKER_WORKING_DIR=/home/$LOKI
|
||||||
|
|
||||||
|
${VARIABLE}_DOCKER_CONFS_DIR=$DOCKER_GLOBAL/confs/$LOKI
|
||||||
|
${VARIABLE}_DOCKER_LOGS_DIR=$DOCKER_GLOBAL/logs/$LOKI
|
||||||
|
${VARIABLE}_DOCKER_RUNS_DIR=$DOCKER_GLOBAL/runs/$LOKI
|
||||||
|
${VARIABLE}_DOCKER_DATAS_DIR=$DOCKER_GLOBAL/datas/$LOKI
|
||||||
|
${VARIABLE}_DOCKER_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$LOKI
|
||||||
|
${VARIABLE}_DOCKER_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$LOKI
|
||||||
|
LOKI_DOCKER_WORKING_DIR=/home/$LOKI
|
||||||
|
|
||||||
|
LOKI_DOCKER_WORKING_DIR_CREATE="id -u $LOKI >/dev/null 2>&1 || adduser --disabled-password --gecos '' $LOKI; chown -R $LOKI:$LOKI /home/root/.$LOKI || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
||||||
|
${VARIABLE}_DOCKER_PORT=$LOKI_PORT
|
||||||
|
LOKI_URL_ROUTE=/$LOKI
|
||||||
|
${VARIABLE}_URL=http://$LOKI_DOCKER_NAME:$LOKI_DOCKER_PORT
|
||||||
|
LOKI_URL_EXTERNAL=https://$HOST$LOKI_URL_ROUTE
|
||||||
|
${VARIABLE}_URL_WS=ws://$LOKI_DOCKER_PORT
|
||||||
|
LOKI_URL_WS_EXTERNAL=wss://$HOST\ws
|
||||||
|
|
||||||
|
|
||||||
|
# ====== INTERNAL PROMTAIL ======
|
||||||
|
|
||||||
|
PROMTAIL_DOCKER_NAME=$PROMTAIL
|
||||||
|
PROMTAIL_CONFS_DIR=$DOCKER_GLOBAL/confs/$PROMTAIL
|
||||||
|
PROMTAIL_LOGS_DIR=$DOCKER_GLOBAL/logs/$PROMTAIL
|
||||||
|
PROMTAIL_RUNS_DIR=$DOCKER_GLOBAL/runs/$PROMTAIL
|
||||||
|
PROMTAIL_DATAS_DIR=$DOCKER_GLOBAL/datas/$PROMTAIL
|
||||||
|
PROMTAIL_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$PROMTAIL
|
||||||
|
PROMTAIL_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$PROMTAIL
|
||||||
|
PROMTAIL_DOCKER_WORKING_DIR=/home/$PROMTAIL
|
||||||
|
|
||||||
|
${VARIABLE}_DOCKER_CONFS_DIR=$DOCKER_GLOBAL/confs/$PROMTAIL
|
||||||
|
${VARIABLE}_DOCKER_LOGS_DIR=$DOCKER_GLOBAL/logs/$PROMTAIL
|
||||||
|
${VARIABLE}_DOCKER_RUNS_DIR=$DOCKER_GLOBAL/runs/$PROMTAIL
|
||||||
|
${VARIABLE}_DOCKER_DATAS_DIR=$DOCKER_GLOBAL/datas/$PROMTAIL
|
||||||
|
${VARIABLE}_DOCKER_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$PROMTAIL
|
||||||
|
${VARIABLE}_DOCKER_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$PROMTAIL
|
||||||
|
PROMTAIL_DOCKER_WORKING_DIR=/home/$PROMTAIL
|
||||||
|
|
||||||
|
PROMTAIL_DOCKER_WORKING_DIR_CREATE="id -u $PROMTAIL >/dev/null 2>&1 || adduser --disabled-password --gecos '' $PROMTAIL; chown -R $PROMTAIL:$PROMTAIL /home/root/.$PROMTAIL || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
||||||
|
${VARIABLE}_DOCKER_PORT=$PROMTAIL_PORT
|
||||||
|
PROMTAIL_URL_ROUTE=/$PROMTAIL
|
||||||
|
${VARIABLE}_URL=http://$PROMTAIL_DOCKER_NAME:$PROMTAIL_DOCKER_PORT
|
||||||
|
PROMTAIL_URL_EXTERNAL=https://$HOST$PROMTAIL_URL_ROUTE
|
||||||
|
${VARIABLE}_URL_WS=ws://$PROMTAIL_DOCKER_PORT
|
||||||
|
PROMTAIL_URL_WS_EXTERNAL=wss://$HOST\ws
|
||||||
|
|
||||||
|
|
||||||
|
# ====== INTERNAL GRAFANA ======
|
||||||
|
|
||||||
|
GRAFANA_DOCKER_NAME=$GRAFANA
|
||||||
|
GRAFANA_CONFS_DIR=$DOCKER_GLOBAL/confs/$GRAFANA
|
||||||
|
GRAFANA_LOGS_DIR=$DOCKER_GLOBAL/logs/$GRAFANA
|
||||||
|
GRAFANA_RUNS_DIR=$DOCKER_GLOBAL/runs/$GRAFANA
|
||||||
|
GRAFANA_DATAS_DIR=$DOCKER_GLOBAL/datas/$GRAFANA
|
||||||
|
GRAFANA_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$GRAFANA
|
||||||
|
GRAFANA_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$GRAFANA
|
||||||
|
GRAFANA_DOCKER_WORKING_DIR=/home/$GRAFANA
|
||||||
|
|
||||||
|
${VARIABLE}_DOCKER_CONFS_DIR=$DOCKER_GLOBAL/confs/$GRAFANA
|
||||||
|
${VARIABLE}_DOCKER_LOGS_DIR=$DOCKER_GLOBAL/logs/$GRAFANA
|
||||||
|
${VARIABLE}_DOCKER_RUNS_DIR=$DOCKER_GLOBAL/runs/$GRAFANA
|
||||||
|
${VARIABLE}_DOCKER_DATAS_DIR=$DOCKER_GLOBAL/datas/$GRAFANA
|
||||||
|
${VARIABLE}_DOCKER_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$GRAFANA
|
||||||
|
${VARIABLE}_DOCKER_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$GRAFANA
|
||||||
|
GRAFANA_DOCKER_WORKING_DIR=/home/$GRAFANA
|
||||||
|
|
||||||
|
GRAFANA_DOCKER_WORKING_DIR_CREATE="id -u $GRAFANA >/dev/null 2>&1 || adduser --disabled-password --gecos '' $GRAFANA; chown -R $GRAFANA:$GRAFANA /home/root/.$GRAFANA || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
||||||
|
${VARIABLE}_DOCKER_PORT=$GRAFANA_PORT
|
||||||
|
GRAFANA_URL_ROUTE=/$GRAFANA
|
||||||
|
${VARIABLE}_URL=http://$GRAFANA_DOCKER_NAME:$GRAFANA_DOCKER_PORT
|
||||||
|
GRAFANA_URL_EXTERNAL=https://$HOST$GRAFANA_URL_ROUTE
|
||||||
|
${VARIABLE}_URL_WS=ws://$GRAFANA_DOCKER_PORT
|
||||||
|
GRAFANA_URL_WS_EXTERNAL=wss://$HOST\ws
|
||||||
|
|
||||||
|
|
||||||
|
# ====== INTERNAL NGNIX ======
|
||||||
|
|
||||||
|
NGNIX_DOCKER_NAME=$NGNIX
|
||||||
|
NGNIX_CONFS_DIR=$DOCKER_GLOBAL/confs/$NGNIX
|
||||||
|
NGNIX_LOGS_DIR=$DOCKER_GLOBAL/logs/$NGNIX
|
||||||
|
NGNIX_RUNS_DIR=$DOCKER_GLOBAL/runs/$NGNIX
|
||||||
|
NGNIX_DATAS_DIR=$DOCKER_GLOBAL/datas/$NGNIX
|
||||||
|
NGNIX_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$NGNIX
|
||||||
|
NGNIX_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$NGNIX
|
||||||
|
NGNIX_DOCKER_WORKING_DIR=/home/$NGNIX
|
||||||
|
|
||||||
|
${VARIABLE}_DOCKER_CONFS_DIR=$DOCKER_GLOBAL/confs/$NGNIX
|
||||||
|
${VARIABLE}_DOCKER_LOGS_DIR=$DOCKER_GLOBAL/logs/$NGNIX
|
||||||
|
${VARIABLE}_DOCKER_RUNS_DIR=$DOCKER_GLOBAL/runs/$NGNIX
|
||||||
|
${VARIABLE}_DOCKER_DATAS_DIR=$DOCKER_GLOBAL/datas/$NGNIX
|
||||||
|
${VARIABLE}_DOCKER_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$NGNIX
|
||||||
|
${VARIABLE}_DOCKER_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$NGNIX
|
||||||
|
NGNIX_DOCKER_WORKING_DIR=/home/$NGNIX
|
||||||
|
|
||||||
|
NGNIX_DOCKER_WORKING_DIR_CREATE="id -u $NGNIX >/dev/null 2>&1 || adduser --disabled-password --gecos '' $NGNIX; chown -R $NGNIX:$NGNIX /home/root/.$NGNIX || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
||||||
|
${VARIABLE}_DOCKER_PORT=$NGNIX_PORT
|
||||||
|
NGNIX_URL_ROUTE=/$NGNIX
|
||||||
|
${VARIABLE}_URL=http://$NGNIX_DOCKER_NAME:$NGNIX_DOCKER_PORT
|
||||||
|
NGNIX_URL_EXTERNAL=https://$HOST$NGNIX_URL_ROUTE
|
||||||
|
${VARIABLE}_URL_WS=ws://$NGNIX_DOCKER_PORT
|
||||||
|
NGNIX_URL_WS_EXTERNAL=wss://$HOST\ws
|
||||||
|
|
||||||
|
|
||||||
|
# ====== INTERNAL TOR ======
|
||||||
|
|
||||||
|
TOR_DOCKER_NAME=$TOR
|
||||||
|
TOR_CONFS_DIR=$DOCKER_GLOBAL/confs/$TOR
|
||||||
|
TOR_LOGS_DIR=$DOCKER_GLOBAL/logs/$TOR
|
||||||
|
TOR_RUNS_DIR=$DOCKER_GLOBAL/runs/$TOR
|
||||||
|
TOR_DATAS_DIR=$DOCKER_GLOBAL/datas/$TOR
|
||||||
|
TOR_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$TOR
|
||||||
|
TOR_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$TOR
|
||||||
|
TOR_DOCKER_WORKING_DIR=/home/$TOR
|
||||||
|
|
||||||
|
${VARIABLE}_DOCKER_CONFS_DIR=$DOCKER_GLOBAL/confs/$TOR
|
||||||
|
${VARIABLE}_DOCKER_LOGS_DIR=$DOCKER_GLOBAL/logs/$TOR
|
||||||
|
${VARIABLE}_DOCKER_RUNS_DIR=$DOCKER_GLOBAL/runs/$TOR
|
||||||
|
${VARIABLE}_DOCKER_DATAS_DIR=$DOCKER_GLOBAL/datas/$TOR
|
||||||
|
${VARIABLE}_DOCKER_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$TOR
|
||||||
|
${VARIABLE}_DOCKER_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$TOR
|
||||||
|
TOR_DOCKER_WORKING_DIR=/home/$TOR
|
||||||
|
|
||||||
|
TOR_DOCKER_WORKING_DIR_CREATE="id -u $TOR >/dev/null 2>&1 || adduser --disabled-password --gecos '' $TOR; chown -R $TOR:$TOR /home/root/.$TOR || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
||||||
|
${VARIABLE}_DOCKER_PORT=$TOR_PORT
|
||||||
|
TOR_URL_ROUTE=/$TOR
|
||||||
|
${VARIABLE}_URL=http://$TOR_DOCKER_NAME:$TOR_DOCKER_PORT
|
||||||
|
TOR_URL_EXTERNAL=https://$HOST$TOR_URL_ROUTE
|
||||||
|
${VARIABLE}_URL_WS=ws://$TOR_DOCKER_PORT
|
||||||
|
TOR_URL_WS_EXTERNAL=wss://$HOST\ws
|
||||||
|
|
||||||
|
|
||||||
|
# ====== INTERNAL _4NK_VAULT ======
|
||||||
|
|
||||||
|
_4NK_VAULT_DOCKER_NAME=$_4NK_VAULT
|
||||||
|
_4NK_VAULT_CONFS_DIR=$DOCKER_GLOBAL/confs/$_4NK_VAULT
|
||||||
|
_4NK_VAULT_LOGS_DIR=$DOCKER_GLOBAL/logs/$_4NK_VAULT
|
||||||
|
_4NK_VAULT_RUNS_DIR=$DOCKER_GLOBAL/runs/$_4NK_VAULT
|
||||||
|
_4NK_VAULT_DATAS_DIR=$DOCKER_GLOBAL/datas/$_4NK_VAULT
|
||||||
|
_4NK_VAULT_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$_4NK_VAULT
|
||||||
|
_4NK_VAULT_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$_4NK_VAULT
|
||||||
|
_4NK_VAULT_DOCKER_WORKING_DIR=/home/$_4NK_VAULT
|
||||||
|
|
||||||
|
${VARIABLE}_DOCKER_CONFS_DIR=$DOCKER_GLOBAL/confs/$_4NK_VAULT
|
||||||
|
${VARIABLE}_DOCKER_LOGS_DIR=$DOCKER_GLOBAL/logs/$_4NK_VAULT
|
||||||
|
${VARIABLE}_DOCKER_RUNS_DIR=$DOCKER_GLOBAL/runs/$_4NK_VAULT
|
||||||
|
${VARIABLE}_DOCKER_DATAS_DIR=$DOCKER_GLOBAL/datas/$_4NK_VAULT
|
||||||
|
${VARIABLE}_DOCKER_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$_4NK_VAULT
|
||||||
|
${VARIABLE}_DOCKER_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$_4NK_VAULT
|
||||||
|
_4NK_VAULT_DOCKER_WORKING_DIR=/home/$_4NK_VAULT
|
||||||
|
|
||||||
|
_4NK_VAULT_DOCKER_WORKING_DIR_CREATE="id -u $_4NK_VAULT >/dev/null 2>&1 || adduser --disabled-password --gecos '' $_4NK_VAULT; chown -R $_4NK_VAULT:$_4NK_VAULT /home/root/.$_4NK_VAULT || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
||||||
|
${VARIABLE}_DOCKER_PORT=$_4NK_VAULT_PORT
|
||||||
|
_4NK_VAULT_URL_ROUTE=/$_4NK_VAULT
|
||||||
|
${VARIABLE}_URL=http://$_4NK_VAULT_DOCKER_NAME:$_4NK_VAULT_DOCKER_PORT
|
||||||
|
_4NK_VAULT_URL_EXTERNAL=https://$HOST$_4NK_VAULT_URL_ROUTE
|
||||||
|
${VARIABLE}_URL_WS=ws://$_4NK_VAULT_DOCKER_PORT
|
||||||
|
_4NK_VAULT_URL_WS_EXTERNAL=wss://$HOST\ws
|
||||||
|
|
||||||
|
|
||||||
|
# ====== INTERNAL BITCOIN ======
|
||||||
|
|
||||||
|
BITCOIN_DOCKER_NAME=$BITCOIN
|
||||||
|
BITCOIN_CONFS_DIR=$DOCKER_GLOBAL/confs/$BITCOIN
|
||||||
|
BITCOIN_LOGS_DIR=$DOCKER_GLOBAL/logs/$BITCOIN
|
||||||
|
BITCOIN_RUNS_DIR=$DOCKER_GLOBAL/runs/$BITCOIN
|
||||||
|
BITCOIN_DATAS_DIR=$DOCKER_GLOBAL/datas/$BITCOIN
|
||||||
|
BITCOIN_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$BITCOIN
|
||||||
|
BITCOIN_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$BITCOIN
|
||||||
|
BITCOIN_DOCKER_WORKING_DIR=/home/$BITCOIN
|
||||||
|
|
||||||
|
${VARIABLE}_DOCKER_CONFS_DIR=$DOCKER_GLOBAL/confs/$BITCOIN
|
||||||
|
${VARIABLE}_DOCKER_LOGS_DIR=$DOCKER_GLOBAL/logs/$BITCOIN
|
||||||
|
${VARIABLE}_DOCKER_RUNS_DIR=$DOCKER_GLOBAL/runs/$BITCOIN
|
||||||
|
${VARIABLE}_DOCKER_DATAS_DIR=$DOCKER_GLOBAL/datas/$BITCOIN
|
||||||
|
${VARIABLE}_DOCKER_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$BITCOIN
|
||||||
|
${VARIABLE}_DOCKER_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$BITCOIN
|
||||||
|
BITCOIN_DOCKER_WORKING_DIR=/home/$BITCOIN
|
||||||
|
|
||||||
|
BITCOIN_DOCKER_WORKING_DIR_CREATE="id -u $BITCOIN >/dev/null 2>&1 || adduser --disabled-password --gecos '' $BITCOIN; chown -R $BITCOIN:$BITCOIN /home/root/.$BITCOIN || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
||||||
|
${VARIABLE}_DOCKER_PORT=$BITCOIN_PORT
|
||||||
|
BITCOIN_URL_ROUTE=/$BITCOIN
|
||||||
|
${VARIABLE}_URL=http://$BITCOIN_DOCKER_NAME:$BITCOIN_DOCKER_PORT
|
||||||
|
BITCOIN_URL_EXTERNAL=https://$HOST$BITCOIN_URL_ROUTE
|
||||||
|
${VARIABLE}_URL_WS=ws://$BITCOIN_DOCKER_PORT
|
||||||
|
BITCOIN_URL_WS_EXTERNAL=wss://$HOST\ws
|
||||||
|
|
||||||
|
|
||||||
|
# ====== INTERNAL BLINDBIT_ORACLE ======
|
||||||
|
|
||||||
|
BLINDBIT_ORACLE_DOCKER_NAME=$BLINDBIT_ORACLE
|
||||||
|
BLINDBIT_ORACLE_CONFS_DIR=$DOCKER_GLOBAL/confs/$BLINDBIT_ORACLE
|
||||||
|
BLINDBIT_ORACLE_LOGS_DIR=$DOCKER_GLOBAL/logs/$BLINDBIT_ORACLE
|
||||||
|
BLINDBIT_ORACLE_RUNS_DIR=$DOCKER_GLOBAL/runs/$BLINDBIT_ORACLE
|
||||||
|
BLINDBIT_ORACLE_DATAS_DIR=$DOCKER_GLOBAL/datas/$BLINDBIT_ORACLE
|
||||||
|
BLINDBIT_ORACLE_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$BLINDBIT_ORACLE
|
||||||
|
BLINDBIT_ORACLE_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$BLINDBIT_ORACLE
|
||||||
|
BLINDBIT_ORACLE_DOCKER_WORKING_DIR=/home/$BLINDBIT_ORACLE
|
||||||
|
|
||||||
|
${VARIABLE}_DOCKER_CONFS_DIR=$DOCKER_GLOBAL/confs/$BLINDBIT_ORACLE
|
||||||
|
${VARIABLE}_DOCKER_LOGS_DIR=$DOCKER_GLOBAL/logs/$BLINDBIT_ORACLE
|
||||||
|
${VARIABLE}_DOCKER_RUNS_DIR=$DOCKER_GLOBAL/runs/$BLINDBIT_ORACLE
|
||||||
|
${VARIABLE}_DOCKER_DATAS_DIR=$DOCKER_GLOBAL/datas/$BLINDBIT_ORACLE
|
||||||
|
${VARIABLE}_DOCKER_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$BLINDBIT_ORACLE
|
||||||
|
${VARIABLE}_DOCKER_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$BLINDBIT_ORACLE
|
||||||
|
BLINDBIT_ORACLE_DOCKER_WORKING_DIR=/home/$BLINDBIT_ORACLE
|
||||||
|
|
||||||
|
BLINDBIT_ORACLE_DOCKER_WORKING_DIR_CREATE="id -u $BLINDBIT_ORACLE >/dev/null 2>&1 || adduser --disabled-password --gecos '' $BLINDBIT_ORACLE; chown -R $BLINDBIT_ORACLE:$BLINDBIT_ORACLE /home/root/.$BLINDBIT_ORACLE || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
||||||
|
${VARIABLE}_DOCKER_PORT=$BLINDBIT_ORACLE_PORT
|
||||||
|
BLINDBIT_ORACLE_URL_ROUTE=/$BLINDBIT_ORACLE
|
||||||
|
${VARIABLE}_URL=http://$BLINDBIT_ORACLE_DOCKER_NAME:$BLINDBIT_ORACLE_DOCKER_PORT
|
||||||
|
BLINDBIT_ORACLE_URL_EXTERNAL=https://$HOST$BLINDBIT_ORACLE_URL_ROUTE
|
||||||
|
${VARIABLE}_URL_WS=ws://$BLINDBIT_ORACLE_DOCKER_PORT
|
||||||
|
BLINDBIT_ORACLE_URL_WS_EXTERNAL=wss://$HOST\ws
|
||||||
|
|
||||||
|
|
||||||
|
# ====== INTERNAL SDK_RELAY ======
|
||||||
|
|
||||||
|
SDK_RELAY_DOCKER_NAME=$SDK_RELAY
|
||||||
|
SDK_RELAY_CONFS_DIR=$DOCKER_GLOBAL/confs/$SDK_RELAY
|
||||||
|
SDK_RELAY_LOGS_DIR=$DOCKER_GLOBAL/logs/$SDK_RELAY
|
||||||
|
SDK_RELAY_RUNS_DIR=$DOCKER_GLOBAL/runs/$SDK_RELAY
|
||||||
|
SDK_RELAY_DATAS_DIR=$DOCKER_GLOBAL/datas/$SDK_RELAY
|
||||||
|
SDK_RELAY_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$SDK_RELAY
|
||||||
|
SDK_RELAY_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$SDK_RELAY
|
||||||
|
SDK_RELAY_DOCKER_WORKING_DIR=/home/$SDK_RELAY
|
||||||
|
|
||||||
|
${VARIABLE}_DOCKER_CONFS_DIR=$DOCKER_GLOBAL/confs/$SDK_RELAY
|
||||||
|
${VARIABLE}_DOCKER_LOGS_DIR=$DOCKER_GLOBAL/logs/$SDK_RELAY
|
||||||
|
${VARIABLE}_DOCKER_RUNS_DIR=$DOCKER_GLOBAL/runs/$SDK_RELAY
|
||||||
|
${VARIABLE}_DOCKER_DATAS_DIR=$DOCKER_GLOBAL/datas/$SDK_RELAY
|
||||||
|
${VARIABLE}_DOCKER_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$SDK_RELAY
|
||||||
|
${VARIABLE}_DOCKER_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$SDK_RELAY
|
||||||
|
SDK_RELAY_DOCKER_WORKING_DIR=/home/$SDK_RELAY
|
||||||
|
|
||||||
|
SDK_RELAY_DOCKER_WORKING_DIR_CREATE="id -u $SDK_RELAY >/dev/null 2>&1 || adduser --disabled-password --gecos '' $SDK_RELAY; chown -R $SDK_RELAY:$SDK_RELAY /home/root/.$SDK_RELAY || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
||||||
|
${VARIABLE}_DOCKER_PORT=$SDK_RELAY_PORT
|
||||||
|
SDK_RELAY_URL_ROUTE=/$SDK_RELAY
|
||||||
|
${VARIABLE}_URL=http://$SDK_RELAY_DOCKER_NAME:$SDK_RELAY_DOCKER_PORT
|
||||||
|
SDK_RELAY_URL_EXTERNAL=https://$HOST$SDK_RELAY_URL_ROUTE
|
||||||
|
${VARIABLE}_URL_WS=ws://$SDK_RELAY_DOCKER_PORT
|
||||||
|
SDK_RELAY_URL_WS_EXTERNAL=wss://$HOST\ws
|
||||||
|
|
||||||
|
|
||||||
|
# ====== INTERNAL SDK_STORAGE ======
|
||||||
|
|
||||||
|
SDK_STORAGE_DOCKER_NAME=$SDK_STORAGE
|
||||||
|
SDK_STORAGE_CONFS_DIR=$DOCKER_GLOBAL/confs/$SDK_STORAGE
|
||||||
|
SDK_STORAGE_LOGS_DIR=$DOCKER_GLOBAL/logs/$SDK_STORAGE
|
||||||
|
SDK_STORAGE_RUNS_DIR=$DOCKER_GLOBAL/runs/$SDK_STORAGE
|
||||||
|
SDK_STORAGE_DATAS_DIR=$DOCKER_GLOBAL/datas/$SDK_STORAGE
|
||||||
|
SDK_STORAGE_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$SDK_STORAGE
|
||||||
|
SDK_STORAGE_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$SDK_STORAGE
|
||||||
|
SDK_STORAGE_DOCKER_WORKING_DIR=/home/$SDK_STORAGE
|
||||||
|
|
||||||
|
${VARIABLE}_DOCKER_CONFS_DIR=$DOCKER_GLOBAL/confs/$SDK_STORAGE
|
||||||
|
${VARIABLE}_DOCKER_LOGS_DIR=$DOCKER_GLOBAL/logs/$SDK_STORAGE
|
||||||
|
${VARIABLE}_DOCKER_RUNS_DIR=$DOCKER_GLOBAL/runs/$SDK_STORAGE
|
||||||
|
${VARIABLE}_DOCKER_DATAS_DIR=$DOCKER_GLOBAL/datas/$SDK_STORAGE
|
||||||
|
${VARIABLE}_DOCKER_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$SDK_STORAGE
|
||||||
|
${VARIABLE}_DOCKER_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$SDK_STORAGE
|
||||||
|
SDK_STORAGE_DOCKER_WORKING_DIR=/home/$SDK_STORAGE
|
||||||
|
|
||||||
|
SDK_STORAGE_DOCKER_WORKING_DIR_CREATE="id -u $SDK_STORAGE >/dev/null 2>&1 || adduser --disabled-password --gecos '' $SDK_STORAGE; chown -R $SDK_STORAGE:$SDK_STORAGE /home/root/.$SDK_STORAGE || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
||||||
|
${VARIABLE}_DOCKER_PORT=$SDK_STORAGE_PORT
|
||||||
|
SDK_STORAGE_URL_ROUTE=/$SDK_STORAGE
|
||||||
|
${VARIABLE}_URL=http://$SDK_STORAGE_DOCKER_NAME:$SDK_STORAGE_DOCKER_PORT
|
||||||
|
SDK_STORAGE_URL_EXTERNAL=https://$HOST$SDK_STORAGE_URL_ROUTE
|
||||||
|
${VARIABLE}_URL_WS=ws://$SDK_STORAGE_DOCKER_PORT
|
||||||
|
SDK_STORAGE_URL_WS_EXTERNAL=wss://$HOST\ws
|
||||||
|
|
||||||
|
|
||||||
|
# ====== INTERNAL IHM_CLIENT ======
|
||||||
|
|
||||||
|
IHM_CLIENT_DOCKER_NAME=$IHM_CLIENT
|
||||||
|
IHM_CLIENT_CONFS_DIR=$DOCKER_GLOBAL/confs/$IHM_CLIENT
|
||||||
|
IHM_CLIENT_LOGS_DIR=$DOCKER_GLOBAL/logs/$IHM_CLIENT
|
||||||
|
IHM_CLIENT_RUNS_DIR=$DOCKER_GLOBAL/runs/$IHM_CLIENT
|
||||||
|
IHM_CLIENT_DATAS_DIR=$DOCKER_GLOBAL/datas/$IHM_CLIENT
|
||||||
|
IHM_CLIENT_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$IHM_CLIENT
|
||||||
|
IHM_CLIENT_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$IHM_CLIENT
|
||||||
|
IHM_CLIENT_DOCKER_WORKING_DIR=/home/$IHM_CLIENT
|
||||||
|
|
||||||
|
${VARIABLE}_DOCKER_CONFS_DIR=$DOCKER_GLOBAL/confs/$IHM_CLIENT
|
||||||
|
${VARIABLE}_DOCKER_LOGS_DIR=$DOCKER_GLOBAL/logs/$IHM_CLIENT
|
||||||
|
${VARIABLE}_DOCKER_RUNS_DIR=$DOCKER_GLOBAL/runs/$IHM_CLIENT
|
||||||
|
${VARIABLE}_DOCKER_DATAS_DIR=$DOCKER_GLOBAL/datas/$IHM_CLIENT
|
||||||
|
${VARIABLE}_DOCKER_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$IHM_CLIENT
|
||||||
|
${VARIABLE}_DOCKER_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$IHM_CLIENT
|
||||||
|
IHM_CLIENT_DOCKER_WORKING_DIR=/home/$IHM_CLIENT
|
||||||
|
|
||||||
|
IHM_CLIENT_DOCKER_WORKING_DIR_CREATE="id -u $IHM_CLIENT >/dev/null 2>&1 || adduser --disabled-password --gecos '' $IHM_CLIENT; chown -R $IHM_CLIENT:$IHM_CLIENT /home/root/.$IHM_CLIENT || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
||||||
|
${VARIABLE}_DOCKER_PORT=$IHM_CLIENT_PORT
|
||||||
|
IHM_CLIENT_URL_ROUTE=/$IHM_CLIENT
|
||||||
|
${VARIABLE}_URL=http://$IHM_CLIENT_DOCKER_NAME:$IHM_CLIENT_DOCKER_PORT
|
||||||
|
IHM_CLIENT_URL_EXTERNAL=https://$HOST$IHM_CLIENT_URL_ROUTE
|
||||||
|
${VARIABLE}_URL_WS=ws://$IHM_CLIENT_DOCKER_PORT
|
||||||
|
IHM_CLIENT_URL_WS_EXTERNAL=wss://$HOST\ws
|
||||||
|
|
||||||
|
|
||||||
|
# ====== INTERNAL _4NK_CERTIFICATOR ======
|
||||||
|
|
||||||
|
_4NK_CERTIFICATOR_DOCKER_NAME=$_4NK_CERTIFICATOR
|
||||||
|
_4NK_CERTIFICATOR_CONFS_DIR=$DOCKER_GLOBAL/confs/$_4NK_CERTIFICATOR
|
||||||
|
_4NK_CERTIFICATOR_LOGS_DIR=$DOCKER_GLOBAL/logs/$_4NK_CERTIFICATOR
|
||||||
|
_4NK_CERTIFICATOR_RUNS_DIR=$DOCKER_GLOBAL/runs/$_4NK_CERTIFICATOR
|
||||||
|
_4NK_CERTIFICATOR_DATAS_DIR=$DOCKER_GLOBAL/datas/$_4NK_CERTIFICATOR
|
||||||
|
_4NK_CERTIFICATOR_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$_4NK_CERTIFICATOR
|
||||||
|
_4NK_CERTIFICATOR_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$_4NK_CERTIFICATOR
|
||||||
|
_4NK_CERTIFICATOR_DOCKER_WORKING_DIR=/home/$_4NK_CERTIFICATOR
|
||||||
|
|
||||||
|
${VARIABLE}_DOCKER_CONFS_DIR=$DOCKER_GLOBAL/confs/$_4NK_CERTIFICATOR
|
||||||
|
${VARIABLE}_DOCKER_LOGS_DIR=$DOCKER_GLOBAL/logs/$_4NK_CERTIFICATOR
|
||||||
|
${VARIABLE}_DOCKER_RUNS_DIR=$DOCKER_GLOBAL/runs/$_4NK_CERTIFICATOR
|
||||||
|
${VARIABLE}_DOCKER_DATAS_DIR=$DOCKER_GLOBAL/datas/$_4NK_CERTIFICATOR
|
||||||
|
${VARIABLE}_DOCKER_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$_4NK_CERTIFICATOR
|
||||||
|
${VARIABLE}_DOCKER_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$_4NK_CERTIFICATOR
|
||||||
|
_4NK_CERTIFICATOR_DOCKER_WORKING_DIR=/home/$_4NK_CERTIFICATOR
|
||||||
|
|
||||||
|
_4NK_CERTIFICATOR_DOCKER_WORKING_DIR_CREATE="id -u $_4NK_CERTIFICATOR >/dev/null 2>&1 || adduser --disabled-password --gecos '' $_4NK_CERTIFICATOR; chown -R $_4NK_CERTIFICATOR:$_4NK_CERTIFICATOR /home/root/.$_4NK_CERTIFICATOR || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
||||||
|
${VARIABLE}_DOCKER_PORT=$_4NK_CERTIFICATOR_PORT
|
||||||
|
_4NK_CERTIFICATOR_URL_ROUTE=/$_4NK_CERTIFICATOR
|
||||||
|
${VARIABLE}_URL=http://$_4NK_CERTIFICATOR_DOCKER_NAME:$_4NK_CERTIFICATOR_DOCKER_PORT
|
||||||
|
_4NK_CERTIFICATOR_URL_EXTERNAL=https://$HOST$_4NK_CERTIFICATOR_URL_ROUTE
|
||||||
|
${VARIABLE}_URL_WS=ws://$_4NK_CERTIFICATOR_DOCKER_PORT
|
||||||
|
_4NK_CERTIFICATOR_URL_WS_EXTERNAL=wss://$HOST\ws
|
||||||
|
|
||||||
|
|
||||||
|
# ====== INTERNAL _4NK_MINER ======
|
||||||
|
|
||||||
|
_4NK_MINER_DOCKER_NAME=$_4NK_MINER
|
||||||
|
_4NK_MINER_CONFS_DIR=$DOCKER_GLOBAL/confs/$_4NK_MINER
|
||||||
|
_4NK_MINER_LOGS_DIR=$DOCKER_GLOBAL/logs/$_4NK_MINER
|
||||||
|
_4NK_MINER_RUNS_DIR=$DOCKER_GLOBAL/runs/$_4NK_MINER
|
||||||
|
_4NK_MINER_DATAS_DIR=$DOCKER_GLOBAL/datas/$_4NK_MINER
|
||||||
|
_4NK_MINER_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$_4NK_MINER
|
||||||
|
_4NK_MINER_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$_4NK_MINER
|
||||||
|
_4NK_MINER_DOCKER_WORKING_DIR=/home/$_4NK_MINER
|
||||||
|
|
||||||
|
${VARIABLE}_DOCKER_CONFS_DIR=$DOCKER_GLOBAL/confs/$_4NK_MINER
|
||||||
|
${VARIABLE}_DOCKER_LOGS_DIR=$DOCKER_GLOBAL/logs/$_4NK_MINER
|
||||||
|
${VARIABLE}_DOCKER_RUNS_DIR=$DOCKER_GLOBAL/runs/$_4NK_MINER
|
||||||
|
${VARIABLE}_DOCKER_DATAS_DIR=$DOCKER_GLOBAL/datas/$_4NK_MINER
|
||||||
|
${VARIABLE}_DOCKER_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$_4NK_MINER
|
||||||
|
${VARIABLE}_DOCKER_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$_4NK_MINER
|
||||||
|
_4NK_MINER_DOCKER_WORKING_DIR=/home/$_4NK_MINER
|
||||||
|
|
||||||
|
_4NK_MINER_DOCKER_WORKING_DIR_CREATE="id -u $_4NK_MINER >/dev/null 2>&1 || adduser --disabled-password --gecos '' $_4NK_MINER; chown -R $_4NK_MINER:$_4NK_MINER /home/root/.$_4NK_MINER || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
||||||
|
${VARIABLE}_DOCKER_PORT=$_4NK_MINER_PORT
|
||||||
|
_4NK_MINER_URL_ROUTE=/$_4NK_MINER
|
||||||
|
${VARIABLE}_URL=http://$_4NK_MINER_DOCKER_NAME:$_4NK_MINER_DOCKER_PORT
|
||||||
|
_4NK_MINER_URL_EXTERNAL=https://$HOST$_4NK_MINER_URL_ROUTE
|
||||||
|
${VARIABLE}_URL_WS=ws://$_4NK_MINER_DOCKER_PORT
|
||||||
|
_4NK_MINER_URL_WS_EXTERNAL=wss://$HOST\ws
|
||||||
|
|
||||||
|
|
||||||
|
# ====== INTERNAL LECOFFRE_FRONT ======
|
||||||
|
|
||||||
|
LECOFFRE_FRONT_DOCKER_NAME=$LECOFFRE_FRONT
|
||||||
|
LECOFFRE_FRONT_CONFS_DIR=$DOCKER_GLOBAL/confs/$LECOFFRE_FRONT
|
||||||
|
LECOFFRE_FRONT_LOGS_DIR=$DOCKER_GLOBAL/logs/$LECOFFRE_FRONT
|
||||||
|
LECOFFRE_FRONT_RUNS_DIR=$DOCKER_GLOBAL/runs/$LECOFFRE_FRONT
|
||||||
|
LECOFFRE_FRONT_DATAS_DIR=$DOCKER_GLOBAL/datas/$LECOFFRE_FRONT
|
||||||
|
LECOFFRE_FRONT_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$LECOFFRE_FRONT
|
||||||
|
LECOFFRE_FRONT_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$LECOFFRE_FRONT
|
||||||
|
LECOFFRE_FRONT_DOCKER_WORKING_DIR=/home/$LECOFFRE_FRONT
|
||||||
|
|
||||||
|
${VARIABLE}_DOCKER_CONFS_DIR=$DOCKER_GLOBAL/confs/$LECOFFRE_FRONT
|
||||||
|
${VARIABLE}_DOCKER_LOGS_DIR=$DOCKER_GLOBAL/logs/$LECOFFRE_FRONT
|
||||||
|
${VARIABLE}_DOCKER_RUNS_DIR=$DOCKER_GLOBAL/runs/$LECOFFRE_FRONT
|
||||||
|
${VARIABLE}_DOCKER_DATAS_DIR=$DOCKER_GLOBAL/datas/$LECOFFRE_FRONT
|
||||||
|
${VARIABLE}_DOCKER_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$LECOFFRE_FRONT
|
||||||
|
${VARIABLE}_DOCKER_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$LECOFFRE_FRONT
|
||||||
|
LECOFFRE_FRONT_DOCKER_WORKING_DIR=/home/$LECOFFRE_FRONT
|
||||||
|
|
||||||
|
LECOFFRE_FRONT_DOCKER_WORKING_DIR_CREATE="id -u $LECOFFRE_FRONT >/dev/null 2>&1 || adduser --disabled-password --gecos '' $LECOFFRE_FRONT; chown -R $LECOFFRE_FRONT:$LECOFFRE_FRONT /home/root/.$LECOFFRE_FRONT || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
||||||
|
${VARIABLE}_DOCKER_PORT=$LECOFFRE_FRONT_PORT
|
||||||
|
LECOFFRE_FRONT_URL_ROUTE=/$LECOFFRE_FRONT
|
||||||
|
${VARIABLE}_URL=http://$LECOFFRE_FRONT_DOCKER_NAME:$LECOFFRE_FRONT_DOCKER_PORT
|
||||||
|
LECOFFRE_FRONT_URL_EXTERNAL=https://$HOST$LECOFFRE_FRONT_URL_ROUTE
|
||||||
|
${VARIABLE}_URL_WS=ws://$LECOFFRE_FRONT_DOCKER_PORT
|
||||||
|
LECOFFRE_FRONT_URL_WS_EXTERNAL=wss://$HOST\ws
|
||||||
|
|
||||||
|
|
||||||
|
# ====== INTERNAL _4NK_WEB_STATUS ======
|
||||||
|
|
||||||
|
_4NK_WEB_STATUS_DOCKER_NAME=$_4NK_WEB_STATUS
|
||||||
|
_4NK_WEB_STATUS_CONFS_DIR=$DOCKER_GLOBAL/confs/$_4NK_WEB_STATUS
|
||||||
|
_4NK_WEB_STATUS_LOGS_DIR=$DOCKER_GLOBAL/logs/$_4NK_WEB_STATUS
|
||||||
|
_4NK_WEB_STATUS_RUNS_DIR=$DOCKER_GLOBAL/runs/$_4NK_WEB_STATUS
|
||||||
|
_4NK_WEB_STATUS_DATAS_DIR=$DOCKER_GLOBAL/datas/$_4NK_WEB_STATUS
|
||||||
|
_4NK_WEB_STATUS_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$_4NK_WEB_STATUS
|
||||||
|
_4NK_WEB_STATUS_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$_4NK_WEB_STATUS
|
||||||
|
_4NK_WEB_STATUS_DOCKER_WORKING_DIR=/home/$_4NK_WEB_STATUS
|
||||||
|
|
||||||
|
${VARIABLE}_DOCKER_CONFS_DIR=$DOCKER_GLOBAL/confs/$_4NK_WEB_STATUS
|
||||||
|
${VARIABLE}_DOCKER_LOGS_DIR=$DOCKER_GLOBAL/logs/$_4NK_WEB_STATUS
|
||||||
|
${VARIABLE}_DOCKER_RUNS_DIR=$DOCKER_GLOBAL/runs/$_4NK_WEB_STATUS
|
||||||
|
${VARIABLE}_DOCKER_DATAS_DIR=$DOCKER_GLOBAL/datas/$_4NK_WEB_STATUS
|
||||||
|
${VARIABLE}_DOCKER_BACKUPS_DIR=$DOCKER_GLOBAL/backups/$_4NK_WEB_STATUS
|
||||||
|
${VARIABLE}_DOCKER_SCRIPTS_DIR=$DOCKER_GLOBAL/scripts/$_4NK_WEB_STATUS
|
||||||
|
_4NK_WEB_STATUS_DOCKER_WORKING_DIR=/home/$_4NK_WEB_STATUS
|
||||||
|
|
||||||
|
_4NK_WEB_STATUS_DOCKER_WORKING_DIR_CREATE="id -u $_4NK_WEB_STATUS >/dev/null 2>&1 || adduser --disabled-password --gecos '' $_4NK_WEB_STATUS; chown -R $_4NK_WEB_STATUS:$_4NK_WEB_STATUS /home/root/.$_4NK_WEB_STATUS || echo 'warn: chown partiel (fichiers bind-mount Windows)'; exec \"$@\""
|
||||||
|
${VARIABLE}_DOCKER_PORT=$_4NK_WEB_STATUS_PORT
|
||||||
|
_4NK_WEB_STATUS_URL_ROUTE=/$_4NK_WEB_STATUS
|
||||||
|
${VARIABLE}_URL=http://$_4NK_WEB_STATUS_DOCKER_NAME:$_4NK_WEB_STATUS_DOCKER_PORT
|
||||||
|
_4NK_WEB_STATUS_URL_EXTERNAL=https://$HOST$_4NK_WEB_STATUS_URL_ROUTE
|
||||||
|
${VARIABLE}_URL_WS=ws://$_4NK_WEB_STATUS_DOCKER_PORT
|
||||||
|
_4NK_WEB_STATUS_URL_WS_EXTERNAL=wss://$HOST\ws
|
||||||
|
|
||||||
|
|
||||||
|
# ====== EXTERNAL BOOSTRAP ======
|
||||||
|
|
||||||
|
BOOSTRAP_URL_EXTERNAL=https://$BOOSTRAP_HOST:$BOOSTRAP_EXTERNAL_PORT$BOOSTRAP_URL_ROUTE
|
||||||
|
BOOSTRAP_URL_WS_EXTERNAL=wss://$BOOSTRAP_HOST:$BOOSTRAP_EXTERNAL_PORT/ws
|
||||||
|
|
||||||
|
# ====== EXTERNAL LECOFFRE_BACK_MINI ======
|
||||||
|
|
||||||
|
LECOFFRE_BACK_MINI_URL_EXTERNAL=https://$LECOFFRE_BACK_MINI_HOST:$LECOFFRE_BACK_MINI_EXTERNAL_PORT$LECOFFRE_BACK_MINI_URL_ROUTE
|
||||||
|
LECOFFRE_BACK_MINI_URL_WS_EXTERNAL=wss://$LECOFFRE_BACK_MINI_HOST:$LECOFFRE_BACK_MINI_EXTERNAL_PORT/ws
|
||||||
|
|
||||||
|
# ====== EXTERNAL BOOTSTRAP (correction) ======
|
||||||
|
BOOTSTRAP_URL_ROUTE=/$BOOTSTRAP
|
||||||
|
BOOTSTRAP_URL_EXTERNAL=https://$BOOTSTRAP_HOST:$BOOTSTRAP_EXTERNAL_PORT$BOOTSTRAP_URL_ROUTE
|
||||||
|
BOOTSTRAP_URL_WS_EXTERNAL=wss://$BOOTSTRAP_HOST:$BOOTSTRAP_EXTERNAL_PORT/ws
|
||||||
|
|
||||||
21
templates/dev/.env.secrets
Normal file
21
templates/dev/.env.secrets
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
BDD_USER=bdd_user
|
||||||
|
BDD_PASSWORD=bdd_password
|
||||||
|
POSTGRESQL_USER=$BDD_USER
|
||||||
|
POSTGRESQL_PASSWORD=$BDD_PASSWORD
|
||||||
|
REDIS_USER=$BDD_USER
|
||||||
|
REDIS_PASSWORD=$BDD_PASSWORD
|
||||||
|
SIGNER_API_KEY=your-api-key-change-this
|
||||||
|
BITCOIN_RPC_AUTH='bitcoin:c8ea921c7357bd6a5a8a7c43a12350a7$955e25b17672987b17c5a12f12cd8b9c1d38f0f86201c8cd47fc431f2e1c7956'
|
||||||
|
VITE_JWT_SECRET_KEY=52b3d77617bb00982dfee15b08effd52cfe5b2e69b2f61cc4848cfe1e98c0bc9
|
||||||
|
GRAFANA_ADMIN_USER=admin
|
||||||
|
GRAFANA_ADMIN_PASSWORD=Fuy8ZfxQI2xdSdoB8wsGxNjyU
|
||||||
|
BITCOIN_RPC_USER=
|
||||||
|
BITCOIN_RPC_PASSWORD=
|
||||||
|
GIT_TOKEN=8cde80690a5ffd737536d82a1ab16a765d5105df
|
||||||
|
IDNOT_API_KEY=ba557f84-0bf6-4dbf-844f-df2767555e3e
|
||||||
|
IDNOT_CLIENT_ID=B3CE56353EDB15A9
|
||||||
|
IDNOT_CLIENT_SECRET=3F733549E879878344B6C949B366BB5CDBB2DB5B7F7AB7EBBEBB0F0DD0776D1C
|
||||||
|
NEXT_PUBLIC_IDNOT_CLIENT_ID=B3CE56353EDB15A9
|
||||||
|
NEXT_PUBLIC_DEFAULT_VALIDATOR_ID=28c9a3a8151bef545ebf700ca5222c63d0031ad593097e95c1de202464304a99
|
||||||
|
GF_SECURITY_ADMIN_PASSWORD=$GRAFANA_ADMIN_PASSWORD
|
||||||
|
API_PASS=testpass
|
||||||
1
templates/dev/.gitkeep
Normal file
1
templates/dev/.gitkeep
Normal file
@ -0,0 +1 @@
|
|||||||
|
./
|
||||||
20
templates/dev/_4NK_modules/4NK_certificator/.env
Normal file
20
templates/dev/_4NK_modules/4NK_certificator/.env
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
# Server configuration
|
||||||
|
RUST_LOG=info
|
||||||
|
|
||||||
|
# Bitcoin RPC
|
||||||
|
BITCOIN_RPC_URL=$BITCOIN_RPC_URL
|
||||||
|
BITCOIN_RPC_USER=$BITCOIN_RPC_USER
|
||||||
|
BITCOIN_RPC_PASSWORD=$BITCOIN_RPC_PASSWORD
|
||||||
|
BITCOIN_WALLET_NAME=$BITCOIN_CERTIFICATOR_NAME
|
||||||
|
|
||||||
|
# Database
|
||||||
|
DATABASE_URL=$CERTIFICATOR_POSTGRESQL_CONNECT
|
||||||
|
|
||||||
|
# Redis
|
||||||
|
REDIS_URL=$CERTIFICATOR_REDIS_CONNECT
|
||||||
|
|
||||||
|
# Relay
|
||||||
|
RELAY_WEBSOCKET_URL=$RELAY_WEBSOCKET_URL
|
||||||
|
|
||||||
|
# Certificator DB password for docker-compose
|
||||||
|
CERTIFICATOR_DB_PASSWORD=$BDD_PASSWORD
|
||||||
1
templates/dev/_4NK_modules/4NK_certificator/.gitkeep
Normal file
1
templates/dev/_4NK_modules/4NK_certificator/.gitkeep
Normal file
@ -0,0 +1 @@
|
|||||||
|
./
|
||||||
@ -0,0 +1,33 @@
|
|||||||
|
[server]
|
||||||
|
host = "0.0.0.0"
|
||||||
|
port = $CERTIFICATOR_PORT
|
||||||
|
log_level = "info"
|
||||||
|
|
||||||
|
[bitcoin]
|
||||||
|
network = "mainnet"
|
||||||
|
rpc_url = "$BITCOIN_RPC_URL"
|
||||||
|
rpc_user = ""
|
||||||
|
rpc_password = ""
|
||||||
|
wallet_name = "$BITCOIN_CERTIFICATOR_NAME"
|
||||||
|
min_confirmations = 6
|
||||||
|
|
||||||
|
[relay]
|
||||||
|
websocket_url = "$RELAY_WEBSOCKET_URL"
|
||||||
|
monitor_interval_secs = 60
|
||||||
|
|
||||||
|
[anchoring]
|
||||||
|
interval_blocks = 4320 # ~30 days (144 blocks/day)
|
||||||
|
auto_anchor = true
|
||||||
|
tx_fee_sat_per_vbyte = 10
|
||||||
|
|
||||||
|
[database]
|
||||||
|
url = "postgresql://certificator:password@localhost/certificator_db"
|
||||||
|
max_connections = 10
|
||||||
|
|
||||||
|
[redis]
|
||||||
|
url = "redis://localhost:6379"
|
||||||
|
cache_ttl_secs = 3600
|
||||||
|
|
||||||
|
[api]
|
||||||
|
jwt_secret = "$VITE_JWT_SECRET_KEY"
|
||||||
|
cors_allowed_origins = ["$DOMAIN"]
|
||||||
4
templates/dev/_4NK_modules/4NK_miner/.env
Normal file
4
templates/dev/_4NK_modules/4NK_miner/.env
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Configuration du miner signet
|
||||||
|
# COINBASE_ADDRESS= # Générer automatiquement
|
||||||
|
RELAY_ADDRESS=tsp1qqd8k3twmuq3awxjmfukhma36j4la8gzsa8t0dgfms3cfglt2gkz6wqsqpd3d2q4quq59agtyfsr7gj9t07qt0nlrlrzgmhvpn5enfm76fud6sm0y
|
||||||
|
REWARD_SPLIT_RATIO=0.5
|
||||||
1
templates/dev/_4NK_modules/4NK_miner/.gitkeep
Normal file
1
templates/dev/_4NK_modules/4NK_miner/.gitkeep
Normal file
@ -0,0 +1 @@
|
|||||||
|
./
|
||||||
1
templates/dev/_4NK_modules/4NK_web_status/.gitkeep
Normal file
1
templates/dev/_4NK_modules/4NK_web_status/.gitkeep
Normal file
@ -0,0 +1 @@
|
|||||||
|
./
|
||||||
1
templates/dev/_4NK_modules/bitcoin/.gitkeep
Normal file
1
templates/dev/_4NK_modules/bitcoin/.gitkeep
Normal file
@ -0,0 +1 @@
|
|||||||
|
./
|
||||||
45
templates/dev/_4NK_modules/bitcoin/bitcoin.conf
Normal file
45
templates/dev/_4NK_modules/bitcoin/bitcoin.conf
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
# Configuration globale
|
||||||
|
signet=1
|
||||||
|
server=1
|
||||||
|
datadir=$BITCOIN_DATAS_DIR
|
||||||
|
|
||||||
|
[signet]
|
||||||
|
daemon=0
|
||||||
|
txindex=1
|
||||||
|
upnp=1
|
||||||
|
#debug=1
|
||||||
|
#loglevel=debug
|
||||||
|
logthreadnames=1
|
||||||
|
onion=tor:$TOR_PORT
|
||||||
|
listenonion=1
|
||||||
|
onlynet=onion
|
||||||
|
|
||||||
|
# Paramètres RPC
|
||||||
|
rpcauth=$BITCOIN_RPC_AUTH
|
||||||
|
rpcallowip=0.0.0.0/0
|
||||||
|
rpcworkqueue=32
|
||||||
|
rpcthreads=4
|
||||||
|
rpcdoccheck=1
|
||||||
|
|
||||||
|
# Paramètres ZMQ
|
||||||
|
zmqpubhashblock=tcp://:$BITCOIN_ZMQPBUBHASHBLOCK_PORT
|
||||||
|
zmqpubrawtx=tcp://:$BITCOIN_ZMQPUBRAWTX_PORT
|
||||||
|
|
||||||
|
listen=1
|
||||||
|
bind=0.0.0.0:$BITCOIN_SIGNET_P2P_PORT
|
||||||
|
rpcbind=0.0.0.0:$BITCOIN_SIGNET_RPC_PORT
|
||||||
|
rpcport=$BITCOIN_SIGNET_RPC_PORT
|
||||||
|
fallbackfee=0.0001
|
||||||
|
blockfilterindex=1
|
||||||
|
datacarriersize=205
|
||||||
|
acceptnonstdtxn=1
|
||||||
|
dustrelayfee=0.00000001
|
||||||
|
minrelaytxfee=0.00000001
|
||||||
|
prune=0
|
||||||
|
signetchallenge=0020341c43803863c252df326e73574a27d7e19322992061017b0dc893e2eab90821
|
||||||
|
wallet=$BITCOIN_WALLET_NAME
|
||||||
|
wallet=watchonly
|
||||||
|
maxtxfee=1
|
||||||
|
addnode=tlv2yqamflv22vfdzy2hha2nwmt6zrwrhjjzz4lx7qyq7lyc6wfhabyd.onion
|
||||||
|
addnode=6xi33lwwslsx3yi3f7c56wnqtdx4v73vj2up3prrwebpwbz6qisnqbyd.onion
|
||||||
|
addnode=id7e3r3d2epen2v65jebjhmx77aimu7oyhcg45zadafypr4crqsytfid.onion
|
||||||
1
templates/dev/_4NK_modules/blindbit-oracle/.gitkeep
Normal file
1
templates/dev/_4NK_modules/blindbit-oracle/.gitkeep
Normal file
@ -0,0 +1 @@
|
|||||||
|
./
|
||||||
18
templates/dev/_4NK_modules/blindbit-oracle/blindbit.toml
Normal file
18
templates/dev/_4NK_modules/blindbit-oracle/blindbit.toml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# Configuration Blindbit Oracle
|
||||||
|
host = "0.0.0.0:$BLINDBIT_PORT"
|
||||||
|
chain = "signet"
|
||||||
|
rpc_endpoint = "$BITCOIN_RPC_URL"
|
||||||
|
cookie_path = "$BITCOIN_COOKIE_PATH"
|
||||||
|
rpc_user = ""
|
||||||
|
rpc_pass = ""
|
||||||
|
sync_start_height = 1
|
||||||
|
|
||||||
|
# Performance
|
||||||
|
max_parallel_tweak_computations = 4
|
||||||
|
max_parallel_requests = 4
|
||||||
|
|
||||||
|
# Index
|
||||||
|
tweaks_only = 0
|
||||||
|
tweaks_full_basic = 1
|
||||||
|
tweaks_full_with_dust_filter = 1
|
||||||
|
tweaks_cut_through_with_dust_filter = 1
|
||||||
6
templates/dev/_4NK_modules/grafana/.env
Normal file
6
templates/dev/_4NK_modules/grafana/.env
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
GF_SECURITY_ADMIN_PASSWORD=Fuy8ZfxQI2xdSdoB8wsGxNjyU
|
||||||
|
GF_USERS_ALLOW_SIGN_UP=false
|
||||||
|
GF_SERVER_ROOT_URL=$ROOT_URL$URL_ROUTE_GRAFAN
|
||||||
|
GF_PLUGINS_PREINSTALL_SYNC=grafana-clock-panel,grafana-simple-json-datasource
|
||||||
|
GRAFANA_ADMIN_USER=$GRAFANA_ADMIN_USER
|
||||||
|
GRAFANA_ADMIN_PASSWORD=$GRAFANA_ADMIN_PASSWORD
|
||||||
1
templates/dev/_4NK_modules/grafana/.gitkeep
Normal file
1
templates/dev/_4NK_modules/grafana/.gitkeep
Normal file
@ -0,0 +1 @@
|
|||||||
|
./
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user