Switch to docker-compose with .htaccess support

This commit is contained in:
Nick Sellen
2018-12-15 13:04:49 +00:00
parent 818f4e4dc5
commit 5cf4d22662
7 changed files with 598 additions and 29 deletions

26
docker-compose.yml Normal file
View File

@ -0,0 +1,26 @@
---
version: '3'
services:
web:
build: docker/web
volumes:
- ./_site:/usr/local/apache2/htdocs/
- ./docker/web/httpd.conf:/usr/local/apache2/conf/httpd.conf
ports:
- "4000:80"
jekyll:
image: ruby:2.5.3
command: >
sh -c '
cd /src &&
bundle --path vendor &&
bundle exec jekyll build --watch
'
volumes:
- .:/src
- vendor:/src/vendor
volumes:
vendor: