Skip to content

Commit 9506ea4

Browse files
committed
Adjust volumes on CLI container
1 parent cb064f5 commit 9506ea4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ services:
109109
WP_CONFIG_PATH: /var/www/wp-config.php
110110

111111
volumes:
112+
- ./tools/local-env/php-config.ini:/usr/local/etc/php/conf.d/php-config.ini
112113
- ./:/var/www
113114

114115
# Keeps the service alive.

tools/local-env/scripts/install.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,5 @@ wait_on( {
6161
* @param {string} cmd The WP-CLI command to run.
6262
*/
6363
function wp_cli( cmd ) {
64-
execSync( `npm --silent run env:cli -- ${cmd} --path=/var/www/${process.env.LOCAL_DIR} --ssl-mode=DISABLED`, { stdio: 'inherit' } );
64+
execSync( `npm --silent run env:cli -- ${cmd} --path=/var/www/${process.env.LOCAL_DIR}`, { stdio: 'inherit' } );
6565
}

0 commit comments

Comments
 (0)