|
|
# 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
|
|
|
|
|
|
|
|
|
## 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
|
|
|
* copy application.yml out of docker /opt/d2s-ds/application.yml into /opt/d2sphere/d2s-ds/config and modify on your requirement
|
|
|
* copy logback.xml out of docker /opt/d2s-ds/logback.xml into /opt/d2sphere/d2s-ds/config and modify on your requirement
|
|
|
* 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
|
|
|
``` |