Describe the bug
Docker compose startup fails due to two issues:
Nginx container fails due to duplicate port 8283 listener configuration
Letta server fails to connect to database due to timing issues in container startup sequence
Please describe your setup
[x] How did you install letta?
git clone and running with Docker compose
[x] Describe your setup
Windows system running Docker
Using standard compose.yaml from repository
Screenshots
Error logs showing both issues:
letta_nginx-1 | 2024/11/18 02:23:20 [emerg] 1#1: a duplicate listen 0.0.0.0:8283 in /etc/nginx/nginx.conf:9
letta_server-1 | pg8000.exceptions.InterfaceError: Can't create a connection to host pgvector_db and port 5432
Additional context
The issues occur on fresh clone when running docker compose up. The nginx container fails immediately due to configuration error, and even after fixing that, the Letta server fails to connect to the database because it attempts connection before the database is ready to accept connections.
Letta Config
Not applicable - issue occurs before config is loaded, during Docker compose startup.
Describe the bug Docker compose startup fails due to two issues:
Please describe your setup
git clone
and running with Docker composeScreenshots Error logs showing both issues:
Additional context The issues occur on fresh clone when running
docker compose up
. The nginx container fails immediately due to configuration error, and even after fixing that, the Letta server fails to connect to the database because it attempts connection before the database is ready to accept connections.Letta Config Not applicable - issue occurs before config is loaded, during Docker compose startup.