File tree 2 files changed +8
-8
lines changed
2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ RUN a2enmod rewrite
43
43
44
44
45
45
# create an index directory
46
- RUN mkdir /var/www/index
46
+ RUN mkdir -p /var/www/index
47
47
48
48
# Install Composer
49
49
RUN curl -sS https://getcomposer.org/installer \
Original file line number Diff line number Diff line change @@ -9,16 +9,16 @@ version: '2.4'
9
9
10
10
services :
11
11
12
- index-wordpress :
13
- container_name : index-wordpress
12
+ index-web :
13
+ container_name : index-web
14
14
depends_on :
15
- - index-wpdb
15
+ - index-db
16
16
build : .
17
17
networks :
18
18
- index-backend
19
19
environment :
20
20
MYSQL_ROOT_PASSWORD : root
21
- PMA_HOST : index-wpdb
21
+ PMA_HOST : index-db
22
22
PMA_PORT : 3306
23
23
WORDPRESS_CONFIG_EXTRA : |
24
24
# Use dispatch port by default
@@ -28,7 +28,7 @@ services:
28
28
define('WP_HOME', 'http://localhost:8080');
29
29
define('WP_SITEURL', 'http://localhost:8080');
30
30
}
31
- WORDPRESS_DB_HOST : index-wpdb :3306
31
+ WORDPRESS_DB_HOST : index-db :3306
32
32
WORDPRESS_DB_PASSWORD : root
33
33
WORDPRESS_DB_USER : root
34
34
WORDPRESS_DB_name : wordpress
@@ -62,8 +62,8 @@ services:
62
62
- ./cache:/var/www/index/cache:ro
63
63
64
64
65
- index-wpdb :
66
- container_name : index-wpdb
65
+ index-db :
66
+ container_name : index-db
67
67
environment :
68
68
MYSQL_DATABASE : wordpress
69
69
MYSQL_ROOT_PASSWORD : root
You can’t perform that action at this time.
0 commit comments