summaryrefslogtreecommitdiff
path: root/compose-prod.yml
diff options
context:
space:
mode:
authorMarkus Krogh <markus@nordu.net>2017-09-29 17:42:03 +0200
committerMarkus Krogh <markus@nordu.net>2017-09-29 17:42:03 +0200
commit35751e3cf89abf69f11dff7f9a3396d8068becc8 (patch)
tree9f20b007e8e787ea1a5345c2b7200018a2727a59 /compose-prod.yml
parentaf0294d5f773bc071128b1ec1712c62f587c7b0a (diff)
Use ENV for persistentiId, logging
Diffstat (limited to 'compose-prod.yml')
-rw-r--r--compose-prod.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/compose-prod.yml b/compose-prod.yml
new file mode 100644
index 0000000..b3094d2
--- /dev/null
+++ b/compose-prod.yml
@@ -0,0 +1,22 @@
+version: '3'
+services:
+ shibboleth-docker:
+ build: ./idp
+ environment:
+ - JAVA_OPTIONS=-Xmx1G
+ - IDP_HOSTNAME=idp.nordu.net
+ - IDP_SCOPE=nordu.net
+ - IDP_DEBUG=true
+ env_file: ./data/production/env
+ volumes:
+ - ./data/production/idp-data:/opt/data
+ nginx:
+ image: nginx
+ volumes:
+ - ./data/production/certs:/opt/certs
+ - ./data/production/nginx:/etc/nginx/conf.d
+ links:
+ - shibboleth-docker
+ ports:
+ - '80:80'
+ - '443:443'