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

Create env variable for UI Cluster #590

Merged
merged 3 commits into from
Dec 14, 2023
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
2 changes: 1 addition & 1 deletion docs/source/reference/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ Web application configuration provides the ability to customize web components.

WIS2BOX_BASEMAP_URL="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" # URL of map tile server to use
WIS2BOX_BASEMAP_ATTRIBUTION="<a href="https://osm.org/copyright">OpenStreetMap</a> contributors" # attribution of map tile server

WIS2BOX_UI_CLUSTER=False # default setting of the cluster toggle

Other
^^^^^
Expand Down
2 changes: 1 addition & 1 deletion docs/source/user/data-ingest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ To use the ``docker-compose.wis2box-ftp.yml`` template included in wis2box, crea
FTP_HOST=${MYHOSTNAME}

WIS2BOX_STORAGE_ENDPOINT=http://${MYHOSTNAME}:9000
WIS2BOX_STORAGE_USER=wis2box
WIS2BOX_STORAGE_USERNAME=wis2box
WIS2BOX_STORAGE_PASSWORD=XXXXXXXX

LOGGING_LEVEL=INFO
Expand Down
1 change: 1 addition & 0 deletions tests/test.env
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ WIS2BOX_DATADIR=/data/wis2box

# wis2box public URL
WIS2BOX_URL=http://localhost
WIS2BOX_UI_CLUSTER=false

# api
WIS2BOX_API_TYPE=pygeoapi
Expand Down
1 change: 1 addition & 0 deletions wis2box-create-config.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ def create_wis2box_env(config_dir: str) -> None:
wis2box_url = get_wis2box_url()
fh.write('# wis2box public URL\n')
fh.write(f'WIS2BOX_URL={wis2box_url}\n')
fh.write('WIS2BOX_UI_CLUSTER=false\n')
fh.write('\n')
fh.write('# api\n')
fh.write('WIS2BOX_API_TYPE=pygeoapi\n')
Expand Down
Loading