forked from US-CBP/GTAS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
remote-deployment.yml
97 lines (96 loc) · 2.65 KB
/
remote-deployment.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
version: '3.7'
services:
http-proxy:
deploy:
placement:
constraints:
- node.hostname == gtas-webapp-node
web-app:
environment:
JAVA_TOOL_OPTIONS: "-XX:+IgnoreUnrecognizedVMOptions -XX:+UseContainerSupport"
JAVA_HOME: "/usr/local/gtas-java-jre"
JAVA_OPTS: "-Xms4g -Xmx8g -XX:MaxPermSize=16g -Duser.timezone=UTC"
EMAIL_SENDER_USERNAME: ""
EMAIL_SENDER_PASSWORD: ""
EMAIL_SENDER_HOST: ""
SSL_TRUST_HOST: ""
AUTOMATED_HIT_NOTIFICATION_EMAIL_ENABLED: "false"
MANUAL_HIT_NOTIFICATION_EMAIL_ENABLED: "false"
PROXY_IP: ""
volumes:
- type: bind
source: /mnt/gtas-java-jre
target: /usr/local/gtas-java-jre
- type: bind
source: /var/opt/gtas_web_app_application_properties
target: /usr/local/tomcat/conf
deploy:
placement:
constraints:
- node.hostname == gtas-webapp-node
gtas-scheduler:
environment:
JAVA_TOOL_OPTIONS: "-XX:+IgnoreUnrecognizedVMOptions -XX:+UseContainerSupport"
JAVA_HOME: "/usr/local/gtas-java-jre"
JAVA_OPTS: "-Xms8000m -Xmx16000m -Duser.timezone=UTC -Djava.awt.headless=true -Djava.security.egd=file:/dev/./urandom"
EMAIL_SENDER_USERNAME: ""
EMAIL_SENDER_PASSWORD: ""
EMAIL_SENDER_HOST: ""
SSL_TRUST_HOST: ""
AUTOMATED_HIT_NOTIFICATION_EMAIL_ENABLED: "false"
MANUAL_HIT_NOTIFICATION_EMAIL_ENABLED: "false"
PROXY_IP: ""
volumes:
- type: bind
source: /mnt/gtas-java-jre
target: /usr/local/gtas-java-jre
- type: bind
source: /var/opt/gtas_scheduler_application_properties
target: /usr/local/tomcat/conf
- type: bind
source: /mnt
target: /usr/local/gtas-data
consistency: consistent
deploy:
placement:
constraints:
- node.hostname == gtas-messenger-node
activemq:
deploy:
placement:
constraints:
- node.hostname == gtas-neo4j-node
mariadb:
deploy:
placement:
constraints:
- node.hostname == gtas-db-node
kibana:
deploy:
placement:
constraints:
- node.hostname == gtas-elk-node
elasticsearch:
deploy:
placement:
constraints:
- node.hostname == gtas-elk-node
logstash:
deploy:
placement:
constraints:
- node.hostname == gtas-elk-node
elk-setup:
deploy:
placement:
constraints:
- node.hostname == gtas-elk-node
neo4j:
deploy:
placement:
constraints:
- node.hostname == gtas-neo4j-node
networks:
GTAS_webapp-network:
driver: "overlay"
attachable: true