|
@@ -22,7 +22,7 @@ services:
|
|
|
restart: always
|
|
|
environment:
|
|
|
- driverName=mysql
|
|
|
- - dataSourceName='root:infish_2023_xx@tcp(casdoor-mysql:3306)/'
|
|
|
+ - dataSourceName='casdoor:infish_2023_xx@tcp(casdoor-mysql:3306)/'
|
|
|
ports:
|
|
|
- 8000:8000
|
|
|
depends_on:
|
|
@@ -34,6 +34,8 @@ services:
|
|
|
environment:
|
|
|
- MYSQL_ROOT_PASSWORD=infish_2023_xx
|
|
|
- MYSQL_DATABASE=casdoor
|
|
|
+ - MYSQL_USER=casdoor
|
|
|
+ - MYSQL_PASSWORD=infish_2023_xx
|
|
|
volumes:
|
|
|
- /data/mysql/casdoor-data:/var/lib/mysql
|
|
|
ports:
|