feature: move bind folders for untracked docker-compose.override
This commit is contained in:
+2
-1
@@ -29,4 +29,5 @@
|
||||
.DS_Store
|
||||
.env
|
||||
vendor
|
||||
node_modules
|
||||
node_modules
|
||||
docker-compose.override.yml
|
||||
@@ -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
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user