BOC v1.0: RS256 auth, Ledger integration, Prometheus metrics, CI/CD, backup

This commit is contained in:
Bernt
2026-07-28 23:08:32 +00:00
parent 0b4f160af1
commit af874040ca
11541 changed files with 1654104 additions and 1103 deletions
+4 -17
View File
@@ -46,7 +46,8 @@ services:
PORT: "9092"
DB_URL: "postgres://boc:${DB_PASSWORD:-boc_secret_2026}@postgres:5432/boc?sslmode=disable"
JWT_SECRET: ${JWT_SECRET:?JWT_SECRET must be set}
AMOS_BASE_URL: "http://aamos-ledger:3250"
AMOS_BASE_URL: "http://172.17.0.1:3250"
LEDGER_URL: "http://172.17.0.1:3250"
MIGRATIONS_DIR: "./db/migrations"
REDIS_URL: "redis://redis:6379"
RESEND_API_KEY: ${RESEND_API_KEY:-}
@@ -60,30 +61,16 @@ services:
condition: service_healthy
volumes:
- ./backend/db/migrations:/app/db/migrations:ro
- ./backend/auth:/app/auth:ro
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://localhost:9092/health"]
test: ["CMD-SHELL", "wget -qO- http://localhost:9092/health >/dev/null 2>&1"]
interval: 10s
timeout: 5s
retries: 3
networks:
- boc-network
nginx:
image: nginx:alpine
container_name: boc-nginx
ports:
- "80:80"
- "443:443"
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- ./web:/usr/share/nginx/html:ro
depends_on:
- boc-api
restart: unless-stopped
networks:
- boc-network
volumes:
postgres_data:
redis_data: