D2Sphere Wiki Docker Setup
preparation
- check to have docker host setup and configured
- check to have latest docker version 17.06 CE or later
- check to have docker-compose installed
- request gitlab docker read account and key to download docker images
- for commercial use request license and license file
modification on enviroment
we recommend to set the number of file handles to 100000
- option a.) ulimit -n 100000 in the file /etc/init.d/docker
- option b.) docker run --ulimit nofile=100000:100000 image:tag
- see further info here (https://docs.docker.com/engine/reference/commandline/run/#set-ulimits-in-container---ulimit)
setup D2Sphere
-
create dir /opt/d2sphere/d2s-ds
-
download [d2sphere.compose.yml] and copy into /opt/d2sphere/ds
-
optional create dir /opt/d2sphere/d2s-ds/config
-
optional copy application.yml out of docker /opt/d2s-ds/application.yml into /opt/d2sphere/d2s-ds/config and modify on your requirement
-
optional copy logback.xml out of docker /opt/d2s-ds/logback.xml into /opt/d2sphere/d2s-ds/config and modify on your requirement
-
optional copy license file into /opt/d2sphere/d2s-ds/config
-
on first start login into docker gitlab registry
docker login --username <username> --password <key> git.falcom.de:4567
- start docker compose
docker-compose -f d2sphere.compose.yml up
- stop docker compose press CRTL-C to get promt back
docker-compose -f d2sphere.compose.yml down