Difference between revisions of "Docker"
From LogicalDOC Community Wiki
Jump to navigationJump to searchLine 9: | Line 9: | ||
− | Running LogicalDOC Enteprise (latest release) in a Docker container with connection to | + | Running LogicalDOC Enteprise (latest release) in a Docker container with connection to Oracle 11g container |
<pre> | <pre> | ||
docker pull logicaldoc/logicaldoc | docker pull logicaldoc/logicaldoc | ||
Line 15: | Line 15: | ||
</pre> | </pre> | ||
− | You should replace '''YOUR_USERNO''' with your license code (Activation key) | + | == Running LogicalDOC Enterprise in a Docker container with connection to a MS SQL Server database == |
− | + | Running MS SQL Server 2017 in a Docker container<br> | |
+ | <pre> | ||
+ | docker pull microsoft/mssql-server-linux:2017-latest | ||
+ | docker run --name=tomssl_sql -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=Str0ngPassword!' -p 1401:1433 microsoft/mssql-server-linux:2017-latest | ||
+ | |||
+ | docker exec -it tomssl_sql /opt/mssql-tools/bin/sqlcmd -S localhost -U sa | ||
+ | |||
+ | CREATE DATABASE logicaldoc; | ||
+ | GO | ||
+ | |||
+ | EXIT | ||
+ | </pre> | ||
+ | |||
+ | Running LogicalDOC Enteprise (latest release) in a Docker container with connection to SQL Server container | ||
+ | <pre> | ||
+ | docker pull logicaldoc/logicaldoc | ||
+ | docker run --name=ldocmssql -p 8080:8080 --env LDOC_USERNO=YOUR_USERNO -e DB_ENGINE=mssql -e DB_HOST=tomssl_sql -e DB_PORT=1433 -e DB_USER=sa -e 'DB_PASSWORD=Str0ngPassword!' -e DB_NAME=logicaldoc -e DB_INSTANCE=MSSQLSERVER --link tomssl_sql logicaldoc/logicaldoc | ||
+ | </pre> | ||
+ | |||
+ | |||
+ | |||
+ | == Important == | ||
+ | |||
+ | You should replace '''YOUR_USERNO''' with your license code (Activation key)<br> | ||
+ | You can also strip this parameter and add the license after installation (to avoid unnecessary activations) | ||
---- | ---- | ||
For more information about LogicalDOC Docker image: https://hub.docker.com/r/logicaldoc/logicaldoc | For more information about LogicalDOC Docker image: https://hub.docker.com/r/logicaldoc/logicaldoc |
Revision as of 16:29, 6 November 2018
Running LogicalDOC Enterprise in a Docker container with connection to a Oracle database
Running Oracle XE 11g (Express edition) in a Docker container
docker pull wnameless/oracle-xe-11g<br> docker run --name=oracle-ld -p 49161:1521 -e ORACLE_ALLOW_REMOTE=true wnameless/oracle-xe-11g
Running LogicalDOC Enteprise (latest release) in a Docker container with connection to Oracle 11g container
docker pull logicaldoc/logicaldoc docker run --name=ldocorc -p 8080:8080 --env LDOC_USERNO=YOUR_USERNO -e DB_ENGINE=oracle -e DB_HOST=oracle-ld -e DB_PORT=1521 -e DB_USER=system -e DB_PASSWORD=oracle -e DB_NAME=xe -e DB_INSTANCE=logicaldoc --link oracle-ld logicaldoc/logicaldoc
Running LogicalDOC Enterprise in a Docker container with connection to a MS SQL Server database
Running MS SQL Server 2017 in a Docker container
docker pull microsoft/mssql-server-linux:2017-latest docker run --name=tomssl_sql -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=Str0ngPassword!' -p 1401:1433 microsoft/mssql-server-linux:2017-latest docker exec -it tomssl_sql /opt/mssql-tools/bin/sqlcmd -S localhost -U sa CREATE DATABASE logicaldoc; GO EXIT
Running LogicalDOC Enteprise (latest release) in a Docker container with connection to SQL Server container
docker pull logicaldoc/logicaldoc docker run --name=ldocmssql -p 8080:8080 --env LDOC_USERNO=YOUR_USERNO -e DB_ENGINE=mssql -e DB_HOST=tomssl_sql -e DB_PORT=1433 -e DB_USER=sa -e 'DB_PASSWORD=Str0ngPassword!' -e DB_NAME=logicaldoc -e DB_INSTANCE=MSSQLSERVER --link tomssl_sql logicaldoc/logicaldoc
Important
You should replace YOUR_USERNO with your license code (Activation key)
You can also strip this parameter and add the license after installation (to avoid unnecessary activations)
For more information about LogicalDOC Docker image: https://hub.docker.com/r/logicaldoc/logicaldoc