# Local infrastructure for Aigentia. `docker compose up -d` services: postgres: image: postgres:16-alpine environment: POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres POSTGRES_DB: aigentia ports: - "5432:5432" volumes: - pgdata:/var/lib/postgresql/data healthcheck: test: ["CMD-SHELL", "pg_isready -U postgres"] interval: 5s timeout: 3s retries: 10 redis: image: redis:7-alpine ports: - "6379:6379" healthcheck: test: ["CMD", "redis-cli", "ping"] interval: 5s timeout: 3s retries: 10 x402-xrpl: build: ./services/x402-xrpl env_file: .env environment: X402_SERVICE_PORT: 8402 ports: - "8402:8402" volumes: pgdata: