-
Notifications
You must be signed in to change notification settings - Fork 15
/
docker-compose.test.yml
59 lines (54 loc) · 1.73 KB
/
docker-compose.test.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
56
57
58
59
version: '3.7'
networks:
gis-net:
driver: bridge
services:
test:
image: ghcr.io/datakaveri/gis-test:latest
environment:
- RS_URL=https://rs.iudx.org.in
- LOG_LEVEL=INFO
- GIS_JAVA_OPTS=-Xmx1024m
volumes:
- /home/ubuntu/configs/gis-config-test.json:/usr/share/app/configs/config-test.json
- /home/ubuntu/configs/keystore-gis.jks:/usr/share/app/configs/keystore.jks
- ./docker/runTests.sh:/usr/share/app/docker/runTests.sh
- ./src/:/usr/share/app/src
- ./iudx-pmd-ruleset.xml:/usr/share/app/iudx-pmd-ruleset.xml
- ./google_checks.xml:/usr/share/app/google_checks.xml
- ${WORKSPACE}:/tmp/test
- /var/run/docker.sock:/var/run/docker.sock
network_mode: host
logging:
driver: "json-file"
options:
max-file: "5"
max-size: "100m"
command: bash -c "docker/runTests.sh"
integTest:
image: ghcr.io/datakaveri/gis-depl:latest
environment:
- RS_URL=https://rs.iudx.org.in
- LOG_LEVEL=INFO
- GIS_JAVA_OPTS=-Xmx1024m
volumes:
- /home/ubuntu/configs/gis-config-test.json:/usr/share/app/configs/config.json
- /home/ubuntu/configs/keystore-gis.jks:/usr/share/app/configs/keystore.jks
ports:
- "8443:8443"
networks:
- gis-net
logging:
driver: "json-file"
options:
max-file: "5"
max-size: "100m"
command: bash -c "exec java $$GIS_JAVA_OPTS -Dvertx.logger-delegate-factory-class-name=io.vertx.core.logging.Log4j2LogDelegateFactory -jar ./fatjar.jar --host $$(hostname) -c configs/config.json"
depends_on:
- "zookeeper"
zookeeper:
image: zookeeper:latest
expose:
- "2181"
networks:
- gis-net