-
Notifications
You must be signed in to change notification settings - Fork 9
/
dip.yml
58 lines (49 loc) · 1.19 KB
/
dip.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Required minimum dip version
version: '4.1'
environment:
COMPOSE_EXT: development
compose:
files:
- docker-compose.yml
project_name: boilerplate
interaction:
bash:
description: Open the Bash shell in app's container
service: server_app
command: bash
compose:
run_options: [no-deps]
bundle:
description: Run Bundler commands
service: server_app
command: bundle
rspec:
description: Run Rspec commands
service: server_app
environment:
RAILS_ENV: test
command: bundle exec rspec
rails:
description: Run Rails commands
service: server_app
command: bundle exec rails
subcommands:
s:
description: Run Rails server at http://localhost:3000
service: server_app
compose:
run_options: [service-ports, use-aliases]
sidekiq:
description: Run sidekiq in background
service: server_worker_app
compose:
method: up
run_options: [detach]
psql:
description: Run Postgres psql console
service: server_app
default_args: boilerplate_rails_api_development
command: psql -h db -p 5432 -U postgres
provision:
- dip compose down --volumes
- dip compose up