Skip to content

Instantly share code, notes, and snippets.

@aalvesjr
Created January 5, 2016 04:11
Show Gist options
  • Save aalvesjr/0a370b3c53495aa07959 to your computer and use it in GitHub Desktop.
Save aalvesjr/0a370b3c53495aa07959 to your computer and use it in GitHub Desktop.
[Docker] testes com docker-compose para desenvolvimento
gemdata:
image: busybox
volumes:
- ~/docker/gems:/gems
web:
image: ruby:2.3
environment:
- GEM_HOME=/gems
command: tail -f /dev/null # substituir por rails s
volumes_from:
- gemdata
# TODO: criar mais dois containers, um para o banco de dados e outro para os dados do banco
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment