Skip to content

Instantly share code, notes, and snippets.

@elquimista
Created February 23, 2017 20:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elquimista/183e2adf2c2a34c717301e84f5a3d531 to your computer and use it in GitHub Desktop.
Save elquimista/183e2adf2c2a34c717301e84f5a3d531 to your computer and use it in GitHub Desktop.
docker-compose.yml example
app:
build: .
command: ./docker-compose-command.sh
volumes:
- .:/code/vmware_ma
ports:
- 80:3000
links:
- postgres
stdin_open: true
tty: true
volumes_from:
- bundle
bundle:
image: vmwarema_app
command: echo "I'm a little data container, for persisting bundles."
volumes:
- /bundle
postgres:
image: postgres:9.5.3
ports:
- 5431:5432
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment