4NK_node/docs/DEPLOYMENT.md
Debian 9701f47e25
Some checks failed
CI - 4NK_node / Code Quality (push) Failing after 49s
CI - 4NK_node / Unit Tests (push) Failing after 32s
CI - 4NK_node / Integration Tests (push) Failing after 17s
CI - 4NK_node / Security Tests (push) Failing after 29s
CI - 4NK_node / Docker Build & Test (push) Failing after 10s
CI - 4NK_node / Documentation Tests (push) Failing after 3s
CI - 4NK_node / Security Audit (push) Successful in 3s
CI - 4NK_node / Release Guard (push) Has been skipped
CI - 4NK_node / Performance Tests (push) Successful in 28s
CI - 4NK_node / Notify (push) Failing after 2s
CI - 4NK_node / Publish Release (push) Has been skipped
feat: alignement docker-support-v2 et centralisation configs - Mise à jour docker-compose.yml avec tag docker-support-v2 et healthchecks - Centralisation des configurations dans 4NK_node/conf - Suppression des COPY conf/ dans Dockerfiles (montage runtime) - Ajout de la documentation complète (ARCHITECTURE.md, API.md, USAGE.md, DEPLOYMENT.md)
2025-09-03 10:45:30 +00:00

41 lines
1.4 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## DEPLOYMENT
## Docker
### Images et tags
- tor: 4nk-node-tor:latest
- bitcoin: 4nk-node-bitcoin:latest
### docker-compose
- Fichier: 4NK_node/docker-compose.yml
- Services:
- tor: ports 9050, 9051; volume tor_data; conf conf/tor.conf
- bitcoin: ports 38333, 18443, 29000; volume bitcoin_data; conf conf/bitcoin.conf; dépend de tor
- Réseau: 4nk_network (bridge)
- Volumes nommés: tor_data, bitcoin_data
## Intégration dans 4NK_node
- Configuration centralisée dans 4NK_node/conf/ (ex: bitcoin.conf, tor.conf).
- Logs montés dans 4NK_node/log/ selon la configuration des services.
- Modules complémentaires (ihm_client, sdk_relay, sdk_storage, sdk_signer) sintègrent via 4NK_node/modules/ et le réseau Docker partagé.
## CI/CD appliquée
- Construire les images avec le tag dédié docker-support-v2 selon la politique du projet.
- Valider les builds et la santé (healthchecks) avant déploiement.
- Publier les artefacts et images dans le registre interne si applicable.
## Configuration
### Variables denvironnement
- Gérées au niveau des services consommateurs (ex: ihm_client, sdk_*).
### Fichiers de configuration (4NK_node/conf)
- bitcoin.conf (Bitcoin Core)
- tor.conf (Tor)
- Fichiers spécifiques modules: sdk_relay*.conf, sdk_signer.conf, sdk_storage.conf, ihm_client.conf, nginx.conf
### Réseau et ports
- tor: 9050 (SOCKS), 9051 (Control)
- bitcoin: 38333 (P2P testnet/regtest), 18443 (RPC), 29000 (custom)