33 lines
973 B
Markdown
Raw 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.

### Lancement des services (séquencé avec attentes)
- Préparer les scripts dattente (une fois):
```bash
chmod +x /home/debian/4NK_env/scripts/lecoffre_node/wait-*.sh
```
- Démarrer linfrastructure (dans `lecoffre_node/`):
```bash
cd /home/debian/4NK_env/lecoffre_node
# Phase 1: Base + Bitcoin
docker compose up -d tor bitcoin
/home/debian/4NK_env/scripts/lecoffre_node/wait-tor-bootstrap.sh 120 5
/home/debian/4NK_env/scripts/lecoffre_node/wait-bitcoin-ready.sh 180 5
# Phase 2: BlindBit
docker compose up -d blindbit
/home/debian/4NK_env/scripts/lecoffre_node/wait-blindbit-ready.sh 180 5
# Phase 3: Services applicatifs
docker compose up -d sdk_storage ihm_client lecoffre-front
# Phase 4: Monitoring
docker compose up -d loki promtail grafana status-api watchtower
```
- Vérifications rapides:
```bash
curl -sS -D - https://dev4.4nkweb.com/lecoffre/ -o /dev/null | sed -n '1,20p'
curl -sS -D - http://127.0.0.1:3003/ -o /dev/null | sed -n '1,20p'
```