Docker Hub Repository for the DataplanServer
2.4K
ā š³ DS Dockerized - DS Container š» š¦Steps for starting a fresh container of the DataplanServer (Latest Release)
|
Step 1 and Step 2 need to be done once. If you consider that your local installation is corrupt, you may need to follow these steps again.
docker system prune -a -f --volumes. This will delete unused volumes, images, containers, and networks.port 8081 is not being used by another service.Start a fresh instance of the DataplanServer in a Docker container. (This could take a while)
docker volume create ds_volume && docker run -d \
--mac-address 02-42-AC-14-00-02 \
-v ds_volume:/ds \
-p 8081:8081 \
--name ds \
dataplan/ds
This command will:
ds_volume, where data will be persisteddataplan/ds Docker Hubds with the MAC address 02-42-AC-14-00-02. We recommend changing this address to a custom one.8081ds_volume to the ds containerds container in detached mode. This means without console logs on the current terminalThe DataplanServer will start in demo mode and will be available under http://localhost:8081/dp/portalā . The initial login is admin/dataplan.
ds.lic file and send us this file via email in order to activate it.config.xml file. Choose the Configuration Tab and download the config.xml file.ds and a docker-compose.yaml file inside it with the command: mkdir ds && touch ./ds/docker-compose.yaml. Add the following instructions to the compose file.version: "3.9"
services:
dataplanserver:
image: dataplan/ds
container_name: ds
# define your custom mac address, Keep im mind that ds.lic file makes use of this address
mac_address: 02-42-AC-14-00-02
ports:
- 8081:8081
volumes:
- root-data:/ds
- ./ds.lic:/ds/ds.lic
- ./config.xml:/ds/conf/config.xml
volumes:
root-data:
name: ds_volume
networks:
default:
name: ds_network
ds.lic file to the project folder.config.xml file to the project folder.mac_address field in the docker-compose.yaml file. Remember that we issue a valid license bound to a MAC address.ds by executing docker rm -f ds.docker-compose up -d inside the project folder.The DataplanServer will start in production mode and will be available at http://localhost:8081/dp/portalā .
ds container is running.touch ./update_ds_docker && chmod 744 update_ds_docker.#!/bin/sh
docker exec --privileged ds \
java -cp jsupdateservice.jar dataplan.updateservice.DpUpdateService -downloadandinstall -betaversion -nobackup \
&& docker restart ds
./update_ds_dockerYour Docker container should be updated to the latest beta. It will be available at http://localhost:8081/dp/portalā .
We recommend exposing the HTTP port of the ds application and managing SSL connections through a reverse proxy like Nginxā or Traefikā . This makes it possible to deploy the DataplanServer into a Kubernetes Cluster. Alternatively, you can expose the HTTPS port of the container and configure it as needed. If you want more information about this subject, feel free to open a ticket in our ticket system.
We recommend copying the docker-compose.yaml file and other specific files for your installation, such as the config.xml. However, feel free to open a ticket in our ticket system. We will be happy to help you with your Docker deployment to the cloud.
scp -r some_file some_path user@some_ip:/path/to/. For example: scp docker-compose.yaml 'pi3:$HOME/dataplan.de/ds'docker-compose up -dContent type
Image
Digest
sha256:30e6e7e65ā¦
Size
2.1 GB
Last updated
almost 2 years ago
docker pull dataplan/ds