Skip to content

Commit

Permalink
comment out alternative SQLite env variables and adjust WDR_SEARCH_UR…
Browse files Browse the repository at this point in the history
…L env
  • Loading branch information
Kevin Ngai committed Jul 31, 2024
1 parent 9723c33 commit 4c1bca1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions default.env
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,15 @@ export WDR_DB_PASSWORD=postgres
export PGPASSWORD=$WDR_DB_PASSWORD

# alternative SQLite
export WDR_DB_TYPE=sqlite
export WDR_DB_NAME=test.db
# export WDR_DB_TYPE=sqlite
# export WDR_DB_NAME=test.db

## search index configuration
export WDR_SEARCH_TYPE=elasticsearch
export WDR_SEARCH_INDEX_BASENAME=woudc_data_registry
export WDR_SEARCH_USERNAME=elastic
export WDR_SEARCH_PASSWORD=<secret>
export WDR_SEARCH_URL=https://${WDR_SEARCH_USERNAME}:${WDR_SEARCH_PASSWORD}@woudc-geo-dev3.cmc.ec.gc.ca/elasticsearch/
# export WDR_SEARCH_URL=http://username:password@localhost:9200/
export WDR_SEARCH_URL=https://${WDR_SEARCH_USERNAME}:${WDR_SEARCH_PASSWORD}@localhost:9200/

## waf configuration
export WDR_WAF_BASEURL=https://woudc.org/archive/
Expand Down

0 comments on commit 4c1bca1

Please sign in to comment.