ci: docker_tag=ext - Update for dev4 deployment
All checks were successful
build-and-push-ext / build_push (push) Successful in 13s
All checks were successful
build-and-push-ext / build_push (push) Successful in 13s
This commit is contained in:
parent
9d7c11a2b7
commit
2eceab024d
10
.env.exemple
10
.env.exemple
@ -61,6 +61,16 @@ DECLINED='4000 0025 0000 3155'
|
||||
ENABLE_SUBSCRIPTION_STUB=true
|
||||
CORS_ALLOWED_ORIGINS=http://local.4nkweb.com:3000,https://dev4.4nkweb.com
|
||||
|
||||
core_url="http://bitcoin:38332"
|
||||
ws_url="0.0.0.0:8090"
|
||||
wallet_name="default"
|
||||
network="signet"
|
||||
blindbit_url="http://blindbit:8000"
|
||||
zmq_url="tcp://bitcoin:29000"
|
||||
storage="https://dev4.4nkweb.com/storage"
|
||||
data_dir="/home/bitcoin/.4nk"
|
||||
bitcoin_data_dir="/home/bitcoin/.bitcoin"
|
||||
|
||||
# ================================= /!\ sensible ========================
|
||||
|
||||
# Configuration IDNOT
|
||||
|
42
docs/ANALYSE.md
Normal file
42
docs/ANALYSE.md
Normal file
@ -0,0 +1,42 @@
|
||||
## Analyse détaillée
|
||||
|
||||
### Périmètre
|
||||
|
||||
Backend minimal Express TypeScript, endpoints tests et scripts utilitaires.
|
||||
|
||||
### Stack
|
||||
|
||||
- **Runtime**: Node.js (TS → JS via `tsc`)
|
||||
- **Framework**: Express 4, CORS, dotenv
|
||||
- **DB**: `pg` (PostgreSQL)
|
||||
- **Paiement**: Stripe SDK
|
||||
- **Messaging**: Mailchimp transactional
|
||||
|
||||
### Build et exécution
|
||||
|
||||
- Scripts: `build`, `start`, `dev` (ts-node), `watch`, scénarios `test:*` spécifiques.
|
||||
- Dépendance locale: `sdk-signer-client` (path `../sdk-signer-client`).
|
||||
- Docker: clone/compile `sdk-signer-client` via SSH, build app, prune deps dev, exécution `npm start`.
|
||||
|
||||
### Variables d’environnement
|
||||
|
||||
- À documenter dans `.env` (non listées ici). Recommandé d’ajouter `.env.example`.
|
||||
|
||||
### Ports
|
||||
|
||||
- 8080 (exposé par Compose parent).
|
||||
|
||||
### Risques et points d’attention
|
||||
|
||||
- Dépendance relative `../sdk-signer-client` fragile hors CI; Docker règle via clone SSH mais nécessite agent/clé.
|
||||
- Node 19‑alpine dans le builder: préférer LTS.
|
||||
- Tests utilitaires JS isolés; aligner avec `tests/` et ajouter assertions/rapports.
|
||||
|
||||
### Actions proposées
|
||||
|
||||
- Externaliser `sdk-signer-client` en dépendance Git contrôlée (tag/commit) ou package binaire local packagé.
|
||||
- Standardiser Node LTS et CI (lint, tests, build, audit sécurité).
|
||||
- Fournir `.env.example` et documenter variables requises.
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user