Skip to content
Permalink
Browse files

More testing

  • Loading branch information
Jim Van Fleet
Jim Van Fleet committed Sep 12, 2016
1 parent 103551f commit 89df82f09593994e7e69767eb63b940d5fa01fe1
Showing with 54 additions and 2 deletions.
  1. +4 −0 bin/compose.sh
  2. +4 −0 bin/decompose.sh
  3. +7 −0 bin/prune.sh
  4. +3 −0 bin/recompose.sh
  5. +2 −2 common.bash
  6. +34 −0 docker-compose.yml
@@ -0,0 +1,4 @@
#!/bin/bash

echo "Composing"
docker-compose up -d
@@ -0,0 +1,4 @@
#!/bin/bash

echo "Decomposing"
docker-compose stop
@@ -0,0 +1,7 @@
#!/bin/bash

result=$(docker volume ls -qf dangling=true)

if [ ! -z "$result" ]; then
docker volume rm $result
fi
@@ -0,0 +1,3 @@
#!/bin/bash

source bin/decompose.sh && source bin/destroy.sh && source bin/prune.sh && source bin/build.sh && source bin/compose.sh
@@ -1,3 +1,3 @@
maintainer="bigfleet"
imagename="shibboleth_idp_runtime"
maintainer="my"
imagename="shibboleth_idp"
version="3.2.1"
@@ -0,0 +1,34 @@
version: '2'

services:
shibboleth_idp_0:
image: my/shibboleth_idp
container_name: shibboleth_idp_0
hostname: shibboleth_idp_0
volumes:
- ./credentials:/tmp/credentials
- ./logs/tomcat:/usr/local/tomcat/logs:rw
- ./logs/shibboleth_idp:/opt/shibboleth/shibboleth-identity-provider-3.2.1/logs:rw
ports:
- "8080:8443"
shibboleth_idp_1:
image: my/shibboleth_idp
container_name: shibboleth_idp_1
hostname: shibboleth_idp_1
volumes:
- ./credentials:/tmp/credentials
- ./logs/tomcat:/usr/local/tomcat/logs:rw
- ./logs/shibboleth_idp:/opt/shibboleth/shibboleth-identity-provider-3.2.1/logs:rw
ports:
- "8081:8443"
haproxy:
image: my/haproxy
container_name: haproxy
hostname: haproxy
links:
- shibboleth_idp_1
- shibboleth_idp_0
ports:
- "80:80"
- "5533:5533"
- "443:443"

0 comments on commit 89df82f

Please sign in to comment.
You can’t perform that action at this time.