-
Notifications
You must be signed in to change notification settings - Fork 6
/
dip.yml
41 lines (33 loc) · 795 Bytes
/
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
version: "7.0"
compose:
project_name: likeer
files:
- docker-compose.dev.yml
interaction:
runner:
description: Run an arbitrary command within a container
service: runner
command: /bin/sh
crystal:
description: Run crystal commands
service: runner
command: crystal
shards:
description: Run shards commands
service: runner
command: shards
spec:
description: Run specs
service: runner
command: crystal spec
release:
description: Release
service: runner
command: shards build --ignore-crystal-version --release --static
exec:
description: Run
service: runner
command: crystal run src/main.cr
provision:
- dip compose down --remove-orphans --volumes
- dip shards install --ignore-crystal-version