Files
color_full/docker-compose.yml

43 lines
970 B
YAML
Raw Permalink Normal View History

services:
postgres:
build:
context: ./docker
dockerfile: Dockerfile.pgvector
container_name: colorfull-db
environment:
POSTGRES_DB: colorfull
POSTGRES_USER: colorfull
POSTGRES_PASSWORD: colorfull
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U colorfull -d colorfull"]
interval: 5s
timeout: 5s
retries: 5
minio:
image: minio/minio:latest
container_name: colorfull-minio
profiles: ["full"]
environment:
MINIO_ROOT_USER: minioadmin
MINIO_ROOT_PASSWORD: minioadmin
ports:
- "9000:9000"
- "9001:9001"
volumes:
- miniodata:/data
command: server /data --console-address ":9001"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 5s
timeout: 5s
retries: 5
volumes:
pgdata:
miniodata: