eigent/server/docker-compose.dev.yml
2026-01-13 23:15:11 +08:00

30 lines
675 B
YAML

services:
# PostgreSQL Database Only
postgres:
image: postgres:15
container_name: eigent_postgres
restart: unless-stopped
environment:
POSTGRES_DB: eigent
POSTGRES_USER: postgres
POSTGRES_PASSWORD: 123456
POSTGRES_INITDB_ARGS: "--encoding=UTF-8 --lc-collate=C --lc-ctype=C"
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
networks:
- eigent_network
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U postgres -d eigent" ]
interval: 10s
timeout: 5s
retries: 5
volumes:
postgres_data:
driver: local
networks:
eigent_network:
driver: bridge