Skip to content

Docker configuration files for creating DocDokuPLM images

Notifications You must be signed in to change notification settings

docdoku/docdoku-plm-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DocDokuPLM Docker

Easy setup for DocDokuPLM with docker-compose.

Prerequisites

Start DocDokuPLM:

Clone or download this repository.

$ git clone https://github.com/docdoku/docdoku-plm-docker.git
$ cd docdoku-plm-docker

Open a terminal and run

$ ./start.sh

You can now verify that all containers are up

$ docker-compose ps

Then you can access to http://localhost:8000 from your web browser

Default port mapping

--------------------------
Port    Service
--------------------------
8000    docdoku-plm-front
8001    docdoku-plm-server
8002    kibana
8003    mailhog
8004    adminer
--------------------------

SSL support (optional)

You can get HTTPS on your localhost working out of the box.

Create a new entry in /etc/hosts. Note: after editing this file you might have to restart your networking service depending on your OS.

127.0.0.1 docdokuplm.local

Import the rootCA sslcertificate to your browser trusted authorities.

Make sure to edit the docker-compose.yml to use front-ssl.json instead of front.json and edit env/back.env to set DOCDOKU_PLM_CODEBASE to https://docdokuplm.local:9000, then recreate the back and front service if they are already running.

$ docker-compose up --force-recreate --no-deps front
$ docker-compose up --force-recreate --no-deps back

Then you can access to https://docdokuplm.local:9000 from your web browser

Cleaning every containers/volumes

In case you want to start a new fresh install run this following commands.

Note: this will delete all data stored (database, files, volumes) and containers. Make sure to backup everything first.

$ docker-compose rm --stop --force -v
$ rm -rf ./data
$ rm ./keystore
$ docker volume rm docdoku-plm-server-volume
$ ./start.sh

Running in production

Make sure to edit all passwords in env files before you start the script. Please also consider using a firewall and remove any unnecessary port mapping from docker-compose.yml.

About

Docker configuration files for creating DocDokuPLM images

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages