Skip to content

Commit

Permalink
remove CUBEDASH_DEFAULT_PRODUCTS config
Browse files Browse the repository at this point in the history
  • Loading branch information
pindge committed Aug 16, 2022
1 parent d827186 commit 406e19f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
6 changes: 0 additions & 6 deletions cubedash/_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,6 @@ def get_current_theme():
index_connect(application_name=NAME, validate_connection=False)
)

# Which product to show by default when loading '/'. Picks the first available.
DEFAULT_START_PAGE_PRODUCTS = app.config.get("CUBEDASH_DEFAULT_PRODUCTS") or (
"ls7_nbar_scene",
"ls5_nbar_scene",
)

DEFAULT_GROUPING_TIMEZONE = app.config.get("CUBEDASH_DEFAULT_TIMEZONE", "Australia/Darwin")

_LOG = structlog.get_logger()
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ services:
args:
ENVIRONMENT: deployment
ports:
- 80:8080
- 81:8080
environment:
# - DB_HOSTNAME=host.docker.internal
- DB_HOSTNAME=postgres
- DB_USERNAME=opendatacube
- DB_PASSWORD=opendatacubepassword
- DB_DATABASE=opendatacube
- DB_DATABASE=opendatacube_test
- DB_PORT=5432
- FLASK_ENV=development
- FLASK_APP=cubedash
Expand All @@ -29,7 +29,7 @@ services:
- POSTGRES_PASSWORD=opendatacubepassword
- POSTGRES_USER=opendatacube
ports:
- 5432:5432
- 5431:5432
restart: always

# Needed for testing HTTPS
Expand Down

0 comments on commit 406e19f

Please # to comment.