forked from datakaveri/iudx-aaa-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
63 lines (57 loc) · 1.74 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:
rs-net:
driver: bridge
services:
prod:
image: iudx/aaa-depl:latest
environment:
- AUTH_URL=https://authorization.iudx.org.in
- LOG_LEVEL=INFO
- AUTH_JAVA_OPTS=-Xmx4096m
volumes:
- ./configs/config-depl.json:/usr/share/app/configs/config.json
- ./docs/:/usr/share/app/docs
- ./configs/keystore.jks:/usr/share/app/configs/keystore.jks
- /tmp/iudx/:/tmp/iudx/
ports:
- "443:8443"
- "9000:9000"
restart: on-failure
networks:
- auth-net
logging:
driver: "json-file"
options:
max-file: "5"
max-size: "100m"
command: bash -c "exec java $$AUTH_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/aaa-dev:latest
environment:
- AUTH_URL=https://authorization.iudx.org.in
- LOG_LEVEL=INFO
- AUTH_JAVA_OPTS=-Xmx4096m
volumes:
- ./configs/config-dev.json:/usr/share/app/configs/config.json
- ./configs/keystore.jks:/usr/share/app/configs/keystore.jks
- ./docs/:/usr/share/app/docs
- /tmp/iudx/:/tmp/iudx/
ports:
- "8443:8443"
- "9000:9000"
restart: on-failure
networks:
- rs-net
logging:
driver: "json-file"
options:
max-file: "5"
max-size: "100m"
command: bash -c "exec java $$AUTH_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:
- auth-net