Skip to content

Commit

Permalink
Mujina IDP: Add config so the health and info endpoints are exposed a…
Browse files Browse the repository at this point in the history
…t /internal
  • Loading branch information
quartje committed Mar 15, 2024
1 parent 2d6ca3e commit 66f0852
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
2 changes: 1 addition & 1 deletion roles/mujina-idp/handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@

- name: restart mujina-idp-docker
community.docker.docker_container:
name: mujina_idp
name: mujina-idp
state: started
restart: true
2 changes: 1 addition & 1 deletion roles/mujina-idp/tasks/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

- name: Create and start the server container
community.docker.docker_container:
name: mujina_idp
name: mujina-idp
image: ghcr.io/openconext/mujina/mujina-idp:{{ mujina_version }}
pull: true
restart_policy: "always"
Expand Down
20 changes: 13 additions & 7 deletions roles/mujina-idp/templates/application.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,18 @@ spring:
velocity:
check-template-location: False

# We disable all endpoints except health for the load-balancer and info for git information.
endpoints:
enabled: false
jmx:
enabled: false
management:
health:
enabled: true
mail:
enabled: false
endpoints:
web:
exposure:
include: "health,info"
base-path: "/internal"
endpoint:
info:
enabled: true
info:
enabled: true
git:
mode: full

0 comments on commit 66f0852

Please sign in to comment.