feature: move bind folders for untracked docker-compose.override

This commit is contained in:
2026-04-23 21:03:58 -03:00
parent b7c8c0f9c9
commit a1a32bb636
3 changed files with 17 additions and 5 deletions
+2 -1
View File
@@ -29,4 +29,5 @@
.DS_Store
.env
vendor
node_modules
node_modules
docker-compose.override.yml
+15
View File
@@ -0,0 +1,15 @@
#
# uncoment volumes below to bind specif plugins and themes from other paths into your project
# copy this file as 'docker-compose.override.yml' for autoloading with docker-compose.yml
#
services:
reverse-proxy:
# volumes:
# - ../repo/wp-content/themes/my-theme:/var/www/html/wp-content/themes/my-theme
# - ../repo/wp-content/plugins/my-plugin:/var/www/html/wp-content/plugins/my-plugin
app:
# volumes:
# - ../repo/wp-content/themes/my-theme:/var/www/html/wp-content/themes/my-theme
# - ../repo/wp-content/plugins/my-plugin:/var/www/html/wp-content/plugins/my-plugin
-4
View File
@@ -11,8 +11,6 @@ services:
- app
volumes:
- ./webroot:/var/www/html
- ../repo/wp-content/themes/itforumportal:/var/www/html/wp-content/themes/itforumportal
- ../repo/wp-content/plugins/advanced-custom-fields-pro:/var/www/html/wp-content/plugins/advanced-custom-fields-pro
environment:
WORDPRESS_SITEURL: ${WPSTACK_PROTOCOL}://${WPSTACK_DOMAIN}/${WPSTACK_URLPATH:-}
WORDPRESS_SITE_TYPE: ${WPSTACK_MULTISITE:-regular}
@@ -32,8 +30,6 @@ services:
dockerfile: ./docker/wordpress/Dockerfile
volumes:
- ./webroot:/var/www/html
- ../repo/wp-content/themes/itforumportal:/var/www/html/wp-content/themes/itforumportal
- ../repo/wp-content/plugins/advanced-custom-fields-pro:/var/www/html/wp-content/plugins/advanced-custom-fields-pro
environment:
WORDPRESS_DB_HOST: db
WORDPRESS_DB_USER: ${DB_USER}