File tree Expand file tree Collapse file tree
backend/syftai_space/components/shared Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ COPY frontend/dist ./frontend/dist
5858
5959ENV PATH="/app/.venv/bin:$PATH" \
6060 PYTHONUNBUFFERED=1 \
61- SYFTAI_PORT =8080 \
61+ SYFT_PORT =8080 \
6262 SQLITE_DB_PATH=/data/app.db
6363
6464EXPOSE 8080
Original file line number Diff line number Diff 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 ()
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ uv venv -p 3.12
88uv 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
You can’t perform that action at this time.
0 commit comments