-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yaml
54 lines (50 loc) · 1.38 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
51
52
53
54
---
services:
algorithm-exercises-csharp-test:
image: algorithm-exercises-csharp:test
build:
context: .
target: testing
environment:
LOG_LEVEL: ${LOG_LEVEL:-INFO} ## (1) ## INFO | DEBUG
BRUTEFORCE: ${BRUTEFORCE:-false} ## (1) ## true | false
volumes:
- ./coverage:/app/coverage
profiles: ["testing"]
algorithm-exercises-csharp-lint:
image: algorithm-exercises-csharp: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-csharp-dev:
image: algorithm-exercises-csharp:dev
build:
context: .
target: development
environment:
LOG_LEVEL: ${LOG_LEVEL:-INFO}
BRUTEFORCE: ${BRUTEFORCE:-false} ## (1) ## true | false
volumes:
- ./:/app
profiles: ["development"]
algorithm-exercises-csharp:
image: algorithm-exercises-csharp:latest
build:
context: .
target: production
environment:
LOG_LEVEL: ${LOG_LEVEL:-INFO}
BRUTEFORCE: ${BRUTEFORCE:-false} ## (1) ## true | false
# volumes:
# - ./:/app
profiles: ["production"]
## REFERENCES:
## (1) Passing Environment variable with fallback value:
## https://stackoverflow.com/a/70772707/6366150
##