48 lines
1.0 KiB
YAML
48 lines
1.0 KiB
YAML
services:
|
|
nginx:
|
|
image: nginx:latest
|
|
container_name: nginx
|
|
ports:
|
|
- "80:80"
|
|
volumes:
|
|
- ./nginx/conf.d:/etc/nginx/conf.d:ro
|
|
depends_on:
|
|
- minio
|
|
networks:
|
|
- call-review-network
|
|
postgres:
|
|
image: postgres:15-alpine
|
|
container_name: ingest-postgres
|
|
environment:
|
|
POSTGRES_DB: ingest_db
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_PASSWORD: postgres
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
networks:
|
|
- call-review-network
|
|
minio:
|
|
image: minio/minio
|
|
container_name: minio
|
|
environment:
|
|
MINIO_ROOT_USER: admin
|
|
MINIO_ROOT_PASSWORD: password123
|
|
command: server /data --console-address ":9001"
|
|
volumes:
|
|
- minio_data:/data
|
|
networks:
|
|
- call-review-network
|
|
volumes:
|
|
postgres_data:
|
|
minio_data:
|
|
|
|
networks:
|
|
call-review-network:
|
|
name: call-review-network
|
|
driver: bridge
|