concord-consortium/rigse

View on GitHub
docker/dev/docker-compose-mac-volumes.yml

Summary

Maintainability
Test Coverage
# This is an docker-compose overlay that uses performance-tuned volumes for OSX.
# see https://docs.docker.com/docker-for-mac/osxfs-caching/  for more infomation

# A convient way to overlay this file is to add a `.env` file with the contents:
#  COMPOSE_FILE=docker-compose.yml:docker/dev/docker-compose-mac-volumes.yml
# You can also do it manually when you run docker-compose each time with
# docker-compose -f docker-compose.yml -f docker/dev/docker-compose-mac-volumes.yml
# if you are making changes to docker-compose.yml or this file it is useful to
# run `docker-compose config` which shows how the two files get merged together

version: '3'
services:
  app:
    volumes:
      - ./rails:/rigse:delegated
  solr:
    volumes:
      - ./rails:/rigse:delegated