38 lines
778 B
YAML
38 lines
778 B
YAML
name: meals-made-easy-api-dev
|
|
services:
|
|
db:
|
|
image: pgvector/pgvector:pg18-trixie
|
|
ports:
|
|
- "5432:5432"
|
|
env_file: .env
|
|
environment:
|
|
POSTGRES_DB: meals_made_easy_api
|
|
POSTGRES_USER: meals-made-easy-api-user
|
|
healthcheck:
|
|
test: pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB
|
|
interval: 5s
|
|
timeout: 10s
|
|
retries: 10
|
|
start_period: 10s
|
|
volumes:
|
|
- postgres-data:/var/lib/postgresql
|
|
minio:
|
|
image: minio/minio:latest
|
|
ports:
|
|
- "9000:9000"
|
|
- "9001:9001"
|
|
env_file:
|
|
- .env
|
|
environment:
|
|
MINIO_ROOT_USER: minio-root
|
|
volumes:
|
|
- minio-data:/data
|
|
command:
|
|
- server
|
|
- /data
|
|
- --console-address
|
|
- :9001
|
|
volumes:
|
|
postgres-data:
|
|
minio-data:
|