-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
86 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,42 @@ | ||
# Set some default vars, you can overwrite these by creating env vars | ||
# Example docker env file for OWS instance with (multi-file) configuration. | ||
AWS_REGION=ap-southeast-2 | ||
################ | ||
# ODC DB Config | ||
# ############## | ||
DB_HOSTNAME=postgres | ||
DB_PORT=5434 | ||
DB_USERNAME=opendatacubeusername | ||
DB_PASSWORD=opendatacubepassword | ||
DB_DATABASE=opendatacube | ||
OWS_CFG_FILE=ows_refactored/ows_root_cfg.py | ||
# OWS_CFG_FOLDER config enables mounting an external CFG folder | ||
OWS_CFG_FOLDER=~/dea-config/dev/services/wms/ows_refactored | ||
# OWS_CFG_CONTAINER_FOLDER defines the mount inside docker container | ||
OWS_CFG_CONTAINER_FOLDER=/env/config/ows_refactored | ||
|
||
################# | ||
# OWS CFG Config | ||
################# | ||
PYTHONPATH=/env/config | ||
DATACUBE_OWS_CFG=ows_refactored.ows_root_cfg.ows_cfg | ||
|
||
################ | ||
# Docker Volume | ||
################ | ||
# OWS_CFG_DIR config enables mounting an external CFG folder | ||
OWS_CFG_DIR=~/dea-config/dev/services/wms/ows_refactored | ||
# OWS_CFG_MOUNT_DIR defines the mount inside docker container | ||
OWS_CFG_MOUNT_DIR=/env/config/ows_refactored | ||
|
||
################ | ||
# AWS S3 Config | ||
################ | ||
AWS_REGION=ap-southeast-2 | ||
AWS_NO_SIGN_REQUEST=yes | ||
AWS_S3_ENDPOINT= | ||
|
||
################### | ||
# Dev Tools Config | ||
################### | ||
# If you want to use pydev for interactive debugging | ||
PYDEV_DEBUG= | ||
# Will not work with pydev | ||
# Note that FLASK_ENV is now deprecated. | ||
FLASK_DEBUG= | ||
prometheus_multiproc_dir=/tmp | ||
PYTHONPATH=/env/config | ||
DATACUBE_OWS_CFG=ows_refactored.ows_root_cfg.ows_cfg | ||
SENTRY_DSN= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,43 @@ | ||
# Example docker env file for OWS instance with (a single file) configuration. | ||
# Set some default vars, you can overwrite these by creating env vars | ||
AWS_REGION=ap-southeast-2 | ||
|
||
################ | ||
# ODC DB Config | ||
# ############## | ||
DB_HOSTNAME=postgres | ||
DB_PORT=5432 | ||
DB_USERNAME=opendatacubeusername | ||
DB_PASSWORD=opendatacubepassword | ||
DB_DATABASE=opendatacube | ||
OWS_CFG_FILE=config/ows_test_cfg.py | ||
# OWS_CFG_FOLDER config enables mounting an external CFG folder | ||
OWS_CFG_FOLDER=./integration_tests/cfg | ||
# OWS_CFG_CONTAINER_FOLDER defines the mount inside docker container | ||
OWS_CFG_CONTAINER_FOLDER=/env/config | ||
|
||
################# | ||
# OWS CFG Config | ||
################# | ||
DATACUBE_OWS_CFG=config.ows_test_cfg.ows_cfg | ||
PYTHONPATH=/env | ||
|
||
################ | ||
# Docker Volume | ||
################ | ||
# OWS_CFG_DIR config enables mounting an external CFG folder | ||
OWS_CFG_DIR=./integration_tests/cfg | ||
# OWS_CFG_MOUNT_DIR defines the mount inside docker container | ||
OWS_CFG_MOUNT_DIR=/env/config | ||
|
||
################ | ||
# AWS S3 Config | ||
################ | ||
AWS_REGION=ap-southeast-2 | ||
AWS_NO_SIGN_REQUEST=yes | ||
AWS_S3_ENDPOINT= | ||
|
||
################### | ||
# Dev Tools Config | ||
################### | ||
# If you want to use pydev for interactive debugging | ||
PYDEV_DEBUG= | ||
# Will not work with pydev | ||
# Note FLASK_ENV is now deprecated. | ||
FLASK_DEBUG= | ||
prometheus_multiproc_dir=/tmp | ||
PYTHONPATH=/env | ||
DATACUBE_OWS_CFG=config.ows_test_cfg.ows_cfg | ||
SENTRY_DSN= |
40 changes: 30 additions & 10 deletions
40
complementary_config_test/.env_complementary_config_dea_dev
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,42 @@ | ||
# Set some default vars, you can overwrite these by creating env vars | ||
# Example docker env file for OWS instance with (multi-file) configuration. | ||
AWS_REGION=ap-southeast-2 | ||
################ | ||
# ODC DB Config | ||
# ############## | ||
DB_HOSTNAME=postgres | ||
DB_PORT=5432 | ||
DB_PORT=5434 | ||
DB_USERNAME=opendatacubeusername | ||
DB_PASSWORD=opendatacubepassword | ||
DB_DATABASE=opendatacube | ||
OWS_CFG_FILE=ows_refactored/ows_root_cfg.py | ||
# OWS_CFG_FOLDER config enables mounting an external CFG folder | ||
OWS_CFG_FOLDER=/home/runner/work/datacube-ows/datacube-ows/dea-config/dev/services/wms/ows_refactored | ||
# OWS_CFG_CONTAINER_FOLDER defines the mount inside docker container | ||
OWS_CFG_CONTAINER_FOLDER=/env/config/ows_refactored | ||
|
||
################# | ||
# OWS CFG Config | ||
################# | ||
PYTHONPATH=/env/config | ||
DATACUBE_OWS_CFG=ows_refactored.ows_root_cfg.ows_cfg | ||
|
||
################ | ||
# Docker Volume | ||
################ | ||
# OWS_CFG_DIR config enables mounting an external CFG folder | ||
OWS_CFG_DIR=/home/runner/work/datacube-ows/datacube-ows/dea-config/dev/services/wms/ows_refactored | ||
# OWS_CFG_MOUNT_DIR defines the mount inside docker container | ||
OWS_CFG_MOUNT_DIR=/env/config/ows_refactored | ||
|
||
################ | ||
# AWS S3 Config | ||
################ | ||
AWS_REGION=ap-southeast-2 | ||
AWS_NO_SIGN_REQUEST=yes | ||
AWS_S3_ENDPOINT= | ||
|
||
################### | ||
# Dev Tools Config | ||
################### | ||
# If you want to use pydev for interactive debugging | ||
PYDEV_DEBUG= | ||
# Will not work with pydev | ||
FLASK_ENV=development | ||
# Note that FLASK_ENV is now deprecated. | ||
FLASK_DEBUG= | ||
prometheus_multiproc_dir=/tmp | ||
PYTHONPATH=/env/config | ||
DATACUBE_OWS_CFG=ows_refactored.ows_root_cfg.ows_cfg | ||
SENTRY_DSN= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters