Created
February 12, 2015 18:40
-
-
Save andrewhampton/553529f1a194ff32afed to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app: | |
build: . | |
command: bundle exec rails server -b 0.0.0.0 --pid=/tmp/app.pid | |
volumes: | |
- .:/usr/src/app | |
links: | |
- proxy | |
environment: | |
- VIRTUAL_HOST=app.d | |
expose: | |
- "3000" | |
proxy: | |
image: jwilder/nginx-proxy | |
volumes: | |
- /var/run/docker.sock:/tmp/docker.sock | |
ports: | |
- "80:80" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment