1services:
 2  postgres:
 3    image: docker.io/library/postgres:15
 4    container_name: zed_postgres
 5    ports:
 6      - 5432:5432
 7    environment:
 8      POSTGRES_HOST_AUTH_METHOD: trust
 9    volumes:
10      - postgres_data:/var/lib/postgresql/data
11      - ./docker-compose.sql:/docker-entrypoint-initdb.d/init.sql
12
13  blob_store:
14    image: quay.io/minio/minio
15    container_name: blob_store
16    command: server /data
17    ports:
18      - 9000:9000
19    environment:
20      MINIO_ROOT_USER: the-blob-store-access-key
21      MINIO_ROOT_PASSWORD: the-blob-store-secret-key
22    volumes:
23      - ./.blob_store:/data
24
25  livekit_server:
26    image: docker.io/livekit/livekit-server
27    container_name: livekit_server
28    entrypoint: /livekit-server --config /livekit.yaml
29    ports:
30      - 7880:7880
31      - 7881:7881
32      - 7882:7882/udp
33    volumes:
34      - ./livekit.yaml:/livekit.yaml
35
36  postgrest_app:
37    image: docker.io/postgrest/postgrest
38    container_name: postgrest_app
39    ports:
40      - 8081:8081
41    environment:
42      PGRST_DB_URI: postgres://postgres@postgres:5432/zed
43    volumes:
44      - ./crates/collab/postgrest_app.conf:/etc/postgrest.conf
45    command: postgrest /etc/postgrest.conf
46    depends_on:
47      - postgres
48
49  postgrest_llm:
50    image: docker.io/postgrest/postgrest
51    container_name: postgrest_llm
52    ports:
53      - 8082:8082
54    environment:
55      PGRST_DB_URI: postgres://postgres@postgres:5432/zed_llm
56    volumes:
57      - ./crates/collab/postgrest_llm.conf:/etc/postgrest.conf
58    command: postgrest /etc/postgrest.conf
59    depends_on:
60      - postgres
61
62  stripe-mock:
63    image: docker.io/stripe/stripe-mock:v0.178.0
64    ports:
65      - 12111:12111
66      - 12112:12112
67
68volumes:
69  postgres_data: