Skip to content

Latest commit

 

History

History
75 lines (63 loc) · 1.57 KB

README.md

File metadata and controls

75 lines (63 loc) · 1.57 KB

I2CAT SONATA

This repository contains the modules for demonstrating the user management in Paderborn F2F, which takes place between the 7th and 9th of Marz.

Requirements

These installations steps are valid for Ubuntu 14.04

Installing docker

Add Docker’s official GPG key:
$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
Add stable repository
$ sudo add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
   $(lsb_release -cs) \
   stable"
Install docker
$ sudo apt-get update
$ sudo apt-get install docker-engine
Managing docker as regular user (non root)
$ sudo groupadd docker
$ sudo usermod -aG docker $USER
Test the installation
$ docker run hello-world

Installing docker-compose

Install pip
$ sudo apt-get install python-pip
Install docker-compose using pip
$ pip install docker-compose

Deployment

Deploy GK, adapter and keycloak with docker-compose
$ cd son-gkeeper/son-gtkusr/
$ docker-compose up --build
Wait until it's up and deploy catalogue with docker-compose
$ cd son-catalogue-repos/
$ docker-compose up --build

Troubleshooting

  • Error deploying adapter: Could not resolve keycloak address through DNS

Remove both dockers and start them again

$ docker rm -f sonata-adapter
$ docker rm -f sonata-keycloak
$ docker-compose up --build

Tips

  • Remove all containers

docker rm $(docker ps -a -q) -f