-
Notifications
You must be signed in to change notification settings - Fork 15
/
docker-compose.yml
63 lines (57 loc) · 1.65 KB
/
docker-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
54
55
56
57
58
59
60
61
62
63
version: '3.7'
networks:
gis-net:
driver: bridge
services:
prod:
image: iudx/gis-depl:latest
environment:
- RS_URL=https://rs.iudx.org.in
- LOG_LEVEL=INFO
- GIS_JAVA_OPTS=-Xmx4096m
volumes:
- ./configs/config-depl.json:/usr/share/app/configs/config.json
- ./configs/keystore.jks:/usr/share/app/configs/keystore.jks
ports:
- "8080:8080"
- "8443:8443"
- "9000:9000"
restart: on-failure
depends_on:
- "zookeeper"
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"
dev:
image: iudx/gis-dev:latest
environment:
- RS_URL=https://rs.iudx.org.in
- LOG_LEVEL=DEBUG
- GIS_JAVA_OPTS=-Xmx1024m
volumes:
- ./configs/config-dev.json:/usr/share/app/configs/config.json
- ./configs/keystore.jks:/usr/share/app/configs/keystore.jks
ports:
- "8080:8080"
- "8443:8443"
- "9000:9000"
restart: on-failure
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"
zookeeper:
image: zookeeper:latest
expose:
- "2181"
networks:
- gis-net