WIP: Add initial version of Gluu configuration #26

Closed
graffen wants to merge 7 commits from gluu into main
Showing only changes of commit d5ff1c4e9d - Show all commits

View file

@ -41,6 +41,8 @@
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- "{{ gluu.volume_folder }}/consul:/consul/data" - "{{ gluu.volume_folder }}/consul:/consul/data"
networks:
- "gluu"
labels: labels:
- "SERVICE_IGNORE=yes" - "SERVICE_IGNORE=yes"
restart: unless-stopped restart: unless-stopped
@ -51,6 +53,8 @@
container_name: registrator container_name: registrator
volumes: volumes:
- /var/run/docker.sock:/tmp/docker.sock - /var/run/docker.sock:/tmp/docker.sock
networks:
- "gluu"
restart: unless-stopped restart: unless-stopped
depends_on: depends_on:
- consul - consul
@ -76,6 +80,9 @@
ports: ports:
- "80" - "80"
- "443" - "443"
networks:
- "external_services"
- "gluu"
container_name: nginx container_name: nginx
restart: unless-stopped restart: unless-stopped
labels: labels:
@ -107,6 +114,8 @@
- "{{ gluu.volume_folder }}/opendj/db:/opt/opendj/db" - "{{ gluu.volume_folder }}/opendj/db:/opt/opendj/db"
- "{{ gluu.volume_folder }}/opendj/flag:/flag" - "{{ gluu.volume_folder }}/opendj/flag:/flag"
- "{{ gluu.volume_folder }}/opendj/backup:/opt/opendj/bak" - "{{ gluu.volume_folder }}/opendj/backup:/opt/opendj/bak"
networks:
- "gluu"
restart: unless-stopped restart: unless-stopped
labels: labels:
- "SERVICE_IGNORE=yes" - "SERVICE_IGNORE=yes"
@ -126,6 +135,8 @@
- "{{ gluu.volume_folder }}/oxauth/custom/static:/opt/gluu/jetty/oxauth/custom/static" - "{{ gluu.volume_folder }}/oxauth/custom/static:/opt/gluu/jetty/oxauth/custom/static"
- "{{ gluu.volume_folder }}/oxauth/lib/ext:/opt/gluu/jetty/oxauth/lib/ext" - "{{ gluu.volume_folder }}/oxauth/lib/ext:/opt/gluu/jetty/oxauth/lib/ext"
- "{{ gluu.volume_folder }}/oxauth/logs:/opt/gluu/jetty/oxauth/logs" - "{{ gluu.volume_folder }}/oxauth/logs:/opt/gluu/jetty/oxauth/logs"
networks:
- "gluu"
mem_limit: 1536M mem_limit: 1536M
restart: unless-stopped restart: unless-stopped
labels: labels:
@ -151,6 +162,8 @@
- "{{ gluu.volume_folder }}/oxtrust/lib/ext:/opt/gluu/jetty/identity/lib/ext" - "{{ gluu.volume_folder }}/oxtrust/lib/ext:/opt/gluu/jetty/identity/lib/ext"
- "{{ gluu.volume_folder }}/oxtrust/logs:/opt/gluu/jetty/identity/logs" - "{{ gluu.volume_folder }}/oxtrust/logs:/opt/gluu/jetty/identity/logs"
- "{{ gluu.volume_folder }}/shared-shibboleth-idp:/opt/shared-shibboleth-idp" - "{{ gluu.volume_folder }}/shared-shibboleth-idp:/opt/shared-shibboleth-idp"
networks:
- "gluu"
mem_limit: 1536M mem_limit: 1536M
restart: unless-stopped restart: unless-stopped
labels: labels:
@ -171,6 +184,8 @@
container_name: oxshibboleth container_name: oxshibboleth
volumes: volumes:
- "{{ gluu.volume_folder }}/volumes/shared-shibboleth-idp:/opt/shared-shibboleth-idp" - "{{ gluu.volume_folder }}/volumes/shared-shibboleth-idp:/opt/shared-shibboleth-idp"
networks:
- "gluu"
mem_limit: 1024M mem_limit: 1024M
restart: unless-stopped restart: unless-stopped
labels: labels:
@ -192,9 +207,17 @@
extra_hosts: extra_hosts:
- "{{gluu.domain}}:85.235.225.231" - "{{gluu.domain}}:85.235.225.231"
container_name: oxpassport container_name: oxpassport
networks:
- "gluu"
restart: unless-stopped restart: unless-stopped
labels: labels:
- "SERVICE_NAME=oxpassport" - "SERVICE_NAME=oxpassport"
- "SERVICE_8090_CHECK_HTTP=/passport" - "SERVICE_8090_CHECK_HTTP=/passport"
- "SERVICE_8090_CHECK_INTERVAL=15s" - "SERVICE_8090_CHECK_INTERVAL=15s"
- "SERVICE_8090_CHECK_TIMEOUT=5s" - "SERVICE_8090_CHECK_TIMEOUT=5s"
networks:
external_services:
external: true
gluu:
name: "gluu"