-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env
77 lines (62 loc) · 1.95 KB
/
.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
#global config
TIMEZONE=Asia/Bangkok
DOCKER_HUB_ID=saigonparkingmap
SAIGON_PARKING_DOMAIN=https://saigonparking.wtf
#QR code config
QR_CODE_WIDTH=400
QR_CODE_HEIGHT=400
#connection information
DATABASE_HOST=parkingmap.crgtnrz6gvsl.ap-southeast-1.rds.amazonaws.com
DATABASE_PORT=1433
DATABASE_USER=sa
DATABASE_PASS=0506122076
MESSAGE_QUEUE_HOST=message-queue
MESSAGE_QUEUE_PORT=5672
MESSAGE_QUEUE_USERNAME=saigonparking
MESSAGE_QUEUE_PASSWORD=0506122076
SERVICE_DISCOVERY_HOST=service-discovery
SERVICE_DISCOVERY_PORT=8500
# version control
MESSAGE_QUEUE_VERSION=v2.5.2
SERVICE_DISCOVERY_VERSION=v2.5.2
MAIL_SERVICE_VERSION=v2.5.2
AUTH_SERVICE_VERSION=v2.5.2
USER_SERVICE_VERSION=v2.5.2
PARKING_LOT_SERVICE_VERSION=v2.5.2
CONTACT_SERVICE_VERSION=v2.5.2
BOOKING_SERVICE_VERSION=v2.5.2
# port config: local port != docker port
MESSAGE_QUEUE_MANAGEMENT_PORT=15672
SERVICE_DISCOVERY_DNS_PORT=8600
SERVICE_DISCOVERY_HTTP_PORT=8500
SERVICE_DISCOVERY_GRPC_PORT=8502
#microservices config
CONTACT_SERVICE_1_ID=contact-service-1
CONTACT_SERVICE_1_HOST=10.148.0.7
CONTACT_SERVICE_1_PORT=5555
CONTACT_SERVICE_1_HTTP_PORT=5050
CONTACT_SERVICE_2_ID=contact-service-2
CONTACT_SERVICE_2_HOST=10.148.0.7
CONTACT_SERVICE_2_PORT=5055
CONTACT_SERVICE_2_HTTP_PORT=5550
BOOKING_SERVICE_ID=booking-service-1
BOOKING_SERVICE_HOST=10.148.0.7
BOOKING_SERVICE_PORT=6666
AUTH_SERVICE_ID=auth-service-1
AUTH_SERVICE_HOST=10.148.0.7
AUTH_SERVICE_PORT=7777
USER_SERVICE_1_ID=user-service-1
USER_SERVICE_1_HOST=10.148.0.7
USER_SERVICE_1_PORT=8888
USER_SERVICE_2_ID=user-service-2
USER_SERVICE_2_HOST=10.148.0.7
USER_SERVICE_2_PORT=8088
PARKING_LOT_SERVICE_1_ID=parkinglot-service-1
PARKING_LOT_SERVICE_1_HOST=10.148.0.7
PARKING_LOT_SERVICE_1_PORT=9999
PARKING_LOT_SERVICE_2_ID=parkinglot-service-2
PARKING_LOT_SERVICE_2_HOST=10.148.0.7
PARKING_LOT_SERVICE_2_PORT=9099
# rabbit mq config
RABBITMQ_CONFIG_FILE=/etc/rabbitmq/rabbitmq.conf
RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS=-rabbit log[{console,[{level,error}]}]