zed/docker-compose.yml
Marshall Bowers 07501d9cfa
Add LiveKit server to Docker Compose (#7907)
This PR adds the LiveKit server to the Docker Compose setup.

All of the dependencies needed to run the collab server are now
encapsulated within Docker Compose.

Release Notes:

- N/A
2024-02-16 10:49:48 -05:00

40 lines
886 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
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
volumes:
postgres_data: