File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,13 @@ W9_NETWORK=websoft9
4141# ### ----------------------------------------------------------------------------------------- ####
4242
4343
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+
4551
4652# W9_NAME=""
4753# W9_RCODE=""
Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ services:
3535 volumes :
3636 - mysql_data:/var/lib/mysql
3737 environment :
38- MYSQL_DATABASE : $W9_ID
39- MYSQL_USER : $W9_ID
38+ MYSQL_DATABASE : $WORDPRESS_DB_NAME
39+ MYSQL_USER : $WORDPRESS_DB_USER
4040 MYSQL_PASSWORD : $W9_POWER_PASSWORD
4141 MYSQL_ROOT_PASSWORD : $W9_POWER_PASSWORD
4242
You can’t perform that action at this time.
0 commit comments