Port number adjustments
All checks were successful
CVE Scan & Docker Build / security-scan (push) Successful in 50s
CVE Scan & Docker Build / build-and-push (push) Successful in 56s

This commit is contained in:
2026-05-03 19:56:01 -04:00
parent 7185d326eb
commit 72bd4b381d
3 changed files with 4 additions and 8 deletions

View File

@@ -42,8 +42,6 @@ services:
condition: service_completed_successfully condition: service_completed_successfully
volumes: volumes:
- mnemosyne-media:/app/media - mnemosyne-media:/app/media
expose:
- "8000"
healthcheck: healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/live/"] test: ["CMD", "curl", "-f", "http://localhost:8000/live/"]
interval: 30s interval: 30s
@@ -59,10 +57,8 @@ services:
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- mnemosyne-media:/app/media - mnemosyne-media:/app/media
expose:
- "22091"
healthcheck: healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:22091/mcp/health"] test: ["CMD", "curl", "-f", "http://localhost:8001/mcp/health"]
interval: 30s interval: 30s
timeout: 5s timeout: 5s
retries: 3 retries: 3
@@ -96,7 +92,7 @@ services:
mcp: mcp:
condition: service_healthy condition: service_healthy
ports: ports:
- "23090:80" - "23181:80"
volumes: volumes:
- ./nginx/mnemosyne.conf:/etc/nginx/conf.d/default.conf:ro - ./nginx/mnemosyne.conf:/etc/nginx/conf.d/default.conf:ro
- mnemosyne-static:/var/www/static:ro - mnemosyne-static:/var/www/static:ro

View File

@@ -22,7 +22,7 @@ case "$1" in
# FastMCP over Streamable HTTP at /mcp/, mounted by mnemosyne.asgi. # FastMCP over Streamable HTTP at /mcp/, mounted by mnemosyne.asgi.
exec uvicorn \ exec uvicorn \
--host 0.0.0.0 \ --host 0.0.0.0 \
--port 22091 \ --port 8001 \
--workers "${UVICORN_WORKERS:-1}" \ --workers "${UVICORN_WORKERS:-1}" \
mnemosyne.asgi:app mnemosyne.asgi:app
;; ;;

View File

@@ -21,7 +21,7 @@ upstream mnemosyne_app {
} }
upstream mnemosyne_mcp { upstream mnemosyne_mcp {
server mcp:22091 max_fails=3 fail_timeout=30s; server mcp:8001 max_fails=3 fail_timeout=30s;
} }
server { server {