-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.saml.yml
32 lines (30 loc) · 1.57 KB
/
docker-compose.saml.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
version: '3.9'
services:
saml-idp:
image: alchemyfr/test-saml-idp:${DOCKER_TAG}
networks:
- internal
environment:
- SIMPLESAMLPHP_URL=${SAML_URL}
- SIMPLESAMLPHP_SP_ENTITY_ID=https://keycloak.${PHRASEA_DOMAIN}${HTTPS_PORT_PREFIX}/realms/phrasea
- SIMPLESAMLPHP_SP_ASSERTION_CONSUMER_SERVICE=https://keycloak.${PHRASEA_DOMAIN}${HTTPS_PORT_PREFIX}/realms/phrasea/broker/idp-test/endpoint
- SIMPLESAMLPHP_SP_SINGLE_LOGOUT_SERVICE=https://keycloak.${PHRASEA_DOMAIN}${HTTPS_PORT_PREFIX}/realms/phrasea/broker/idp-test/endpoint
labels:
- "traefik.enable=true"
- "traefik.http.routers.saml-idp.rule=Host(`saml-idp.${PHRASEA_DOMAIN}`)"
- "traefik.http.services.saml-idp.loadbalancer.server.port=8080"
- "traefik.project_name=${COMPOSE_PROJECT_NAME}"
saml-idp2:
image: alchemyfr/test-saml-idp:${DOCKER_TAG}
networks:
- internal
environment:
- SIMPLESAMLPHP_URL=${SAML2_URL}
- SIMPLESAMLPHP_SP_ENTITY_ID=https://keycloak.${PHRASEA_DOMAIN}${HTTPS_PORT_PREFIX}/realms/phrasea
- SIMPLESAMLPHP_SP_ASSERTION_CONSUMER_SERVICE=https://keycloak.${PHRASEA_DOMAIN}${HTTPS_PORT_PREFIX}/realms/phrasea/broker/idp-test/endpoint
- SIMPLESAMLPHP_SP_SINGLE_LOGOUT_SERVICE=https://keycloak.${PHRASEA_DOMAIN}${HTTPS_PORT_PREFIX}/realms/phrasea/broker/idp-test/endpoint
labels:
- "traefik.enable=true"
- "traefik.http.routers.saml-idp2.rule=Host(`saml-idp2.${PHRASEA_DOMAIN}`)"
- "traefik.http.services.saml-idp2.loadbalancer.server.port=8080"
- "traefik.project_name=${COMPOSE_PROJECT_NAME}"