AkurAI Build
Menu

popagent

public

Latest change b818f7a5b3d0cc81e44c1449fde912c0c2f1a916 - Move observability PostgreSQL to port 5435 by AkurAI Build

services:
  postgres:
    image: postgres:17-alpine
    restart: unless-stopped
    environment:
      POSTGRES_DB: popagent
      POSTGRES_USER: popagent
      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:?POSTGRES_PASSWORD is required}
    volumes:
      - popagent-postgres:/var/lib/postgresql/data
    ports:
      - "127.0.0.1:5433:5432"
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U popagent -d popagent"]
      interval: 5s
      timeout: 3s
      retries: 20

  observability-postgres:
    image: postgres:17-alpine
    restart: unless-stopped
    environment:
      POSTGRES_DB: popagent_observability
      POSTGRES_USER: popagent_observability
      POSTGRES_PASSWORD: ${OBSERVABILITY_POSTGRES_PASSWORD:?OBSERVABILITY_POSTGRES_PASSWORD is required}
    volumes:
      - popagent-observability-postgres:/var/lib/postgresql/data
    ports:
      - "127.0.0.1:5435:5432"
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U popagent_observability -d popagent_observability"]
      interval: 5s
      timeout: 3s
      retries: 20

  searxng:
    image: searxng/searxng:latest
    restart: unless-stopped
    volumes:
      - ./searxng/settings.yml:/etc/searxng/settings.yml:ro
    ports:
      - "127.0.0.1:8889:8080"
    healthcheck:
      test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:8080/healthz >/dev/null"]
      interval: 10s
      timeout: 3s
      retries: 20

volumes:
  popagent-postgres:
  popagent-observability-postgres: