28 lines
1.5 KiB
Markdown
28 lines
1.5 KiB
Markdown
### Objet
|
||
Analyse synthétique de l’orchestrateur `lecoffre_node` (Docker Compose + Nginx locaux).
|
||
|
||
### Services et ordre de démarrage
|
||
- **tor** → **bitcoin** → **blindbit** → **sdk_relay** → **sdk_signer**/**sdk_storage** → **ihm_client** → **lecoffre-back** → **lecoffre-front**
|
||
|
||
### Détails par service (extraits)
|
||
- **bitcoin**: image `git.4nkweb.com/4nk/bitcoin:latest`, volume `4nk_node_bitcoin_data`, healthcheck `getblockchaininfo`
|
||
- **blindbit**: oracle, ports `127.0.0.1:8000`, healthcheck HTTP, dépend de `bitcoin`
|
||
- **sdk_relay**: ports `127.0.0.1:8090`, logs vers `/home/bitcoin/.4nk/logs/sdk_relay.log`, healthcheck `/health`
|
||
- **lecoffre-back**: image `git.4nkweb.com/4nk/lecoffre-back-mini:ext`, ports `127.0.0.1:8080`
|
||
- **lecoffre-front**: image `git.4nkweb.com/4nk/lecoffre-front:ext`, ports `127.0.0.2:3004:3000`
|
||
- **sdk_signer**: ports `127.0.0.1:3001`
|
||
- **sdk_storage**: ports `127.0.0.1:8081`
|
||
- **watchtower**: mise à jour images via labels
|
||
|
||
### Réseau et volumes
|
||
- **Réseau**: `btcnet` (bridge) avec IPAM `172.20.0.0/16`
|
||
- **Volumes**: `4nk_node_bitcoin_data`, `blindbit_data`, `sdk_data`
|
||
|
||
### Nginx local
|
||
- **Conf**: `conf/nginx/*` (vhosts locaux et dev4) pour proxy et basePath `/lecoffre`
|
||
|
||
### Points d’attention
|
||
- **Tags d’images**: homogénéiser (`latest`, `dev`, `ext`) selon politique CI
|
||
- **Exposition locale**: vérif des binds `127.0.0.1` vs `127.0.0.2`
|
||
- **Watchtower**: intervalle 30s, labels présents sur services applicatifs
|