Skip to content

Commit

Permalink
Build/Test Tools: Update Docker Compose to v2 for 5.8 branch.
Browse files Browse the repository at this point in the history
This updates an instance of `docker-compose` in the `env:start` script to use the new `docker compose` format that was missed in the initial commit.

Follow up to [58597].
See #60901.

git-svn-id: https://develop.svn.wordpress.org/branches/5.8@59211 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
desrosj committed Oct 10, 2024
1 parent b1389fb commit 29b240d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/local-env/scripts/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dotenvExpand( dotenv.config() );
const containers = ( process.env.LOCAL_PHP_MEMCACHED === 'true' )
? 'wordpress-develop memcached'
: 'wordpress-develop';
execSync( `docker-compose up -d -- ${containers}`, { stdio: 'inherit' } );
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 29b240d

Please sign in to comment.