update: stack structure
This commit is contained in:
+2
-9
@@ -10,10 +10,7 @@ services:
|
||||
depends_on:
|
||||
- app
|
||||
volumes:
|
||||
- webroot:/var/www/html
|
||||
- ./app/themes:/var/www/html/wp-content/themes
|
||||
- ./app/plugins:/var/www/html/wp-content/plugins
|
||||
- ./app/mu-plugins:/var/www/html/wp-content/mu-plugins
|
||||
- ./webroot:/var/www/html
|
||||
environment:
|
||||
WORDPRESS_SITEURL: ${WPSTACK_PROTOCOL}://${WPSTACK_DOMAIN}/${WPSTACK_URLPATH:-}
|
||||
WORDPRESS_SITE_TYPE: ${WPSTACK_MULTISITE:-regular}
|
||||
@@ -32,10 +29,7 @@ services:
|
||||
context: .
|
||||
dockerfile: ./docker/wordpress/Dockerfile
|
||||
volumes:
|
||||
- webroot:/var/www/html
|
||||
- ./app/themes:/var/www/html/wp-content/themes
|
||||
- ./app/plugins:/var/www/html/wp-content/plugins
|
||||
- ./app/mu-plugins:/var/www/html/wp-content/mu-plugins
|
||||
- ./webroot:/var/www/html
|
||||
environment:
|
||||
WORDPRESS_DB_HOST: db
|
||||
WORDPRESS_DB_USER: ${DB_USER}
|
||||
@@ -71,7 +65,6 @@ services:
|
||||
- proxy-network
|
||||
|
||||
volumes:
|
||||
webroot:
|
||||
db_data:
|
||||
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user