mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
4fc0ca5110
Replace TZ env var with /etc/localtime bind-mount in docker-compose and inject timezone spec opts into containerd bot containers.
42 lines
936 B
YAML
42 lines
936 B
YAML
name: "memoh-dev"
|
|
services:
|
|
postgres:
|
|
image: postgres:18-alpine
|
|
container_name: memoh-dev-postgres
|
|
environment:
|
|
POSTGRES_DB: memoh
|
|
POSTGRES_USER: memoh
|
|
POSTGRES_PASSWORD: memoh123
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
- /etc/localtime:/etc/localtime:ro
|
|
ports:
|
|
- "5432:5432"
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U memoh"]
|
|
interval: 5s
|
|
timeout: 3s
|
|
retries: 5
|
|
restart: unless-stopped
|
|
|
|
qdrant:
|
|
image: qdrant/qdrant:latest
|
|
container_name: memoh-dev-qdrant
|
|
volumes:
|
|
- qdrant_data:/qdrant/storage
|
|
ports:
|
|
- "6333:6333"
|
|
- "6334:6334"
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "timeout 5s bash -c ':> /dev/tcp/127.0.0.1/6333' || exit 1"]
|
|
interval: 5s
|
|
timeout: 3s
|
|
retries: 5
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
postgres_data:
|
|
driver: local
|
|
qdrant_data:
|
|
driver: local
|