ci: docker_tag=dev-test - Mise à jour documentation et standardisation

This commit is contained in:
4NK Dev 2025-10-01 20:57:44 +00:00
parent 799f993327
commit 0d5e181c82
6 changed files with 161 additions and 49 deletions

View File

@ -1,11 +1,79 @@
# Ignorer les sorties volumineuses ou non pertinentes pour le contexte IA
archive/**
tests/logs/**
tests/reports/**
node_modules/**
dist/**
build/**
.tmp/**
.cache/**#
.env
.env.*
# 4NK Environment - Git Ignore
# ============================
confs/
# Dossiers de sauvegarde des scripts
**/backup/
**/*backup*
**/.cargo/
# Fichiers temporaires
**/*.tmp*
**/*.temp*
**/*.log*
**/*.pid*
# Fichiers de configuration locale
**/*.env*
**/*.conf*
**/*.yaml*
**/*.yml*
**/*.ini*
**/*.json*
**/*.toml*
**/*.lock*
# Données et logs
**/*.logs*
**/*.data
*.db
*.sqlite
# Certificats et clés
**/*.key
**/*.pem
**/*.crt
**/*.p12
**/*.pfx
ssl/
certs/
# Docker
**/*.docker*
# Cache et build
**/*.node_modules/
**/*.dist/
**/*build/
**/*target/
**/*.*.o
**/*.so
**/*.dylib
# IDE et éditeurs
**/*.vscode/
**/*.idea/
**/*.swp
**/*.swo
**/*~
# OS
**/*.DS_Store
**/*Thumbs.db
**/*tmp*
# Git
**/*.git/
**/*.orig*
# Backup des projets existants
**/*backup*
**/*wallet*
**/*keys*
**/*node_modules*
**/*cursor*
**/*pid*
**/*next*

View File

@ -1,26 +1,79 @@
# Ignorer les contenus volumineux pour le contexte IA
node_modules/
dist/
build/
coverage/
.cache/
.tmp/
.parcel-cache/
# 4NK Environment - Git Ignore
# ============================
confs/
# Dossiers de sauvegarde des scripts
**/backup/
**/*backup*
# Rapports et logs de tests
tests/logs/
tests/reports/
**/.cargo/
# Fichiers lourds
**/*.map
**/*.min.*
**/*.wasm
**/*.{png,jpg,jpeg,svg,ico,pdf}
# Fichiers temporaires
**/*.tmp*
**/*.temp*
**/*.log*
**/*.pid*
# Ne pas ignorer .cursor ni AGENTS.md
!/.cursor
!/AGENTS.md
# Fichiers de configuration locale
**/*.env*
**/*.conf*
**/*.yaml*
**/*.yml*
**/*.ini*
**/*.json*
**/*.toml*
**/*.lock*
!.cursor/
# Données et logs
**/*.logs*
**/*.data
*.db
*.sqlite
!AGENTS.md
# Certificats et clés
**/*.key
**/*.pem
**/*.crt
**/*.p12
**/*.pfx
ssl/
certs/
# Docker
**/*.docker*
# Cache et build
**/*.node_modules/
**/*.dist/
**/*build/
**/*target/
**/*.*.o
**/*.so
**/*.dylib
# IDE et éditeurs
**/*.vscode/
**/*.idea/
**/*.swp
**/*.swo
**/*~
# OS
**/*.DS_Store
**/*Thumbs.db
**/*tmp*
# Git
**/*.git/
**/*.orig*
# Backup des projets existants
**/*backup*
**/*wallet*
**/*keys*
**/*node_modules*
**/*cursor*
**/*pid*
**/*next*

11
.gitignore vendored
View File

@ -1,14 +1,12 @@
# 4NK Environment - Git Ignore
# ============================
confs/
# Dossiers de sauvegarde des scripts
**/backup/
**/*backup*
**/.cargo/
# Fichiers temporaires
**/*.tmp*
**/*.temp*
@ -75,8 +73,7 @@ certs/
**/*wallet*
**/*keys*
# Supervisor
supervisor-logs/
**/*node_modules*
**/*cursor*
**/*cursor*
**/*pid*
**/*next*

View File

@ -253,7 +253,7 @@ WHITELIST_USERS = admin,maintainer
# webhook.yml
url: "https://your-ci-server.com/webhook"
content_type: "application/json"
secret: "your-secret"
secret: "<WEBHOOK_SECRET>"
events:
- push
- pull_request
@ -277,5 +277,3 @@ events:
---
**Configuration Gitea terminée ! Le projet est prêt pour l'open source sur git.4nkweb.com** 🚀

View File

@ -139,7 +139,7 @@ docker stats --no-stream | grep sdk_relay
### Bitcoin Core RPC
```bash
# Connexion via curl
curl -u bitcoin:your_password --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "getblockchaininfo", "params": []}' -H 'content-type: text/plain;' http://localhost:18443/
curl -u bitcoin:<RPC_PASSWORD> --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "getblockchaininfo", "params": []}' -H 'content-type: text/plain;' http://localhost:18443/
# Connexion via bitcoin-cli
docker exec bitcoin-signet bitcoin-cli -signet getblockchaininfo
@ -490,5 +490,3 @@ docker system prune -f
```
---

View File

@ -120,8 +120,8 @@ find . -name "*.cookie" -exec chmod 600 {} \;
#### 2. **Variables d'Environnement**
```bash
# Utiliser des variables d'environnement pour les secrets
export BITCOIN_RPC_PASSWORD="your_secure_password"
export BLINDBIT_API_KEY="your_api_key"
export BITCOIN_RPC_PASSWORD="<BITCOIN_RPC_PASSWORD>"
export BLINDBIT_API_KEY="<BLINDBIT_API_KEY>"
```
#### 3. **Monitoring de Sécurité**
@ -196,5 +196,3 @@ export BLINDBIT_API_KEY="your_api_key"
---
**Le projet sdk_client présente un bon niveau de sécurité pour l'open source. Les recommandations ci-dessus permettront de renforcer encore la sécurité.** 🔒