Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add eduID servicedesk role #469

Merged
merged 2 commits into from
Jan 23, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions roles/myconext/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,45 @@
- source: /opt/openconext/myconext/apple-app-site-association
target: /var/www/.well-known/apple-app-site-association
type: bind
env:
HTTPD_CSP: "{{ httpd_csp.lenient_with_static_img_for_idp }}"
HTTPD_SERVERNAME: "login.{{ myconext_base_domain }}"

- name: Create the servicedesk gui
community.docker.docker_container:
name: servicedeskgui
image: ghcr.io/openconext/openconext-myconext/servicedesk-gui:{{ servicedesk_gui_version }}
pull: true
restart_policy: "always"
state: started
networks:
- name: "loadbalancer"
labels:
traefik.http.routers.servicedeskgui.rule: "Host(`servicedesk.{{ myconext_base_domain }}`)"
traefik.http.routers.servicedeskgui.tls: "true"
traefik.enable: "true"
healthcheck:
test: ["CMD", "curl", "--fail" , "http://localhost"]
interval: 10s
timeout: 10s
retries: 3
start_period: 10s
mounts:
- source: /etc/localtime
target: /etc/localtime
type: bind
- source: /opt/openconext/common/favicon.ico
target: /var/www/favicon.ico
type: bind
- source: /opt/openconext/myconext/apple-app-site-association
target: /var/www/.well-known/apple-app-site-association
type: bind
env:
HTTPD_CSP: "{{ httpd_csp.lenient_with_static_img_for_idp }}"
HTTPD_SERVERNAME: "login.{{ myconext_base_domain }}"
OPENCONEXT_INSTANCENAME: "{{ instance_name }}"
OPENCONEXT_ENGINE_LOGOUT_URL: "https://engine.{{ base_domain }}/logout"
OPENCONEXT_HELP_EMAIL: "{{ support_email }}"
SHIB_ENTITYID: "https://servicedesk.{{ myconext_base_domain }}/shibboleth"
SHIB_REMOTE_ENTITYID: "https://engine.{{ base_domain }}/authentication/idp/metadata"
SHIB_REMOTE_METADATA: "{{ shibboleth_metadata_sources.engine }}"
Loading