Port number adjustments
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
;;
|
;;
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user