Skip to content

Commit 5d52454

Browse files
committed
Fixed documentation
1 parent c783d00 commit 5d52454

File tree

5 files changed

+27
-2
lines changed

5 files changed

+27
-2
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ LogicalDOC CE is 100% free software, supports all major DBMS and this particular
2626
**Start a LogicalDOC instance linked to a MySQL container**
2727
1. Run the MySQL container
2828
```Shell
29-
docker run -d --name=mysql-ld -e MYSQL_ROOT_PASSWORD=mypassword -e MYSQL_DATABASE=logicaldoc -e MYSQL_USER=ldoc -e MYSQL_PASSWORD=changeme mysql:8.0
29+
docker run -d --name=mysql-ld -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
3030
```
3131

3232
2. Run the LogicalDOC container
@@ -293,6 +293,7 @@ services:
293293

294294
mysql-ld:
295295
image: mysql:8.0
296+
command: --default-authentication-plugin=mysql_native_password
296297
environment:
297298
- MYSQL_ROOT_PASSWORD=example
298299
- MYSQL_DATABASE=logicaldoc

docker-compose-mysql-wf.yml

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ services:
1414
lddb:
1515
container_name: mysql-ld
1616
image: mysql:8.0
17+
command: --default-authentication-plugin=mysql_native_password
1718
restart: always
1819
environment:
1920
- MYSQL_ROOT_PASSWORD=example

docker-compose.yml

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ services:
33
db:
44
container_name: mysql-ld
55
image: mysql:8.0
6+
command: --default-authentication-plugin=mysql_native_password
67
volumes:
78
- ldoc_db:/var/lib/mysql
89
ports:

stack-mysql57.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
version: "3.1"
2+
3+
services:
4+
5+
logicaldoc:
6+
depends_on:
7+
- mysql-ld
8+
command: ["./wait-for-it.sh", "mysql-ld:3306", "-t", "30", "--", "/opt/logicaldoc/start-logicaldoc.sh", "run"]
9+
image: logicaldoc/logicaldoc-ce
10+
ports:
11+
- 8080:8080
12+
environment:
13+
- LDOC_MEMORY=2000
14+
15+
mysql-ld:
16+
image: mysql:5.7
17+
environment:
18+
- MYSQL_ROOT_PASSWORD=example
19+
- MYSQL_DATABASE=logicaldoc
20+
- MYSQL_USER=ldoc
21+
- MYSQL_PASSWORD=changeme

stack.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ services:
1313
- LDOC_MEMORY=2000
1414

1515
mysql-ld:
16-
image: mysql:5.7
16+
image: mysql:8.0.28
17+
command: --default-authentication-plugin=mysql_native_password
1718
environment:
1819
- MYSQL_ROOT_PASSWORD=example
1920
- MYSQL_DATABASE=logicaldoc

0 commit comments

Comments
 (0)