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