# Example docker env file for OWS instance with (a single file) configuration.
# Set some default vars, you can overwrite these by creating env vars

################
# ODC DB Config
# ##############
ODC_DEFAULT_DB_URL=postgresql://opendatacubeusername:opendatacubepassword@postgres:5432/odc_postgres
ODC_OWSPOSTGIS_DB_URL=postgresql://opendatacubeusername:opendatacubepassword@postgres:5432/odc_postgis

# Needed for docker db image and db readiness probe.
POSTGRES_PORT=5432
POSTGRES_HOSTNAME=postgres
POSTGRES_USER=opendatacubeusername
SERVER_DB_USERNAME=opendatacubeusername
POSTGRES_PASSWORD=opendatacubepassword
POSTGRES_DB="odc_postgres,odc_postgis"

#################
# OWS CFG Config
#################
DATACUBE_OWS_CFG=config.ows_test_cfg.ows_cfg
PYTHONPATH=/src

################
# 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=/src/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
SENTRY_DSN=
