mirror of
https://github.com/cpacker/MemGPT.git
synced 2025-06-03 04:30:22 +00:00
feat: move docker run command to use port 8283 (#1949)
This commit is contained in:
parent
0768b96093
commit
9302c56933
@ -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: |
|
||||
|
@ -32,7 +32,7 @@ COPY --from=builder ${VIRTUAL_ENV} ${VIRTUAL_ENV}
|
||||
|
||||
COPY ./letta /letta
|
||||
|
||||
EXPOSE 8083
|
||||
EXPOSE 8283
|
||||
|
||||
CMD ./letta/server/startup.sh
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user