Skip to content

Commit

Permalink
Add missing memcache related code.
Browse files Browse the repository at this point in the history
  • Loading branch information
desrosj committed Jun 28, 2024
1 parent 0550d4a commit 9868771
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/local-env/scripts/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ const { execSync } = require( 'child_process' );
dotenvExpand( dotenv.config() );

// Start the local-env containers.
execSync( 'docker compose up -d wordpress-develop', { stdio: 'inherit' } );
const containers = ( process.env.LOCAL_PHP_MEMCACHED === 'true' )
? 'wordpress-develop memcached'
: 'wordpress-develop';
execSync( `docker compose up -d -- ${containers}`, { stdio: 'inherit' } );

// If Docker Toolbox is being used, we need to manually forward LOCAL_PORT to the Docker VM.
if ( process.env.DOCKER_TOOLBOX_INSTALL_PATH ) {
Expand Down

0 comments on commit 9868771

Please sign in to comment.