mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-01 04:28:57 +00:00
395a68133d
Some checks are pending
CI / Check formatting and spelling (push) Waiting to run
CI / (macOS) Run Clippy and tests (push) Waiting to run
CI / (Linux) Run Clippy and tests (push) Waiting to run
CI / (Windows) Run Clippy and tests (push) Waiting to run
CI / Create a macOS bundle (push) Blocked by required conditions
CI / Create a Linux bundle (push) Blocked by required conditions
CI / Create arm64 Linux bundle (push) Blocked by required conditions
Deploy Docs / Deploy Docs (push) Waiting to run
Docs / Check formatting (push) Waiting to run
This PR adds two Postgrest containers—one for the app database and one for the LLM database—to the Docker Compose cluster. Also fixed an issue where `postgres_app.conf` and `postgres_llm.conf` had been switched. Release Notes: - N/A
63 lines
1.5 KiB
YAML
63 lines
1.5 KiB
YAML
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
|
|
|
|
livekit_server:
|
|
image: livekit/livekit-server
|
|
container_name: livekit_server
|
|
entrypoint: /livekit-server --config /livekit.yaml
|
|
ports:
|
|
- 7880:7880
|
|
- 7881:7881
|
|
- 7882:7882/udp
|
|
volumes:
|
|
- ./livekit.yaml:/livekit.yaml
|
|
|
|
postgrest_app:
|
|
image: postgrest/postgrest
|
|
container_name: postgrest_app
|
|
ports:
|
|
- 8081:8081
|
|
environment:
|
|
PGRST_DB_URI: postgres://postgres@postgres:5432/zed
|
|
volumes:
|
|
- ./crates/collab/postgrest_app.conf:/etc/postgrest.conf
|
|
command: postgrest /etc/postgrest.conf
|
|
depends_on:
|
|
- postgres
|
|
|
|
postgrest_llm:
|
|
image: postgrest/postgrest
|
|
container_name: postgrest_llm
|
|
ports:
|
|
- 8082:8082
|
|
environment:
|
|
PGRST_DB_URI: postgres://postgres@postgres:5432/zed_llm
|
|
volumes:
|
|
- ./crates/collab/postgrest_llm.conf:/etc/postgrest.conf
|
|
command: postgrest /etc/postgrest.conf
|
|
depends_on:
|
|
- postgres
|
|
|
|
volumes:
|
|
postgres_data:
|