Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

feat: move docker run command to use port 8283 (#1949)

Sarah Wooders969300fb567f
diff --git a/.github/workflows/docker-integration-tests.yaml b/.github/workflows/docker-integration-tests.yaml
index a4108357e..6357afec4 100644
--- a/.github/workflows/docker-integration-tests.yaml
+++ b/.github/workflows/docker-integration-tests.yaml
@@ -41,7 +41,7 @@ jobs:
# install-args: "--all-extras"
- name: Wait for service
- run: bash scripts/wait_for_service.sh http://localhost:8083 -- echo "Service is ready"
+ run: bash scripts/wait_for_service.sh http://localhost:8283 -- echo "Service is ready"
- name: Run tests with pytest
env:
@@ -50,7 +50,7 @@ jobs:
LETTA_PG_PASSWORD: letta
LETTA_PG_PORT: 8888
LETTA_SERVER_PASS: test_server_token
- LETTA_SERVER_URL: http://localhost:8083
+ LETTA_SERVER_URL: http://localhost:8283
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
PYTHONPATH: ${{ github.workspace }}:${{ env.PYTHONPATH }}
run: |
diff --git a/Dockerfile b/Dockerfile
index 94b50402b..1c97e9939 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -32,7 +32,7 @@ COPY --from=builder ${VIRTUAL_ENV} ${VIRTUAL_ENV}
COPY ./letta /letta
-EXPOSE 8083
+EXPOSE 8283
CMD ./letta/server/startup.sh
diff --git a/docker-compose-vllm.yaml b/docker-compose-vllm.yaml
index b7643f027..c9a543440 100644
--- a/docker-compose-vllm.yaml
+++ b/docker-compose-vllm.yaml
@@ -4,7 +4,7 @@ services:
letta:
image: lettaai/letta:latest
ports:
- - "8083:8083"
+ - "8283:8283"
environment:
- LETTA_LLM_ENDPOINT=http://vllm:8000
- LETTA_LLM_ENDPOINT_TYPE=vllm
diff --git a/letta/server/startup.sh b/letta/server/startup.sh
index d2f5aefe2..975be72b0 100755
--- a/letta/server/startup.sh
+++ b/letta/server/startup.sh
@@ -2,7 +2,7 @@
echo "Starting MEMGPT server..."
if [ "$MEMGPT_ENVIRONMENT" = "DEVELOPMENT" ] ; then
echo "Starting in development mode!"
- uvicorn letta.server.rest_api.app:app --reload --reload-dir /letta --host 0.0.0.0 --port 8083
+ uvicorn letta.server.rest_api.app:app --reload --reload-dir /letta --host 0.0.0.0 --port 8283
else
- uvicorn letta.server.rest_api.app:app --host 0.0.0.0 --port 8083
+ uvicorn letta.server.rest_api.app:app --host 0.0.0.0 --port 8283
fi
diff --git a/nginx.conf b/nginx.conf
index 5b9d5b824..3949b10b1 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -4,12 +4,12 @@ http {
server {
listen 80;
listen [::]:80;
- listen 8083;
- listen [::]:8083;
+ listen 8283;
+ listen [::]:8283;
listen 8283;
listen [::]:8283;
server_name letta.localhost;
- set $api_target "http://letta-server:8083";
+ set $api_target "http://letta-server:8283";
location / {
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $remote_addr;