forked from data.coop/ansible
Add network for gluu
This commit is contained in:
parent
95a4310566
commit
d5ff1c4e9d
|
@ -41,6 +41,8 @@
|
|||
restart: unless-stopped
|
||||
volumes:
|
||||
- "{{ gluu.volume_folder }}/consul:/consul/data"
|
||||
networks:
|
||||
- "gluu"
|
||||
labels:
|
||||
- "SERVICE_IGNORE=yes"
|
||||
restart: unless-stopped
|
||||
|
@ -51,6 +53,8 @@
|
|||
container_name: registrator
|
||||
volumes:
|
||||
- /var/run/docker.sock:/tmp/docker.sock
|
||||
networks:
|
||||
- "gluu"
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- consul
|
||||
|
@ -76,6 +80,9 @@
|
|||
ports:
|
||||
- "80"
|
||||
- "443"
|
||||
networks:
|
||||
- "external_services"
|
||||
- "gluu"
|
||||
container_name: nginx
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
|
@ -107,6 +114,8 @@
|
|||
- "{{ gluu.volume_folder }}/opendj/db:/opt/opendj/db"
|
||||
- "{{ gluu.volume_folder }}/opendj/flag:/flag"
|
||||
- "{{ gluu.volume_folder }}/opendj/backup:/opt/opendj/bak"
|
||||
networks:
|
||||
- "gluu"
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
- "SERVICE_IGNORE=yes"
|
||||
|
@ -126,6 +135,8 @@
|
|||
- "{{ 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/logs:/opt/gluu/jetty/oxauth/logs"
|
||||
networks:
|
||||
- "gluu"
|
||||
mem_limit: 1536M
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
|
@ -151,6 +162,8 @@
|
|||
- "{{ 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 }}/shared-shibboleth-idp:/opt/shared-shibboleth-idp"
|
||||
networks:
|
||||
- "gluu"
|
||||
mem_limit: 1536M
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
|
@ -171,6 +184,8 @@
|
|||
container_name: oxshibboleth
|
||||
volumes:
|
||||
- "{{ gluu.volume_folder }}/volumes/shared-shibboleth-idp:/opt/shared-shibboleth-idp"
|
||||
networks:
|
||||
- "gluu"
|
||||
mem_limit: 1024M
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
|
@ -192,9 +207,17 @@
|
|||
extra_hosts:
|
||||
- "{{gluu.domain}}:85.235.225.231"
|
||||
container_name: oxpassport
|
||||
networks:
|
||||
- "gluu"
|
||||
restart: unless-stopped
|
||||
labels:
|
||||
- "SERVICE_NAME=oxpassport"
|
||||
- "SERVICE_8090_CHECK_HTTP=/passport"
|
||||
- "SERVICE_8090_CHECK_INTERVAL=15s"
|
||||
- "SERVICE_8090_CHECK_TIMEOUT=5s"
|
||||
|
||||
networks:
|
||||
external_services:
|
||||
external: true
|
||||
gluu:
|
||||
name: "gluu"
|
Loading…
Reference in a new issue