From 5242fc78b926f17734706aa30c8d7c21e7e750d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Estev=C3=A3o=20Costa?= Date: Wed, 20 Aug 2025 15:00:19 -0300 Subject: [PATCH 01/10] LEARNDASH-8542: Add support to docker compose project name --- .env.slic | 5 +++++ slic-stack.yml | 3 +++ 2 files changed, 8 insertions(+) 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: From 7d0e1dfa378c8c18641c9b133101239076c1d841 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Estev=C3=A3o=20Costa?= Date: Wed, 20 Aug 2025 16:02:24 -0300 Subject: [PATCH 02/10] Debug --- .env.slic | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env.slic b/.env.slic index d6422ef..108a8af 100644 --- a/.env.slic +++ b/.env.slic @@ -97,4 +97,4 @@ 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 +SLIC_COMPOSE_PROJECT_NAME=learndash From a2f9b459d6e630f83102e70a37637a267958f6ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Estev=C3=A3o=20Costa?= Date: Wed, 20 Aug 2025 16:05:51 -0300 Subject: [PATCH 03/10] Debug --- .env.slic | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env.slic b/.env.slic index 108a8af..f2cec67 100644 --- a/.env.slic +++ b/.env.slic @@ -97,4 +97,4 @@ 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=learndash +# SLIC_COMPOSE_PROJECT_NAME=learndash From be773d9d7863689a9ad1be45248f57a58ec8c007 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Estev=C3=A3o=20Costa?= Date: Wed, 20 Aug 2025 16:12:07 -0300 Subject: [PATCH 04/10] Debug --- .env.slic | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env.slic b/.env.slic index f2cec67..d6422ef 100644 --- a/.env.slic +++ b/.env.slic @@ -97,4 +97,4 @@ 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=learndash +SLIC_COMPOSE_PROJECT_NAME=slic From c7e06eee4c2bf25cc62b06969024c865cdd8755a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Estev=C3=A3o=20Costa?= Date: Thu, 21 Aug 2025 21:15:54 -0300 Subject: [PATCH 05/10] Debug --- slic-stack.site.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/slic-stack.site.yml b/slic-stack.site.yml index fb64db2..e5d7308 100644 --- a/slic-stack.site.yml +++ b/slic-stack.site.yml @@ -3,6 +3,7 @@ services: wordpress: + user: "${SLIC_UID:-}:${SLIC_GID:-}" volumes: # Paths are relative to the directory that contains this file, NOT the current working directory. # Share the WordPress core installation files in the `_wordpress` directory. From 0b1b479ac517097ab8ecaa35fdf15fca256f4c10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Estev=C3=A3o=20Costa?= Date: Thu, 21 Aug 2025 21:21:03 -0300 Subject: [PATCH 06/10] Debug --- slic-stack.site.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/slic-stack.site.yml b/slic-stack.site.yml index e5d7308..fb64db2 100644 --- a/slic-stack.site.yml +++ b/slic-stack.site.yml @@ -3,7 +3,6 @@ services: wordpress: - user: "${SLIC_UID:-}:${SLIC_GID:-}" volumes: # Paths are relative to the directory that contains this file, NOT the current working directory. # Share the WordPress core installation files in the `_wordpress` directory. From d3bf22a65df9ca1cc18f44484b07e5657508bdeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Estev=C3=A3o=20Costa?= Date: Fri, 22 Aug 2025 08:50:12 -0300 Subject: [PATCH 07/10] Debug --- slic-stack.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/slic-stack.yml b/slic-stack.yml index 5c8fdda..a9e2c10 100644 --- a/slic-stack.yml +++ b/slic-stack.yml @@ -47,6 +47,7 @@ services: - /data wordpress: + privileged: true image: ghcr.io/stellarwp/slic-wordpress-php${SLIC_PHP_VERSION}:${SLIC_VERSION} networks: slic: From c9b37c4acdfd193d69a656d77e9cce9c3b35e42a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Estev=C3=A3o=20Costa?= Date: Fri, 22 Aug 2025 10:21:51 -0300 Subject: [PATCH 08/10] Debug --- slic-stack.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/slic-stack.yml b/slic-stack.yml index a9e2c10..c4355db 100644 --- a/slic-stack.yml +++ b/slic-stack.yml @@ -8,6 +8,8 @@ networks: volumes: function-mocker-cache: + wwwtemp: + external: true services: From 008e785d427e096580dce94c519b3977c1ec4ae3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Estev=C3=A3o=20Costa?= Date: Fri, 22 Aug 2025 10:24:46 -0300 Subject: [PATCH 09/10] Debug --- slic-stack.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/slic-stack.yml b/slic-stack.yml index c4355db..a9e2c10 100644 --- a/slic-stack.yml +++ b/slic-stack.yml @@ -8,8 +8,6 @@ networks: volumes: function-mocker-cache: - wwwtemp: - external: true services: From 002bffed06cacfb54094f581528e18c0d12c4cd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Estev=C3=A3o=20Costa?= Date: Fri, 22 Aug 2025 18:26:19 -0300 Subject: [PATCH 10/10] Debug --- slic-stack.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/slic-stack.yml b/slic-stack.yml index a9e2c10..5c8fdda 100644 --- a/slic-stack.yml +++ b/slic-stack.yml @@ -47,7 +47,6 @@ services: - /data wordpress: - privileged: true image: ghcr.io/stellarwp/slic-wordpress-php${SLIC_PHP_VERSION}:${SLIC_VERSION} networks: slic: