Skip to content

Instantly share code, notes, and snippets.

@domachine
Last active August 29, 2015 14:20
Show Gist options
  • Save domachine/fba95201802148cbdf42 to your computer and use it in GitHub Desktop.
Save domachine/fba95201802148cbdf42 to your computer and use it in GitHub Desktop.
bare docker-compose.yml file without db
web:
image: ruby:2.2.2
command: bundle exec rails s -b 0.0.0.0
working_dir: /usr/src/app
volumes:
- .:/usr/src/app
ports:
- 3000:3000
environment:
GEM_PATH: /usr/src/app/vendor/bundle:/usr/local/bundle
BUNDLE_APP_CONFIG: /usr/src/app/.bundle
stdin_open: true
tty: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment