-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
25 lines (24 loc) · 906 Bytes
/
docker-compose.yml
File metadata and controls
25 lines (24 loc) · 906 Bytes
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
services:
saml-idp:
build:
context: .
dockerfile: Dockerfile
ports:
- '8080:80'
- '8443:443'
volumes:
- ./config/simplesamlphp:/var/www/simplesamlphp/config
- ./cert:/var/www/simplesamlphp/cert
- ./www:/var/www/simplesamlphp/www/custom
- ./modules/ubc-clf-7:/var/www/simplesamlphp/modules/ubc-clf-7
- simplesaml_metadata:/var/www/simplesamlphp/metadata
- ./log:/var/www/simplesamlphp/log
- ./startup.sh:/var/www/startup.sh
# Add a volume to share certificates with the client
- ../saml-test-client/cert:/var/www/client/cert
environment:
- SIMPLESAMLPHP_CONFIG_DIR=/var/www/simplesamlphp/config
# Give the container a fixed hostname
hostname: saml-idp
volumes:
simplesaml_metadata: