-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcompose.yaml
50 lines (46 loc) · 1.32 KB
/
compose.yaml
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
---
services:
algorithm-exercises-go-test:
image: algorithm-exercises-go:test
build:
context: .
target: testing
environment:
LOG_LEVEL: ${LOG_LEVEL:-INFO} ## (1) ## INFO | WARN | ERROR | DEBUG
BRUTEFORCE: ${BRUTEFORCE:-false} ## (1) ## TRUE | FALSE
volumes:
- ./coverage:/app/coverage
profiles: ["testing"]
algorithm-exercises-go-lint:
image: algorithm-exercises-go:lint
build:
context: .
target: lint
# environment:
# LOG_LEVEL: ${LOG_LEVEL:-info} ## (1) ## info | debug
# BRUTEFORCE: ${BRUTEFORCE:-false} ## (1) ## true | false
volumes:
- ./:/app
profiles: ["lint"]
algorithm-exercises-go-dev:
image: algorithm-exercises-go:dev
build:
context: .
target: development
environment:
LOG_LEVEL: ${LOG_LEVEL:-INFO} ## (1) ## INFO | WARN | ERROR | DEBUG
BRUTEFORCE: ${BRUTEFORCE:-false} ## (1) ## TRUE | FALSE
volumes:
- ./:/app
profiles: ["development"]
algorithm-exercises-go:
image: algorithm-exercises-go:latest
build:
context: .
target: production
environment:
LOG_LEVEL: ${LOG_LEVEL:-INFO} ## (1) ## INFO | WARN | ERROR | DEBUG
BRUTEFORCE: ${BRUTEFORCE:-false} ## (1) ## TRUE | FALSE
# volumes:
# - ./:/app
profiles: ["production"]