-
Notifications
You must be signed in to change notification settings - Fork 214
/
bootstrap.env
123 lines (101 loc) · 3.09 KB
/
bootstrap.env
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
# NO Modification For PORT
# GLOBAL_CONFIG
PRODUCT_VERSION=1.0.0
LOCAL_LOG_PATH=/tmp/logs
PROJECT_VERSION=1.3.0-RELEASE
# KEY_CONFIG
SERVER_KEY_STORE_PASSWORD=passw0rd
SERVER_KEY_PASSWORD=passw0rd
CLIENT_TRUST_STORE_PASSWORD=passw0rd
# SITE_CONFIG
DOMAIN_NAME=www.xproject.com
# SUPPORT_SERVICE
MYSQL_ROOT_PASSWORD=passw0rd
ES_SERVER_PORT=9200
ES_JAVA_OPTS="-Xms256m -Xmx256m"
KIBANA_SERVER_PORT=5601
LOGSTASH_SERVER=logstash
LOGSTASH_SERVER_HOST=localhost
LOGSTASH_SERVER_PORT=9600
LOGSTASH_UDP_SERVER_PORT=9601
LOGSTASH_TCP_SERVER_PORT=9602
REDIS_SERVER=redis-server
REDIS_SERVER_HOST=localhost
REDIS_SERVER_PORT=6379
#REDIS_SERVER_PASSWORD=passw0rd
RABBITMQ_SERVER=rabbit-server
RABBITMQ_SERVER_HOST=localhost
RABBITMQ_PORT=5672
RABBITMQ_MGNT_PORT=15672
RABBITMQ_USER=test
RABBITMQ_PASSWORD=test
CONFIG_SERVER=config-server
CONFIG_SERVER_HOST=localhost
CONFIG_SERVER_PORT=7001
CONFIG_SERVER_USER=admin
CONFIG_SERVER_PWD=passw0rd
CONFIG_FILE_PATH=file:/opt/java/workspace/xproject/config
ZIPKIN_SERVER=zipkin-server
ZIPKIN_SERVER_PORT=7777
ZIPKIN_MYSQL_SERVER=zipkin-mysql
ZIPKIN_MYSQL_SERVER_HOST=localhost
ZIPKIN_MYSQL_PORT=3306
ZIPLIN_MYSQL_DB=db_zipkin
ZIPKIN_MYSQL_USER=demo
ZIPKIN_MYSQL_PASSWORD=demo
AUTH_SERVER_HOST=10.67.13.168
AUTH_SERVER=auth-server
AUTH_SERVER_PORT=9999
AUTH_SERVER_ADMIN_USER=admin
AUTH_SERVER_ADMIN_PASSWORD=passw0rd
# AUTH_SERVER_TOKEN_KEY_PASSWORD=passw0rd
# AUTH_SERVER_TOKEN_STORE_PASSWORD=passw0rd
# AUTH_SERVER_TOKEN_SIGNINGKEY_PASSWORD=passw0rd
AUTH_MYSQL_SERVER=auth-mysql
AUTH_MYSQL_SERVER_HOST=localhost
AUTH_MYSQL_PORT=3306
AUTH_MYSQL_DB=db_auth
AUTH_MYSQL_USER=demo
AUTH_MYSQL_PASSWORD=demo
DATACENTER=dc01
ENVIRONMENT=env01
EUREKA_SERVER=eureka-server
EUREKA_SERVER01=eureka01
EUREKA_SERVER02=eureka02
SERVER_HOST_EUREKA01=localhost
SERVER_HOST_EUREKA02=localhost
SERVER_PORT_EUREKA01=8001
SERVER_PORT_EUREKA02=8002
ZUUL_SERVER=zuul-server
ZUUL_SERVER_PORT=5555
HYSTRIX_DASHBOARD_SERVER=hystrix-dashboard
HYSTRIX_DASHBOARD_SERVER_PORT=8088
TURBINE_SERVER=turbine-server
TURBINE_SERVER_MANAGEMENT_PORT=8989
TURBINE_SERVER_PORT=8990
# CORE_SERVICE
PRODUCT_SERVICE=product-service
REVIEW_SERVICE=review-service
# COMPOSITE_SERVICE
PRODUCT_COMPOSITE_SERVICE=product-composite-service
# API_SERVICE
PRODUCT_API_SERVICE=product-api-service
# DOCKER_COMPOSE: HEALTH_CHECK
# https://github.com/docker/compose/issues/5109
# https://github.com/docker/compose/issues/2730
# https://github.com/docker/compose/issues/4804
INTERVAL=10s
TIMEOUT=10s
#RETRIES=10
# JAVA_OPTIONS: Added By ENV Manual
# -Dfile.encoding=UTF-8
JAVA_TOOL_OPTIONS="-Xms128m -Xmx128m"
JAVA_TOOL_OPTIONS_CLIENT_STORE="-Xms128m -Xmx128m -Djavax.net.ssl.trustStore=/opt/java/workspace/xproject/config/key/client.truststore -Djavax.net.ssl.trustStorePassword=${CLIENT_TRUST_STORE_PASSWORD}"
#export JAVA_OPTS="\
# -Dcom.sun.management.jmxremote.local.only=false \
# -Dcom.sun.management.jmxremote=true \
# -Dcom.sun.management.jmxremote.authenticate=false \
# -Dcom.sun.management.jmxremote.ssl=false \
# -Djava.rmi.server.hostname=$(hostname -i) \
# -Dcom.sun.management.jmxremote.port=8888 \
# -Dcom.sun.management.jmxremote.rmi.port=8889"