Compare commits
2 Commits
b7c8c0f9c9
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 4eec5aa935 | |||
| a1a32bb636 |
@@ -30,3 +30,4 @@
|
|||||||
.env
|
.env
|
||||||
vendor
|
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
|
- app
|
||||||
volumes:
|
volumes:
|
||||||
- ./webroot:/var/www/html
|
- ./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:
|
environment:
|
||||||
WORDPRESS_SITEURL: ${WPSTACK_PROTOCOL}://${WPSTACK_DOMAIN}/${WPSTACK_URLPATH:-}
|
WORDPRESS_SITEURL: ${WPSTACK_PROTOCOL}://${WPSTACK_DOMAIN}/${WPSTACK_URLPATH:-}
|
||||||
WORDPRESS_SITE_TYPE: ${WPSTACK_MULTISITE:-regular}
|
WORDPRESS_SITE_TYPE: ${WPSTACK_MULTISITE:-regular}
|
||||||
@@ -32,8 +30,6 @@ services:
|
|||||||
dockerfile: ./docker/wordpress/Dockerfile
|
dockerfile: ./docker/wordpress/Dockerfile
|
||||||
volumes:
|
volumes:
|
||||||
- ./webroot:/var/www/html
|
- ./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:
|
environment:
|
||||||
WORDPRESS_DB_HOST: db
|
WORDPRESS_DB_HOST: db
|
||||||
WORDPRESS_DB_USER: ${DB_USER}
|
WORDPRESS_DB_USER: ${DB_USER}
|
||||||
|
|||||||
Reference in New Issue
Block a user