Skip to content

Commit

Permalink
Merge pull request #123 from CogStack/prefix-solr-service
Browse files Browse the repository at this point in the history
CU-862j7vxen: prefix solr service name in medcattrainer nginx
  • Loading branch information
tomolopolis authored Feb 10, 2023
2 parents 8ca7128 + 6fb60be commit a7e1eec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions docker-compose-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ services:
- solr

solr:
container_name: mct_solr
image: solr:8
restart: always
ports:
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ services:
- solr

solr:
container_name: mct_solr
image: solr:8
restart: always
ports:
Expand Down
2 changes: 1 addition & 1 deletion nginx/sites-enabled/medcattrainer
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ server {
}

location /api/concepts/ {
proxy_pass http://solr:8983/solr/;
proxy_pass http://mct_solr:8983/solr/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
Expand Down

0 comments on commit a7e1eec

Please sign in to comment.