Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ services:
- MROK_LOGGING__DEBUG=false
networks:
mrok:
ipv4_address: ${MROK_DEVCONTAINER_IP:-172.99.0.15}
ipv4_address: ${MROK_CONTROLLER_IP:-172.99.0.15}
dns:
- ${MROK_DNS_IP:-172.99.0.2}

Expand All @@ -220,7 +220,7 @@ services:
command: >
bash -c "
mrok admin bootstrap /app/identities/public.json
mrok frontend run -w ${MROK_FRONTEND_WORKERS:-4} -h ${MROK_INTERFACE:-0.0.0.0} -P ${MROK_FRONTEND_PORT:-8080} --max-pool-keepalive-expiry 15 /app/identities/public.json
mrok frontend run -w ${MROK_FRONTEND_WORKERS:-4} -h ${MROK_INTERFACE:-0.0.0.0} -p ${MROK_FRONTEND_PORT:-8080} --max-pool-keepalive-expiry 15 /app/identities/public.json
"
ports:
- ${MROK_INTERFACE:-0.0.0.0}:${MROK_FRONTEND_PORT:-8080}:${MROK_FRONTEND_PORT:-8080}
Expand All @@ -237,7 +237,7 @@ services:
- MROK_LOGGING__DEBUG=false
networks:
mrok:
ipv4_address: ${MROK_PROXY_IP:-172.99.0.10}
ipv4_address: ${MROK_FRONTEND_IP:-172.99.0.10}
dns:
- ${MROK_DNS_IP:-172.99.0.2}

Expand Down
2 changes: 1 addition & 1 deletion mrok/cli/commands/agent/run/asgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
def register(app: typer.Typer) -> None:
@app.command("asgi")
def run_asgi(
app: Annotated[str, typer.Argument(..., help="ASGI application")],
identity_file: Annotated[Path, typer.Argument(..., help="Identity json file")],
app: Annotated[str, typer.Argument(..., help="ASGI application")],
workers: Annotated[
int,
typer.Option(
Expand Down
2 changes: 1 addition & 1 deletion mrok/cli/commands/frontend/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def run_frontend(
int,
typer.Option(
"--port",
"-P",
"-p",
help="Port to bind to. Default: 8000",
show_default=True,
),
Expand Down
2 changes: 1 addition & 1 deletion tests/cli/agent/test_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ def test_run_asgi(
)
assert result.exit_code == 0
mocked_ziticorn.assert_called_once_with(
"my:app",
"ins-1234-5678-0001.json",
"my:app",
workers=2,
reload=True,
publishers_port=4000,
Expand Down
Loading