Skip to content

Commit c15771c

Browse files
committed
fix: rename SYFTAI_PORT to SYFT_PORT
1 parent a01337e commit c15771c

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ COPY frontend/dist ./frontend/dist
5858

5959
ENV PATH="/app/.venv/bin:$PATH" \
6060
PYTHONUNBUFFERED=1 \
61-
SYFTAI_PORT=8080 \
61+
SYFT_PORT=8080 \
6262
SQLITE_DB_PATH=/data/app.db
6363

6464
EXPOSE 8080

backend/syftai_space/components/shared/proxy_service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ def __init__(
3636
3737
Args:
3838
settings_repository: Repository for persisting settings
39-
port: Port to forward traffic to (default: SYFTAI_PORT env or 8080)
39+
port: Port to forward traffic to (default: SYFT_PORT environment variable or 8080)
4040
"""
4141
self._settings_repository = settings_repository
42-
self._port = port or int(os.getenv("SYFTAI_PORT", "8080"))
42+
self._port = port or int(os.getenv("SYFT_PORT", "8080"))
4343
self._listener = None
4444
self._current_token: str | None = None
4545
self._shutdown_event = asyncio.Event()

run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ uv venv -p 3.12
88
uv pip install -e "backend/.[dev]"
99

1010
# Set default port if not provided
11-
SYFTAI_PORT=${SYFTAI_PORT:-8080}
11+
SYFT_PORT=${SYFT_PORT:-8080}
1212

1313
# Run uvicorn with new module path
14-
uv run uvicorn syftai_space.main:app --reload --host 0.0.0.0 --port $SYFTAI_PORT
14+
uv run uvicorn syftai_space.main:app --reload --host 0.0.0.0 --port $SYFT_PORT

0 commit comments

Comments
 (0)