diff --git a/docker-compose.yaml b/docker-compose.yaml index 5936bc0..146d0fd 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -42,8 +42,6 @@ services: condition: service_completed_successfully volumes: - mnemosyne-media:/app/media - expose: - - "8000" healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8000/live/"] interval: 30s @@ -59,10 +57,8 @@ services: restart: unless-stopped volumes: - mnemosyne-media:/app/media - expose: - - "22091" healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:22091/mcp/health"] + test: ["CMD", "curl", "-f", "http://localhost:8001/mcp/health"] interval: 30s timeout: 5s retries: 3 @@ -96,7 +92,7 @@ services: mcp: condition: service_healthy ports: - - "23090:80" + - "23181:80" volumes: - ./nginx/mnemosyne.conf:/etc/nginx/conf.d/default.conf:ro - mnemosyne-static:/var/www/static:ro diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index 1a7e992..eca079a 100644 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -22,7 +22,7 @@ case "$1" in # FastMCP over Streamable HTTP at /mcp/, mounted by mnemosyne.asgi. exec uvicorn \ --host 0.0.0.0 \ - --port 22091 \ + --port 8001 \ --workers "${UVICORN_WORKERS:-1}" \ mnemosyne.asgi:app ;; diff --git a/nginx/mnemosyne.conf b/nginx/mnemosyne.conf index 4c679ba..05e7ba5 100644 --- a/nginx/mnemosyne.conf +++ b/nginx/mnemosyne.conf @@ -21,7 +21,7 @@ upstream mnemosyne_app { } upstream mnemosyne_mcp { - server mcp:22091 max_fails=3 fail_timeout=30s; + server mcp:8001 max_fails=3 fail_timeout=30s; } server {