mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-10 05:37:29 +03:00
f4f72a1136
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
29 lines
624 B
YAML
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:
|