Skip to content

Commit

Permalink
docs: Improve deployment instructions. h2oai#1
Browse files Browse the repository at this point in the history
  • Loading branch information
mturoci committed Feb 3, 2023
1 parent b942c3a commit 20bc694
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion website/docs/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ These commands are equivalent:
```

```shell
(venv) $ H2O_WAVE_APP_ADDRESS="http://127.0.0.1:8000" uvicorn foo:main
(venv) $ uvicorn foo:main
```

For more information, see [uvicorn.org/deployment](https://www.uvicorn.org/deployment/) and [starlette.io/#performance](https://www.starlette.io/#performance).

### Beyond defaults

If different than defaults ports are used for Wave server (<http://localhost:10101>) or Wave app (<http://localhost:8000>) it's necessary to properly set `H2O_WAVE_LISTEN` and `H2O_WAVE_APP_ADDRESS` env variables. More info for configuration options can be found in the [configuration section](https://wave.h2o.ai/docs/configuration).

0 comments on commit 20bc694

Please sign in to comment.