Skip to content

Commit

Permalink
cleaner overridable haprouter config
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesw committed Dec 9, 2024
1 parent 34085f5 commit 8ae0c47
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 13 deletions.
16 changes: 3 additions & 13 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,9 @@ services:
build:
context: .
dockerfile: orcid-haprouter/Dockerfile
environment:
POSTGRES_READ_FQDN_A: postgres
POSTGRES_READ_FQDN_B: localhost
POSTGRES_READ_FQDN_C: localhost
POSTGRES_WRITE_FQDN_A: postgres
POSTGRES_WRITE_FQDN_B: localhost
POSTGRES_WRITE_FQDN_C: localhost
SOLR_READ_FQDN_A: solr
SOLR_READ_FQDN_B: localhost
SOLR_READ_FQDN_C: localhost
SOLR_WRITE_FQDN_A: solr
SOLR_WRITE_FQDN_B: localhost
SOLR_WRITE_FQDN_C: localhost
env_file:
- orcid-haprouter/dev.env
- orcid-haprouter/deployment.env
ports:
- 0.0.0.0:8888:1936 # stats
- 0.0.0.0:7983:7983 # solr read
Expand Down
1 change: 1 addition & 0 deletions orcid-haprouter/deployment.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# empty file that is written out by deployment systems
12 changes: 12 additions & 0 deletions orcid-haprouter/dev.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
POSTGRES_READ_FQDN_A=postgres
POSTGRES_READ_FQDN_B=localhost
POSTGRES_READ_FQDN_C=localhost
POSTGRES_WRITE_FQDN_A=postgres
POSTGRES_WRITE_FQDN_B=localhost
POSTGRES_WRITE_FQDN_C=localhost
SOLR_READ_FQDN_A=solr
SOLR_READ_FQDN_B=localhost
SOLR_READ_FQDN_C=localhost
SOLR_WRITE_FQDN_A=solr
SOLR_WRITE_FQDN_B=localhost
SOLR_WRITE_FQDN_C=localhost

0 comments on commit 8ae0c47

Please sign in to comment.