Skip to content

Instantly share code, notes, and snippets.

@joebui
Last active May 7, 2019 15:13
Show Gist options
  • Save joebui/e2c16d944fe280d1d25d248b76462d26 to your computer and use it in GitHub Desktop.
Save joebui/e2c16d944fe280d1d25d248b76462d26 to your computer and use it in GitHub Desktop.
docker-sync sample
version: '2'
services:
# The "rails" attribute is the service name in docker-compose.yml
rails:
volumes:
- app-code-sync:/webapp:nocopy
volumes:
app-code-sync:
external: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment