From c8b874612e212c553858f0c11e72b42c09827de5 Mon Sep 17 00:00:00 2001 From: Philipp Le Date: Thu, 29 Oct 2020 00:43:32 +0100 Subject: Added wordpress as read-only Git repo --- docker-compose.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'docker-compose.yml') diff --git a/docker-compose.yml b/docker-compose.yml index e8c4f60..cd814fe 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -19,13 +19,14 @@ services: ports: - "8000:80" restart: always - environment: - WORDPRESS_DB_HOST: db - WORDPRESS_DB_USER: wordpress - WORDPRESS_DB_PASSWORD: wordpress - WORDPRESS_DB_NAME: feit_website volumes: - - ./run/html:/var/www/html + - ./wordpress:/var/www/html:ro + - ./wp-config.php:/var/www/html/wp-config.php:ro + - ./run/wp-content/plugins:/var/www/html/wp-content/plugins:rw + - ./wordpress/wp-content/plugins/index.php:/var/www/html/wp-content/plugins/index.php:ro + - ./wordpress/wp-content/plugins/hello.php:/var/www/html/wp-content/plugins/hello.php:ro + - ./run/wp-content/uploads:/var/www/html/wp-content/uploads:rw + - ./run/wp-content/languages:/var/www/html/wp-content/languages:rw - ./farafeit-theme:/var/www/html/wp-content/themes/farafeit:ro - ./bootstrap-file-list:/var/www/html/wp-content/plugins/bootstrap-file-list:ro -- cgit v1.1