Skip to content

Commit 94c0bed

Browse files
committed
Adding do file
1 parent 7b4bace commit 94c0bed

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

.do/app.yaml

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
databases:
2+
- engine: PG
3+
name: blogdb
4+
num_nodes: 1
5+
size: db-s-dev-database
6+
version: "12"
7+
jobs:
8+
- environment_slug: ruby-on-rails
9+
envs:
10+
- key: DATABASE_URL
11+
scope: RUN_TIME
12+
value: ${blogdb.DATABASE_URL}
13+
github:
14+
branch: master
15+
deploy_on_push: true
16+
repo: chrispat/rails-blog
17+
instance_count: 1
18+
instance_size_slug: basic-xs
19+
kind: POST_DEPLOY
20+
name: rails-blog-migrator
21+
run_command: bundle exec rake db:migrate
22+
name: rails-blog
23+
region: nyc
24+
services:
25+
- environment_slug: ruby-on-rails
26+
envs:
27+
- key: DATABASE_URL
28+
scope: RUN_TIME
29+
value: ${blogdb.DATABASE_URL}
30+
github:
31+
branch: master
32+
deploy_on_push: true
33+
repo: chrispat/rails-blog
34+
http_port: 8080
35+
instance_count: 1
36+
instance_size_slug: basic-xs
37+
name: rails-blog
38+
routes:
39+
- path: /
40+
run_command: bundle exec puma -C config/puma.rb

0 commit comments

Comments
 (0)