forked from cloud66/sample-rails.4.0.0-mysql
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathservice.yml
40 lines (36 loc) · 1016 Bytes
/
service.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Generated by Cloud66 Starter
---
services:
worker:
git: http://github.com/cloud66-samples/rails-mysql.git
git_branch: master
command: bundle exec rake test:work
build_root: .
env_vars:
RAILS_ENV: production
RACK_ENV: production
scheduler:
git: http://github.com/cloud66-samples/rails-mysql.git
git_branch: master
command: bundle exec rake test:work
build_root: .
env_vars:
RAILS_ENV: production
RACK_ENV: production
web:
git: http://github.com/cloud66-samples/rails-mysql.git
git_branch: master
command: bundle exec rails server -e _env:RAILS_ENV
build_command: /bin/sh -c "RAILS_ENV=_env:RAILS_ENV bundle exec rake db:schema:load"
deploy_command: /bin/sh -c "RAILS_ENV=_env:RAILS_ENV bundle exec rake db:migrate"
build_root: .
ports:
- container: 3000
http: 80
https: 443
env_vars:
RAILS_ENV: production
RACK_ENV: production
BABAK.babak: baBBaKK
databases:
- mysql