Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Add Postgrest to Docker Compose (#16498)
Marshall Bowers395a68133d98
diff --git a/compose.yml b/compose.ymlindex 28f091fb6f0..4cd4c86df64 100644--- a/compose.yml+++ b/compose.yml@@ -33,5 +33,31 @@ services: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:diff --git a/crates/collab/postgrest_app.conf b/crates/collab/postgrest_app.confindex 3a0cdfa4933..5d3b0e65b73 100644--- a/crates/collab/postgrest_app.conf+++ b/crates/collab/postgrest_app.conf@@ -1,4 +1,4 @@-db-uri = "postgres://postgres@localhost/zed_llm"-server-port = 8082+db-uri = "postgres://postgres@localhost/zed"+server-port = 8081jwt-secret = "the-postgrest-jwt-secret-for-authorization"log-level = "info"diff --git a/crates/collab/postgrest_llm.conf b/crates/collab/postgrest_llm.confindex 5d3b0e65b73..3a0cdfa4933 100644--- a/crates/collab/postgrest_llm.conf+++ b/crates/collab/postgrest_llm.conf@@ -1,4 +1,4 @@-db-uri = "postgres://postgres@localhost/zed"-server-port = 8081+db-uri = "postgres://postgres@localhost/zed_llm"+server-port = 8082jwt-secret = "the-postgrest-jwt-secret-for-authorization"log-level = "info"