zed/docker-compose.yml
Marshall Bowers f4f72a1136
Add blob store to Docker Compose (#7889)
This PR adds the local blob store—backed by
[MinIO](https://github.com/minio/minio)—to the Docker Compose setup.

This allows running the blob store locally all within a container.

Release Notes:

- N/A
2024-02-15 23:19:03 -05:00

29 lines
624 B
YAML

version: "3.7"
services:
postgres:
image: postgres:15
container_name: zed_postgres
ports:
- 5432:5432
environment:
POSTGRES_HOST_AUTH_METHOD: trust
volumes:
- postgres_data:/var/lib/postgresql/data
- ./docker-compose.sql:/docker-entrypoint-initdb.d/init.sql
blob_store:
image: quay.io/minio/minio
container_name: blob_store
command: server /data
ports:
- 9000:9000
environment:
MINIO_ROOT_USER: the-blob-store-access-key
MINIO_ROOT_PASSWORD: the-blob-store-secret-key
volumes:
- ./.blob_store:/data
volumes:
postgres_data: