summaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index efa1a2a..ddc409a 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -10,7 +10,7 @@ services:
ports:
- 8000:80
volumes:
- - ./html:/var/www/html
+ - ${WP_LOCAL_ROOT:-./html}:/var/www/html
db:
image: docker.io/library/mariadb:${MARIADB_VER:-latest}
restart: always
@@ -36,7 +36,7 @@ services:
profiles:
- cli
volumes:
- - ./html:/var/www/html
+ - ${WP_LOCAL_ROOT:-./html}:/var/www/html
volumes:
mariadb: