Files
git.stella-ops.org/devops/compose/docker-compose.advisoryai-knowledge-test.yml

27 lines
795 B
YAML

name: stellaops-advisoryai-knowledge-test
services:
advisoryai-knowledge-postgres:
image: postgres:18.1-alpine
container_name: stellaops-advisoryai-knowledge-postgres-test
restart: unless-stopped
environment:
POSTGRES_DB: advisoryai_knowledge_test
POSTGRES_USER: stellaops_knowledge
POSTGRES_PASSWORD: stellaops_knowledge
TZ: UTC
PGTZ: UTC
ports:
- "55432:5432"
volumes:
- advisoryai-knowledge-postgres-data:/var/lib/postgresql/data
- ./postgres-init/advisoryai-knowledge-test:/docker-entrypoint-initdb.d:ro
healthcheck:
test: ["CMD-SHELL", "pg_isready -U stellaops_knowledge -d advisoryai_knowledge_test"]
interval: 5s
timeout: 5s
retries: 20
volumes:
advisoryai-knowledge-postgres-data: