diff --git a/.env.slic b/.env.slic index 1dd73bf..d6422ef 100644 --- a/.env.slic +++ b/.env.slic @@ -93,3 +93,8 @@ SLIC_WP_AUTO_UPDATE_CORE=false # This value will be assigned to the AUTOMATIC_UPDATER_DISABLED constant defined in the wp-config.php file. # Set to `false` to allow all types of automatic updates. SLIC_AUTOMATIC_UPDATER_DISABLED=true + +# This value will be used as the compose project name, which adds a prefix to the container names. +# It's useful to avoid conflicts when running multiple instances of slic in parallel. +# More details: https://docs.docker.com/compose/how-tos/project-name/ +SLIC_COMPOSE_PROJECT_NAME=slic diff --git a/slic-stack.yml b/slic-stack.yml index fb06bc1..5c8fdda 100644 --- a/slic-stack.yml +++ b/slic-stack.yml @@ -1,5 +1,8 @@ # docker compose configuration file used to run cross-activation tests. +# Add a prefix to containers to avoid conflicts when running in parallel. Default 'slic'. +name: ${SLIC_COMPOSE_PROJECT_NAME:-slic} + networks: slic: