dockerize faye and counters

This commit is contained in:
2015-02-10 15:44:46 +01:00
parent cab883b3ce
commit 461bbdb3ec
15 changed files with 388 additions and 26 deletions
+14 -10
View File
@@ -6,14 +6,18 @@ db:
- 5984
net: host
counters:
image: ruby:2.2
web:
build: .
#command: bundle exec unicorn -p 3000 -c ./config/unicorn.rb
command: rails s
build: drb_counter
net: host
volumes:
- .:/usr/src/app
ports:
- "3000:3000"
#links:
# #- db
- config:/usr/src/app/config
faye:
build: faye
net: host
#web:
#build: .
#command: bundle exec unicorn -p 3000 -c ./config/unicorn.rb
#command: rails s
#volumes:
#- .:/usr/src/app
#ports:
#- "3000:3000"