-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yml
53 lines (51 loc) · 989 Bytes
/
compose.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
services:
app:
build:
context: .
target: prod
restart: always
profiles:
- prod
app-dev:
build:
context: .
target: dev
ports:
- '2345:2345' # delve
develop:
watch:
- action: rebuild
path: '.'
ignore:
- '.ecrc'
- '.editorconfig'
- '.gitignore'
- '.gitmodules'
- '.prototools'
- 'LICENSE'
- 'go-template'
- '**/*.md'
profiles:
- dev
app-test:
build:
context: .
target: test
ports:
- '2346:2346' # delve
develop:
watch:
- action: sync+restart
path: '.'
target: '.'
ignore:
- '.ecrc'
- '.editorconfig'
- '.gitignore'
- '.gitmodules'
- '.prototools'
- 'LICENSE'
- 'go-template'
- '**/*.md'
profiles:
- test