mirror of
https://github.com/cpacker/MemGPT.git
synced 2025-06-03 04:30:22 +00:00
fix: Fix Docker compose startup issues (letta-ai#2056) (#2057)
This commit is contained in:
parent
e5a7fc406d
commit
9598d57c4f
@ -15,11 +15,17 @@ services:
|
|||||||
- ./init.sql:/docker-entrypoint-initdb.d/init.sql
|
- ./init.sql:/docker-entrypoint-initdb.d/init.sql
|
||||||
ports:
|
ports:
|
||||||
- "5432:5432"
|
- "5432:5432"
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "pg_isready -U letta"]
|
||||||
|
interval: 5s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
letta_server:
|
letta_server:
|
||||||
image: letta/letta:latest
|
image: letta/letta:latest
|
||||||
hostname: letta
|
hostname: letta
|
||||||
depends_on:
|
depends_on:
|
||||||
- letta_db
|
letta_db:
|
||||||
|
condition: service_healthy
|
||||||
ports:
|
ports:
|
||||||
- "8083:8083"
|
- "8083:8083"
|
||||||
- "8283:8283"
|
- "8283:8283"
|
||||||
|
@ -6,8 +6,6 @@ http {
|
|||||||
listen [::]:80;
|
listen [::]:80;
|
||||||
listen 8283;
|
listen 8283;
|
||||||
listen [::]:8283;
|
listen [::]:8283;
|
||||||
listen 8283;
|
|
||||||
listen [::]:8283;
|
|
||||||
server_name letta.localhost;
|
server_name letta.localhost;
|
||||||
set $api_target "http://letta-server:8283";
|
set $api_target "http://letta-server:8283";
|
||||||
location / {
|
location / {
|
||||||
|
Loading…
Reference in New Issue
Block a user