aboutsummaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorPhilipp Le <philipp-le-prviat@freenet.de>2020-10-29 00:43:32 +0100
committerPhilipp Le <philipp-le-prviat@freenet.de>2020-10-29 00:43:32 +0100
commitc8b874612e212c553858f0c11e72b42c09827de5 (patch)
tree529ca9251f26e17863a553cd625ca505f169fdeb /docker-compose.yml
parente18d7c2edb85d62121f1219a4f420d4f12181bc2 (diff)
downloadfarafeit-wp-docker-compose-c8b874612e212c553858f0c11e72b42c09827de5.zip
farafeit-wp-docker-compose-c8b874612e212c553858f0c11e72b42c09827de5.tar.gz
farafeit-wp-docker-compose-c8b874612e212c553858f0c11e72b42c09827de5.tar.bz2
Added wordpress as read-only Git repo
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml13
1 files changed, 7 insertions, 6 deletions
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