Difference between revisions of "Upgrade Docker container"
From LogicalDOC Community Wiki
Jump to navigationJump to search (Created page with "Here is how you usually start a Docker container with LogicalDOC connected to a MySQL 8.0 container for DB engine Get the LogicalDOC 8.6.1 image docker pull logicaldoc/logica...") |
|||
Line 2: | Line 2: | ||
Get the LogicalDOC 8.6.1 image | Get the LogicalDOC 8.6.1 image | ||
+ | <pre> | ||
docker pull logicaldoc/logicaldoc:8.6.1 | docker pull logicaldoc/logicaldoc:8.6.1 | ||
+ | </pre> | ||
Run the MySQL container | Run the MySQL container | ||
+ | <pre> | ||
docker run --name=mysqlld861 -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 --name=mysqlld861 -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 | ||
+ | </pre> | ||
Run the LogicalDOC container connected to the MySQL one | Run the LogicalDOC container connected to the MySQL one | ||
+ | <pre> | ||
docker run -p 8080:8080 -e LDOC_USERNO=543645 -e DB_HOST=mysqlld861 --link mysqlld861 logicaldoc/logicaldoc:8.6.1 | docker run -p 8080:8080 -e LDOC_USERNO=543645 -e DB_HOST=mysqlld861 --link mysqlld861 logicaldoc/logicaldoc:8.6.1 | ||
+ | </pre> |
Revision as of 10:27, 10 December 2021
Here is how you usually start a Docker container with LogicalDOC connected to a MySQL 8.0 container for DB engine
Get the LogicalDOC 8.6.1 image
docker pull logicaldoc/logicaldoc:8.6.1
Run the MySQL container
docker run --name=mysqlld861 -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
Run the LogicalDOC container connected to the MySQL one
docker run -p 8080:8080 -e LDOC_USERNO=543645 -e DB_HOST=mysqlld861 --link mysqlld861 logicaldoc/logicaldoc:8.6.1