Skip to content

Commit d335ba8

Browse files
committed
add the WORDPRESS_DB_NAME env var to docker containers
1 parent c9a50b9 commit d335ba8

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

docker-compose.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ services:
153153
WORDPRESS_DB_HOST: db-latest:3306
154154
WORDPRESS_DB_USER: wordpress
155155
WORDPRESS_DB_PASSWORD: wordpress
156+
WORDPRESS_DB_NAME: wordpress
156157
# FONTAWESOME_ENV controls whether the React assets are loaded from webpack dev server or the
157158
# static production ones in the admin/build dir.
158159
# If this is "development", you get webpack. Otherwise, admin/build.
@@ -172,12 +173,33 @@ services:
172173
WORDPRESS_DB_HOST: db-latest:3306
173174
WORDPRESS_DB_USER: wordpress
174175
WORDPRESS_DB_PASSWORD: wordpress
176+
WORDPRESS_DB_NAME: wordpress
175177
# FONTAWESOME_ENV controls whether the React assets are loaded from webpack dev server or the
176178
# static production ones in the admin/build dir.
177179
# If this is "development", you get webpack. Otherwise, admin/build.
178180
FONTAWESOME_ENV: development
179181
container_name: "com.fontawesome.wordpress-php7.2-dev"
180182

183+
wordpress-php7.1-dev:
184+
<<:
185+
- *wordpress_defaults
186+
- *dev_env_volumes
187+
depends_on:
188+
- db-latest
189+
image: wordpress-fontawesome-dev-php7.1
190+
env_file:
191+
- ".env.local"
192+
environment:
193+
WORDPRESS_DB_HOST: db-latest:3306
194+
WORDPRESS_DB_USER: wordpress
195+
WORDPRESS_DB_PASSWORD: wordpress
196+
WORDPRESS_DB_NAME: wordpress
197+
# FONTAWESOME_ENV controls whether the React assets are loaded from webpack dev server or the
198+
# static production ones in the admin/build dir.
199+
# If this is "development", you get webpack. Otherwise, admin/build.
200+
FONTAWESOME_ENV: development
201+
container_name: "com.fontawesome.wordpress-php7.1-dev"
202+
181203
wordpress-php5.6-dev:
182204
<<:
183205
- *wordpress_defaults
@@ -191,6 +213,7 @@ services:
191213
WORDPRESS_DB_HOST: db-latest:3306
192214
WORDPRESS_DB_USER: wordpress
193215
WORDPRESS_DB_PASSWORD: wordpress
216+
WORDPRESS_DB_NAME: wordpress
194217
# FONTAWESOME_ENV controls whether the React assets are loaded from webpack dev server or the
195218
# static production ones in the admin/build dir.
196219
# If this is "development", you get webpack. Otherwise, admin/build.
@@ -210,6 +233,7 @@ services:
210233
WORDPRESS_DB_HOST: db-latest:3306
211234
WORDPRESS_DB_USER: wordpress
212235
WORDPRESS_DB_PASSWORD: wordpress
236+
WORDPRESS_DB_NAME: wordpress
213237
container_name: "com.fontawesome.wordpress-latest-integration"
214238

215239
wordpress-4.9.8-dev:
@@ -225,6 +249,7 @@ services:
225249
WORDPRESS_DB_HOST: db-4.9.8:3306
226250
WORDPRESS_DB_USER: wordpress
227251
WORDPRESS_DB_PASSWORD: wordpress
252+
WORDPRESS_DB_NAME: wordpress
228253
# FONTAWESOME_ENV controls whether the React assets are loaded from webpack dev server or the
229254
# static production ones in the admin/build dir.
230255
# If this is "development", you get webpack. Otherwise, admin/build.
@@ -244,6 +269,7 @@ services:
244269
WORDPRESS_DB_HOST: db-4.9.8:3306
245270
WORDPRESS_DB_USER: wordpress
246271
WORDPRESS_DB_PASSWORD: wordpress
272+
WORDPRESS_DB_NAME: wordpress
247273
container_name: "com.fontawesome.wordpress-4.9.8-integration"
248274
volumes:
249275
db_data-latest:

0 commit comments

Comments
 (0)