5
0
mirror of https://git.coop/cotech/website.git synced 2024-10-31 22:08:44 +00:00
cotech-website/docker-compose.yml
James Mead d5a260c00e Update Ruby to v2.6.6
This is the latest patch version of v2.6.
2020-10-11 14:47:35 +01:00

31 lines
519 B
YAML

---
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.6.6
working_dir: /src
environment:
BUNDLE_PATH: /vendor
command: >
sh -c '
bundle &&
bundle exec jekyll build --destination /site --watch
'
volumes:
- .:/src
- site:/site
- vendor:/vendor
volumes:
vendor:
site: