-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
55 lines (54 loc) · 1.77 KB
/
docker-compose.yml
File metadata and controls
55 lines (54 loc) · 1.77 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
services:
http-proxy:
image: nginxproxy/nginx-proxy:1.2.1
ports:
- "443:443"
- "80:80"
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- ./docker/nginx-certs/:/etc/nginx/certs
links:
- oidc-op
# - oidc-rp
oidc-op:
hostname: op.local.stack-dev.cirrusidentity.com
build:
context: .
dockerfile: docker/Dockerfile
args:
SSP_VERSION: "${SSP_VERSION}"
OIDC_VERSION: "${OIDC_VERSION}"
environment:
- STAGINGCOMPOSERREPOS=oidc
- SSP_ADMIN_PASSWORD=secret1
- VIRTUAL_HOST=op.local.stack-dev.cirrusidentity.com
- VIRTUAL_PORT=443
- VIRTUAL_PROTO=https
- CERT_NAME=default
volumes:
- ./:/var/simplesamlphp/staging-modules/oidc:ro
- ./docker/ssp/module_oidc.php:/var/simplesamlphp/config/module_oidc.php:ro
- ./docker/ssp/authsources.php:/var/simplesamlphp/config/authsources.php:ro
- ./docker/ssp/config-override.php:/var/simplesamlphp/config/config-override.php:ro
- ./docker/apache-override.cf:/etc/apache2/sites-enabled/ssp-override.cf:ro
# oidc-rp still need work
# oidc-rp:
# ports:
# - "12080:80"
# environment:
# - OID_DISCOVERY=https://op.local.stack-dev.cirrusidentity.com/.well-known/openid-configuration
# - OID_CLIENT_ID=replacewithclientid
# - OID_CLIENT_SECRET=replacewithclientsecret
# - PROXY_HOST=my-service
# - PROXY_PORT=443
# - PROXY_PROTOCOL=https
# - VIRTUAL_HOST=rp.local.stack-dev.cirrusidentity.com
# - VIRTUAL_PORT=80
# - VIRTUAL_PROTO=http
# - CERT_NAME=default
# image: evry/oidc-proxy
# Connect to the conformance-suite network to make it easier to communicate between components
networks:
default:
name: conformance-suite_default
external: true