summaryrefslogtreecommitdiff
path: root/compose-prod.yml
diff options
context:
space:
mode:
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'