github.com/swisspost/terratest@v0.0.0-20230214120104-7ec6de2e1ae0/docs/docker-compose.yml (about) 1 version: '3' 2 3 services: 4 web: 5 build: . 6 volumes: 7 # Bind mount the working dir so the app reloads automatically every time you make a change 8 # Note that we use 'delegated' to improve perf on OSX: https://docs.docker.com/docker-for-mac/osxfs-caching/ 9 - .:/src:delegated 10 # Bind a Docker-only volume to the generated _site folder to make it clear we don't need to sync that folder 11 # back to the host OS. That makes Jekyll in Docker work much faster. 12 - generated_site:/src/_site 13 ports: 14 - "4000:4000" 15 # Expose port for jekyll livereload 16 - "35729:35729" 17 environment: 18 - JEKYLL_ENV=development 19 20 volumes: 21 generated_site: