|
64 | 64 | retries: 3 |
65 | 65 | start_period: 10s |
66 | 66 | register: aaservercontainer |
67 | | - |
68 | | -- name: Create the gui container |
69 | | - community.docker.docker_container: |
70 | | - name: aagui |
71 | | - image: ghcr.io/openconext/openconext-attribute-aggregation/aa-gui:{{ attribute_aggregation_gui_version }} |
72 | | - pull: true |
73 | | - restart_policy: "always" |
74 | | - state: started |
75 | | - networks: |
76 | | - - name: "loadbalancer" |
77 | | - labels: |
78 | | - traefik.http.routers.attribute-aggregationgui.rule: "Host(`aa.{{ base_domain }}`)" |
79 | | - traefik.http.routers.attribute-aggregationgui.tls: "true" |
80 | | - traefik.enable: "true" |
81 | | - healthcheck: |
82 | | - test: ["CMD", "curl", "--fail", "http://localhost/internal/health"] |
83 | | - interval: 10s |
84 | | - timeout: 10s |
85 | | - retries: 3 |
86 | | - start_period: 10s |
87 | | - hostname: attribute-aggregation |
88 | | - mounts: |
89 | | - - source: /etc/localtime |
90 | | - target: /etc/localtime |
91 | | - type: bind |
92 | | - - source: /opt/openconext/common/favicon.ico |
93 | | - target: /var/www/favicon.ico |
94 | | - type: bind |
95 | | - env: |
96 | | - HTTPD_CSP: "{{ httpd_csp.lenient_with_static_img }}" |
97 | | - HTTPD_SERVERNAME: "aa.{{ base_domain }}" |
98 | | - OPENCONEXT_INSTANCENAME: "{{ instance_name }}" |
99 | | - OPENCONEXT_ENGINE_LOGOUT_URL: "https://engine.{{ base_domain }}/logout" |
100 | | - OPENCONEXT_HELP_EMAIL: "{{ support_email }}" |
101 | | - SHIB_ENTITYID: "https://aa.{{ base_domain }}/shibboleth" |
102 | | - SHIB_REMOTE_ENTITYID: "https://engine.{{ base_domain }}/authentication/idp/metadata" |
103 | | - SHIB_REMOTE_METADATA: "{{ shibboleth_metadata_sources.engine }}" |
104 | | - |
105 | | -- name: Create the gui link container |
106 | | - community.docker.docker_container: |
107 | | - name: aalink |
108 | | - image: ghcr.io/openconext/openconext-basecontainers/apache2-shibboleth:latest |
109 | | - pull: true |
110 | | - restart_policy: "always" |
111 | | - state: started |
112 | | - networks: |
113 | | - - name: "loadbalancer" |
114 | | - labels: |
115 | | - traefik.http.routers.attribute-aggregationlink.rule: "Host(`link.{{ base_domain }}`)" |
116 | | - traefik.http.routers.attribute-aggregationlink.tls: "true" |
117 | | - traefik.enable: "true" |
118 | | - healthcheck: |
119 | | - test: ["CMD", "curl", "--fail", "http://localhost/internal/health"] |
120 | | - interval: 10s |
121 | | - timeout: 10s |
122 | | - retries: 3 |
123 | | - start_period: 10s |
124 | | - mounts: |
125 | | - - source: /opt/openconext/attribute-aggregation/apachelink.conf |
126 | | - target: /etc/apache2/sites-enabled/000-default.conf |
127 | | - type: bind |
128 | | - - source: /etc/localtime |
129 | | - target: /etc/localtime |
130 | | - type: bind |
131 | | - - source: /opt/openconext/common/favicon.ico |
132 | | - target: /var/www/favicon.ico |
133 | | - type: bind |
134 | | - hostname: attribute-link |
135 | | - env: |
136 | | - HTTPD_CSP: "{{ httpd_csp.lenient_with_static_img }}" |
137 | | - HTTPD_SERVERNAME: "link.{{ base_domain }}" |
138 | | - OPENCONEXT_INSTANCENAME: "{{ instance_name }}" |
139 | | - OPENCONEXT_ENGINE_LOGOUT_URL: "https://engine.{{ base_domain }}/logout" |
140 | | - OPENCONEXT_HELP_EMAIL: "{{ support_email }}" |
141 | | - SHIB_ENTITYID: "https://link.{{ base_domain }}/shibboleth" |
142 | | - SHIB_REMOTE_ENTITYID: "https://engine.{{ base_domain }}/authentication/idp/metadata" |
143 | | - SHIB_REMOTE_METADATA: "{{ shibboleth_metadata_sources.engine }}" |
0 commit comments