...
Code Block |
---|
docker run -v /home/nuxeo/docker/elastic:/usr/share/elasticsearch/data --name=elastic -d --net=dms elasticsearch:1.47.45 |
Start DMS Nuxeo image
In all configurations we have a static version that not changes in different environments and dynamic one (credentials to connect databases), so i've added the static part to the container.
...
Code Block |
---|
docker run -e HOSTNAME='nux5.priv.practiceinsight' -e EMAIL='paul.igumnov@practiceinsight.io,sumit.patel@practiceinsight.io,Michael.Fleuchaus@practiceinsight.io' -e CONTAINER_NUMBER='5' -d -v /var/run/docker.sock:/var/run/docker.sock -v /etc/localtime:/etc/localtime:ro -v /etc/timezone:/etc/timezone:ro --pid=host --name service practiceinsight/dms_service:new |
This image contains 4 scripts: restart, cleanup, availability monitor and health check.