Skip to content

Commit

Permalink
#102 - Remove portmapping for elasticsearch and add proxy hint to readme
Browse files Browse the repository at this point in the history
- Remove port mappings from dataportal-elastic service
- Add hint to proxy settings in readme
  • Loading branch information
michael-82 committed Dec 2, 2024
1 parent 0fafc4d commit 839ca68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions feasibility-portal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ For the reverse proxy you need to choose the configuration (variable `FEASIBILIT
- `uiBackendApi > baseUrl`: set the domain part of the local feasibility portal backend with the context path `/api`. For example https://example.org/api.
- `auth > baseUrl`: set the domain part of the local feasibility portal keycloak the context path `/auth`. For example https://example.org/auth.

In case you do **not** have a docker-wide configuration of your organizations proxy server(s) you might need to add the following parameters to the `environment` section of the `init-elasticsearch` service in `backend/docker-compose.yml`: `HTTP_PROXY`, `HTTPS_PROXY` and `NO_PROXY`. The first two should obviously be your proxy server, the last one must include `dataportal-elastic`.

Please note that the keycloak provided here is an example setup, and we strongly recommend for each site to adjust the keycloak installation to their local security requirements or connect the local feasibility portal to a keycloak already provided at the site.

For more details on the environment variables see the paragraph **Configurable environment variables** of this README.
Expand Down
3 changes: 0 additions & 3 deletions feasibility-portal/backend/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,6 @@ services:
target: /var/lib/postgresql/data
dataportal-elastic:
image: docker.elastic.co/elasticsearch/elasticsearch:8.16.0
ports:
- "127.0.0.1:9200:9200"
- "127.0.0.1:9300:9300"
healthcheck:
test: [ "CMD-SHELL", "curl --silent --fail localhost:9200/_cluster/health || exit 1" ]
interval: 30s
Expand Down

0 comments on commit 839ca68

Please sign in to comment.