logicaldoc
LogicalDOC https://www.logicaldoc.com is an highly performant Document Management System
50K+
Official Docker Image for LogicalDOC Enterprise Edition - https://www.logicaldoc.com
This Dockerfile is a published build on Docker Hub.
Note: This image requires to be connected to an external database
LogicalDOC is a flexible and highly performant Document Management System platform By leveraging on the best-of-breed Java frameworks, it creates a flexible and powerful document management platform, which thanks to the most advanced presentation technology (Google GWT), is able to meet the needs of usability and more demanding management. LogicalDOC is both document management and collaboration system. The software is loaded with many functions and allows organizing, index, retrieving, controlling and distributing important business documents securely and safely for any organization and individual.

You have to pass your activation code(the UserNo) when you launch this image. If you need an activation code, you can get one delivered to your email by filling-out the form at https://www.logicaldoc.com/try
This is a commercial software so by installing this image you accept the following:
docker run -d --name=logicaldoc-db -e MYSQL_ROOT_PASSWORD=mypassword -e MYSQL_DATABASE=logicaldoc -e MYSQL_USER=ldoc -e MYSQL_PASSWORD=changeme mysql:8.0 --default-authentication-plugin=mysql_native_password
docker run -d -p 8080:8080 -p 8022:22 -e LDOC_USERNO=<your userno> --link logicaldoc-db logicaldoc/logicaldoc
This image includes EXPOSE 8080 (the logicaldoc port). The default LogicalDOC configuration is applied.
Then, access it via http://localhost:8080 or http://host-ip:8080 in a browser. Default User and Password are admin / admin.
Notes: In the most recent versions of MySQL it is necessary to enable native authentication, otherwise LogicalDOC will not be able to connect. To do this, simply add the default-authentication-plugin command line argument to the container launch string e.g.:
docker run -d --name=logicaldoc-db -e MYSQL_ROOT_PASSWORD=mypassword -e MYSQL_DATABASE=logicaldoc -e MYSQL_USER=ldoc -e MYSQL_PASSWORD=changeme mysql:8.0.23 --default-authentication-plugin=mysql_native_password
or with the latest MySQL 8 image
docker run -d --name=logicaldoc-db -e MYSQL_ROOT_PASSWORD=mypassword -e MYSQL_DATABASE=logicaldoc -e MYSQL_USER=ldoc -e MYSQL_PASSWORD=changeme mysql:latest --default-authentication-plugin=mysql_native_password
docker run -d -p 8080:8080 -p 8022:22 -e LDOC_USERNO=<your userno> -e LDOC_MEMORY=4000 --link logicaldoc-db logicaldoc/logicaldoc
This will run the same image as above but with 4000 MB memory allocated to LogicalDOC.
Then, access it via http://localhost:8080 or http://host-ip:8080 in a browser.
If you'd like to use an external database instead of a linked mysql-ld container, specify the hostname with DB_HOST and port with DB_PORT along with database name DB_NAME, the password in DB_PASSWORD and the username in DB_USER (if it is something other than ldoc):
$ docker run -d -p 8080:8080 -p 8022:22 -e DB_HOST=10.1.2.3 -e DB_PORT=3306 -e DB_USER=... -e DB_PASSWORD=... logicaldoc/logicaldoc
Start as a daemon with attached volumes to persist the configuration and the documents
$ docker run -d --name logicaldoc --restart=always -p 8080:8080 -v /path/conf:/LogicalDOC/conf -v /path/repository:/LogicalDOC/repository --link logicaldoc-db logicaldoc/logicaldoc
All document files will be stored in the host path specified by /path/conf, the configuration files insead will be stored in /path/repository
Start as a daemon with attached volume to persist all the deployment
$ docker run -d --name logicaldoc --restart=always -p 8080:8080 -v /path/conf:/LogicalDOC/conf -v /path/repository:/LogicalDOC/repository -v /mount-LogicalDOC:/path --link logicaldoc-db logicaldoc/logicaldoc
The deployment(that also includes the conf and repository volumes) gets persisted in the host path specified by /path
The LogicalDOC image uses environment variables that allow to obtain a more specific setup.
click here to get a fee trial code)Assuming that you have assigned the "logicaldoc" alias to the container
To stop the container use:
$ docker stop logicaldoc
To start the container again:
$ docker start logicaldoc
(You must have enabled data persistence with volume assignment)
To edit the settings file, check the physical location of the logicaldoc-conf volume using:
$ docker volume inspect logicaldoc-conf
Which should produce an output similar to this one:
[
{
"Name": "logicaldoc-conf",
"Driver": "local",
"Mountpoint": "/var/lib/docker/volumes/logicaldoc-conf/_data",
"Labels": null,
"Scope": "local"
}
]
In this case the physical location of the logicaldoc-conf volume is /var/lib/docker/volumes/logicaldoc-conf/_data.
To backup the existing data, check the physical location of the logicaldoc-conf and logicaldoc-repo volumes using:
$ docker volume inspect logicaldoc-conf
Which should produce an output similar to this one:
[
{
"Name": "logicaldoc-conf",
"Driver": "local",
"Mountpoint": "/var/lib/docker/volumes/logicaldoc-conf/_data",
"Labels": null,
"Scope": "local"
}
]
$ sudo tar -zcvf backup.tar.gz /var/lib/docker/volumes/logicaldoc-conf/_data /var/lib/docker/volumes/logicaldoc-repo/_data
$ sudo chown `whoami` backup.tar.gz
If an external PostgreSQL or MySQL database or database containers, these too need to be backed up using their respective procedures.
Uncompress the backup archive in the original docker volume using:
$ sudo tar -xvzf backup.tar.gz -C /
Clone the repository with:
$ git clone https://github.com/logicaldoc/docker.git
Change to the directory of the cloned repository:
$ cd docker
Execute Docker's build command:
$ docker build -t logicaldoc/logicaldoc .
Or using an apt cacher to speed up the build:
$ docker build -t logicaldoc/logicaldoc --build-arg APT_PROXY=172.18.0.1:3142 .
Replace the IP address 172.18.0.1 with the IP address of the Docker host used from which these commands are running.
To deploy a complete production stack using the included Docker compose file execute:
$ docker-compose -f docker-compose.yml up -d
This Docker compose file will provision 2 containers:
To stop the stack use:
$ docker-compose -f docker-compose.yml stop
The stack will also create three volumes to store the data of each container. These are:
logicaldoc-conf when not using Docker compose.logicaldoc-repo when not using Docker compose.To stop the services use:
$ docker-compose -f docker-compose.yml stop
To start the services again:
$ docker-compose -f docker-compose.yml start
To remove the stopped containers:
$ docker-compose -f docker-compose.yml rm -v
Destroys the containers and all the created volumes:
$ docker-compose -f docker-compose.yml down -v
Some docker-compose examples are available in the repository of this container on GitHub https://github.com/logicaldoc/docker
docker stack deploy or docker-composeExample stack.yml for logicaldoc:
version: "3.1"
services:
logicaldoc:
depends_on:
- logicaldoc-db
command: ["./wait-for-it.sh", "logicaldoc-db:3306", "-t", "30", "--", "/LogicalDOC/logicaldoc.sh", "run"]
image: logicaldoc/logicaldoc
ports:
- 8080:8080
- 8022:22
environment:
- LDOC_MEMORY=2000
mysql-ld:
image: mysql:8.0.28
command: --default-authentication-plugin=mysql_native_password
environment:
- MYSQL_ROOT_PASSWORD=example
- MYSQL_DATABASE=logicaldoc
- MYSQL_USER=ldoc
- MYSQL_PASSWORD=changeme
Run docker stack deploy -c stack.yml logicaldoc , wait for it to initialize completely, and visit http://swarm-ip:8080, http://localhost:8080, or http://host-ip:8080 (as appropriate).
For debugging and maintenance purposes you may want access the containers shell. If you are using Docker version 1.3.0 or higher you can access a running containers shell by starting bash using docker exec:
docker exec -it logicaldoc bash
Content type
Image
Digest
sha256:6ef42594c…
Size
2.9 GB
Last updated
3 months ago
docker pull logicaldoc/logicaldoc:9.2.2