forked from OpenLMIS/openlmis-cce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.builder.yml
55 lines (55 loc) · 1.02 KB
/
docker-compose.builder.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
version: "2"
services:
builder:
image: openlmis/dev:10
links:
- db
- log
volumes:
- '.:/app'
- '../logback.xml:/logback.xml'
command:
- './build.sh'
environment:
GRADLE_OPTS: '-Dorg.gradle.daemon=false'
JAVA_OPTS: '-Dlogging.config=/logback.xml'
env_file: .env
sonar:
image: openlmis/dev:10
links:
- db
- log
volumes:
- '.:/app'
entrypoint:
- 'gradle'
command:
- 'clean'
- 'sonarqube'
environment:
GRADLE_OPTS: '-Dorg.gradle.daemon=false'
env_file: .env
demo-data:
image: openlmis/dev:10
links:
- db
- log
volumes:
- '.:/app'
entrypoint:
- 'gradle'
command:
- 'demoDataSeed'
environment:
GRADLE_OPTS: '-Dorg.gradle.daemon=false'
env_file: .env
image:
build: .
image: openlmis/cce
db:
image: openlmis/postgres:12-debezium
env_file: .env
log:
image: openlmis/rsyslog:3
volumes:
- '../logs/cce:/var/log'