diff --git a/roles/docker/tasks/services/gluu.yml b/roles/docker/tasks/services/gluu.yml index f142cf2..c4545d7 100644 --- a/roles/docker/tasks/services/gluu.yml +++ b/roles/docker/tasks/services/gluu.yml @@ -68,6 +68,8 @@ - VAULT_ADDR=http://0.0.0.0:8200 - VAULT_LOCAL_CONFIG={"backend":{"consul":{"address":"consul:8500","path":"vault/"}},"listener":{"tcp":{"address":"0.0.0.0:8200","tls_disable":1}}} restart: unless-stopped + networks: + - "gluu" depends_on: - consul labels: @@ -95,8 +97,8 @@ - LETSENCRYPT_HOST="{{ gluu.domain }}" - LETSENCRYPT_EMAIL="{{ letsencrypt_email }}" ports: - - "80:80" - - "443:443" + - "80" + - "443" networks: - "external_services" - "gluu" @@ -159,6 +161,7 @@ - "SERVICE_8080_CHECK_TIMEOUT=5s" oxtrust: + container_name: oxtrust image: gluufederation/oxtrust:3.1.5_02 environment: - GLUU_CONFIG_CONSUL_HOST=consul @@ -167,7 +170,6 @@ - GLUU_OXAUTH_BACKEND=oxauth:8080 extra_hosts: - "{{ gluu.domain }}:85.235.225.231" - container_name: oxtrust volumes: - "{{ gluu.volume_folder }}/oxtrust/custom/pages:/opt/gluu/jetty/identity/custom/pages" - "{{ gluu.volume_folder }}/oxtrust/custom/static:/opt/gluu/jetty/identity/custom/static"