...
In order to be able to pull Docker images, we need login to the official Docker Hub first by simply using the following command:
Code Block |
---|
docker login |
...
New zero config docker setup
The below setup instructions are marked by (***) in the headline to indicate that this would be replaced by the new zero config setup as per this page. Where possible, please proceed with 1.9.7.1+ zero config containers. In the following passages you may still find useful add-on information.
(***) Pull DMS Docker images
DMS components have been packaged as three docker images:
...
Code Block |
---|
docker pull practiceinsight/dms_postgresql docker pull practiceinsight/dms_elasticsearch docker pull practiceinsight/dms_nuxeo_suite:1.9.5 |
...
(***) Run DMS Docker containers
Common rules for all containers
...
Code Block |
---|
docker exec -it postgres rm -f /etc/backup_enabled |
...
(***) Run DMS PostgreSQL container on Linux
DMS Postgresql for Linux is a container that is similar to a WinMac one, but all the data files of the postgresql are located in the folder of host machine. All the scripts for the WinMac container are working here.
...
When we re-import Postgres data, in order to avoid data conflicts, we should stop the running Postgres container, remove the docker container, remove the postgres data folder, and launch a new Postgres docker container.
...
(***) Run DMS ElasticSearch container
Requirements to run:
- ElasticSearch data folder must be mounted. Be sure, that user that launches docker container has write permissions on this folder. Can be empty.
- Ports 9200 and 9300 must be exposed.
...
Code Block |
---|
docker run -p 9200:9200 -p 9300:9300 \ -v /local_elasticsearch_data_folder:/data \ -v /etc/localtime:/etc/localtime:ro \ -v /etc/timezone:/etc/timezone:ro \ --net=host \ --name elastic -d practiceinsight/dms_elasticsearch |
...
(***) Run DMS Nuxeo suite container
Requirements to run:
- Ports 8080 and 9080 must be exposed.
- Nuxeo data folder must be mounted. Be sure, that user that launches docker container has write permissions on this folder. Can be empty.
- Folder containing pi-nuxeo.xml and nuxeo.conf must be mounted. nuxeo.conf.template will be added here on the first container launch.
- Folder containing windows fonts must be mounted to /home/nuxeo/.windows_fonts
...
Code Block |
---|
http://127.0.0.1:9080/casebrowser |
The logs can be found in these locations:
Code Block |
---|
/var/log/nuxeo/server.log /var/lib/casebrowser/logs/casebrowser.log |
...
(***) Run DMS service container
Requirements to run:
- Docker socket must be mounted to the container
- HOSTNAME variable must be provided (will be used in generated email messages)
- EMAIL variable must be provided (will be used in generated email messages as a list of recipients)
...
- Log into Nuxeo GUI with administrator privileges.
- At top click "Workspace"; at left navigation bar click "Workspaces" directory; in documents area click the "Manage" tab for this folder.
- Under "Access rights" tab, below in "Add a new security rule" section, add group "members" with permission "write"; click "Grant permission".
- At top click "Admin"; at left navigation bar click "Users & Groups" directory; in tab "Groups" search for group "members" and click it to manage the group.
- Click tab edit and add "Patricia Users" as sub-group. Click "Save".
...
DEPRECATED – Clean up cron job
The following needs to be configured if no DMS service container is run The clean up cron job should be added to the cron on host of container.
...