API - CODEX AGENTS: persistence and lifecycle endpoints

This commit is contained in:
DCCONSTRUCTIONS
2026-05-14 19:26:50 +03:00
parent e95cb3af33
commit 112522c423
17 changed files with 1071 additions and 37 deletions
+21
View File
@@ -1,9 +1,30 @@
services:
postgres:
image: postgres:17-alpine
environment:
POSTGRES_DB: ${POSTGRES_DB:-nodedc_agent_gateway}
POSTGRES_USER: ${POSTGRES_USER:-nodedc_agent_gateway}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-replace-with-local-postgres-password}
ports:
- "${POSTGRES_PORT:-54100}:5432"
volumes:
- agent-gateway-postgres:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
interval: 5s
timeout: 5s
retries: 10
agent-gateway:
build:
context: .
env_file:
- .env
depends_on:
postgres:
condition: service_healthy
ports:
- "${PORT:-4100}:${PORT:-4100}"
volumes:
agent-gateway-postgres: