wiki:SystemAdministration/Hosts/idp1-clarin.esc.rzg.mpg.de

Version 8 (modified by Willem Elbers, 9 years ago) (diff)

--

Services

Docker

Containers

  • aai-discovery
  • proxy
  • IDP (v3.2)

Setup

Pull images from the repository:

docker pull tianon/true
docker login docker.clarin.eu
docker pull docker.clarin.eu/aai-discovery:1.8.2-snapshot1
docker pull docker.clarin.eu/aai-discovery-proxy:1.0.1

Create containers:

docker create \
    --name aai-discovery-data \
    -v /data \
    tianon/true

docker create \
    --name aai-discovery \
    -p 8080:8080 \
    --volumes-from aai-discovery-data \
    -v /var/log/docker/aai-discovery/tomcat8:/var/log/tomcat8 \
    docker.clarin.eu/aai-discovery:1.8.2-snapshot1

docker create \
    --name proxy  \
    -p 80:80 -p 443:443 \
    -v /root/certstore:/etc/nginx/ssl \
    -v /var/log/docker/proxy/nginx/:/var/log/nginx/ \
    --link aai-discovery:tomcat \
    docker.clarin.eu/aai-discovery-proxy:1.0.1

Manage containers:

docker start|stop|restart aai-discovery
docker start|stop|restart proxy

IDP v3.2

Authentication flow configuration:

Building:

cd ~/docker-shibboleth-demo/shibboleth-idp
docker build -t docker.clarin.eu/idp:1.0.0 .

Initial run:

docker run --restart=always -d --name idp2 --volumes-from shibboleth-data --volumes-from shibboleth-idp-data -p 172.17.42.1:8081:8080 docker.clarin.eu/idp:1.0.0