File tree 2 files changed +9
-3
lines changed
2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,13 @@ W9_NETWORK=websoft9
41
41
# ### ----------------------------------------------------------------------------------------- ####
42
42
43
43
44
- # Below environment is created by apphub
44
+ # Below environment is created by this app
45
+
46
+ WORDPRESS_DB_HOST = $W9_ID -mariadb
47
+ WORDPRESS_DB_USER = wordpress # if use postgresql, it need set to postgres
48
+ WORDPRESS_DB_PASSWORD = $W9_POWER_PASSWORD
49
+ WORDPRESS_DB_NAME = wordpress
50
+
45
51
46
52
# W9_NAME=""
47
53
# W9_RCODE=""
Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ services:
35
35
volumes :
36
36
- mysql_data:/var/lib/mysql
37
37
environment :
38
- MYSQL_DATABASE : $W9_ID
39
- MYSQL_USER : $W9_ID
38
+ MYSQL_DATABASE : $WORDPRESS_DB_NAME
39
+ MYSQL_USER : $WORDPRESS_DB_USER
40
40
MYSQL_PASSWORD : $W9_POWER_PASSWORD
41
41
MYSQL_ROOT_PASSWORD : $W9_POWER_PASSWORD
42
42
You can’t perform that action at this time.
0 commit comments