Some checks failed
Build and publish Docker image / docker (push) Failing after 2m33s
27 lines
580 B
YAML
27 lines
580 B
YAML
services:
|
|
postgres:
|
|
image: postgres:16-alpine
|
|
environment:
|
|
POSTGRES_DB: human_archive
|
|
POSTGRES_USER: archive
|
|
POSTGRES_PASSWORD: archive
|
|
ports:
|
|
- "5432:5432"
|
|
volumes:
|
|
- postgres-data:/var/lib/postgresql/data
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U archive -d human_archive"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
|
|
litellm:
|
|
image: ghcr.io/berriai/litellm:main-latest
|
|
ports:
|
|
- "4000:4000"
|
|
environment:
|
|
LITELLM_MASTER_KEY: replace-with-litellm-key
|
|
|
|
volumes:
|
|
postgres-data:
|