opencast / opencast-docker

Dockerfiles for Opencast
https://quay.io/organization/opencast/
Educational Community License v2.0
41 stars 36 forks source link

Add an example for Docker Swarm mode #32

Closed mtneug closed 2 years ago

BaddMann commented 7 years ago

Any luck?

mtneug commented 7 years ago

Yes, the currently available images work as expected. The recent PRs added some features like health checking or a dynamic server URL, which are helpful for using Swarm. I used these commands to start the services. HOSTIP can be any IP/hostname of a node in the cluster. DIR should point to the docker-compose directory of this repository.

I currently have little time to further write it up. Also I would like to use the new docker stack command, but hadn't yet the change to play around with Docker 1.13.

mtneug commented 7 years ago

I forgot to mention, the mounts must be available on all nodes. The script assumes you have a one node cluster and therefor uses volumes, which do not work across multiple hosts. Change it to bind mounts and point the source to a shared NFS directory if you have more nodes.

mtneug commented 2 years ago

People moved away from Docker Swarm and I never really got around to create an example. Let's close this.