Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example for powa-web server options + typos #91

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
27 changes: 21 additions & 6 deletions docs/components/powa-web/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -170,20 +170,35 @@ servers (dict):

cookie_secret (str):
A secret key used to secure cookies transiting between the web browser and the
server.
server.

.. code-block:: python

cookie_secret="SECRET_STRING"

The following options are optional:

port (int):
The port on which the UI will be available (default 8888)
The port on which the UI will be available (default 8888).


address (str):
The IP address on which the UI will be available (default 0.0.0.0)
The IP address on which the UI will be available. This must be one of the IP addresses of the powa-web server. Default is 0.0.0.0 and means that the UI is available from the outside. Set to '127.0.0.1' or '::1' to restrict access to the current computer. If you have a firewall, do not forget to add a rule to grant access.

Example:

.. code-block:: python

servers={
'main': {
'host': 'localhost',
'port': '5432',
'database': 'powa'
}
}
cookie_secret="ed2xoow8shet3eiyai4Odo2OTama2y"
port=8887
address='127.0.0.1'




See also:

Expand Down