add docker-compose support

This commit is contained in:
Mikhail Dronov 2016-03-31 22:16:07 +04:00
parent 11bae37cc4
commit 419233f9f8
5 changed files with 95 additions and 0 deletions

7
docker-compose.yml Normal file
View file

@ -0,0 +1,7 @@
web:
build: .
command: bash -c "bundle exec rails s -p 8080 -b '0.0.0.0'"
volumes:
- ./:/osem
ports:
- "8080:8080"