-
Notifications
You must be signed in to change notification settings - Fork 4
/
.env
145 lines (117 loc) · 3.24 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
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
DEV_API_KEY=apikey-dev
# jwt configuration
JWT_SECRET=2d3297fc872a84564f0d5c71b2341f086a41646cb9eb03be3d5cdc2af082a5618055527b4150b6347be4e8bd162ebf890d6a832dfb7b010881f1e11b6b89b530
JWT_REFRESH_SECRET=90073764fec01e02846d17ecc5dd7a46bc78f150e36562a91a9418ca7272bcb4bea3d1ff04df5d5189fce8c159ff74ffd831c6408cdeee5b4a6551a7b6a9f9d1
KAFKA_HOST_1=revue-kafka-1
KAFKA_PORT_1=9092
KAFKA_HOST_2=revue-kafka-2
KAFKA_PORT_2=9093
ZOOKEEPER_PORT_1=2181
ZOOKEEPER_PORT_2=2182
# Services bearer token for internal communication
AUTH_BEARER_TOKEN=auth-bearer-token
USER_BEARER_TOKEN=notification-bearer-token
DEVICE_BEARER_TOKEN=notification-bearer-token
LOCATION_BEARER_TOKEN=notification-bearer-token
MONITORING_BEARER_TOKEN=monitoring-bearer-token
ALARM_BEARER_TOKEN=alarm-bearer-token
LOG_BEARER_TOKEN=log-bearer-token
NOTIFICATION_BEARER_TOKEN=notification-bearer-token
RECOGNITION_BEARER_TOKEN=recognition-bearer-token
# Devices bearer token
SENSOR_BEARER_TOKEN=sen-bearer-token
CAMERA_BEARER_TOKEN=cam-bearer-token
# Kafka external for development
KAFKA_EXTERNAL_HOST_1=localhost
KAFKA_EXTERNAL_PORT_1=9094
KAFKA_EXTERNAL_HOST_2=localhost
KAFKA_EXTERNAL_PORT_2=9095
# Database default port
DEFAULT_DB_PORT=27017
# Alarm
ALARM_PORT=4002
ALARM_HOST=revue-alarm
ALARM_DB_PORT=27017
ALARM_DB_USERNAME=root
ALARM_DB_PASSWORD=example
ALARM_DB_HOST=revue-alarm-db
ALARM_DB_NAME=alarm
# Auth
AUTH_PORT=4000
AUTH_HOST=revue-auth
AUTH_DB_PORT=27018
AUTH_DB_USERNAME=root
AUTH_DB_PASSWORD=example
AUTH_DB_HOST=revue-auth-db
AUTH_DB_NAME=auth
# Device
DEVICE_PORT=4007
DEVICE_HOST=revue-device
DEVICE_DB_PORT=27019
DEVICE_DB_USERNAME=root
DEVICE_DB_PASSWORD=example
DEVICE_DB_HOST=revue-device-db
DEVICE_DB_NAME=device
# Location
LOCATION_PORT=4008
LOCATION_HOST=revue-location
LOCATION_DB_PORT=27020
LOCATION_DB_USERNAME=root
LOCATION_DB_PASSWORD=example
LOCATION_DB_HOST=revue-location-db
LOCATION_DB_NAME=location
# Log
LOG_PORT=4003
LOG_HOST=revue-log
LOG_DB_PORT=27021
LOG_DB_USERNAME=root
LOG_DB_PASSWORD=example
LOG_DB_HOST=revue-log-db
LOG_DB_NAME=log
# Monitoring
MONITORING_PORT=4001
MONITORING_HOST=revue-monitoring
# Notification
NOTIFICATION_PORT=4004
NOTIFICATION_HOST=revue-notification
NOTIFICATION_DB_PORT=27022
NOTIFICATION_DB_USERNAME=root
NOTIFICATION_DB_PASSWORD=example
NOTIFICATION_DB_HOST=revue-notification-db
NOTIFICATION_DB_NAME=notification
# Recognition
RECOGNITION_PORT=4005
RECOGNITION_HOST=revue-recognition
# User
USER_PORT=4006
USER_HOST=revue-user
USER_DB_PORT=27023
USER_DB_USERNAME=root
USER_DB_PASSWORD=example
USER_DB_HOST=revue-user-db
USER_DB_NAME=user
# Media Server
# Static ip for the media server #revue-media-server
MEDIA_SERVER_HOST=172.25.0.50
MEDIA_SERVER_RTSP_PORT=8554
# Frontend
FRONTEND_PORT=8080
FRONTEND_HOST=revue-frontend
VITE_AUTH_HOST=auth
VITE_AUTH_PORT=${AUTH_PORT}
VITE_USER_HOST=user
VITE_USER_PORT=${USER_PORT}
VITE_LOCATION_HOST=location
VITE_LOCATION_PORT=${LOCATION_PORT}
VITE_ALARM_HOST=alarm
VITE_ALARM_PORT=${ALARM_PORT}
VITE_DEVICE_HOST=device
VITE_DEVICE_PORT=${DEVICE_PORT}
VITE_MONITORING_HOST=monitoring
VITE_MONITORING_PORT=${MONITORING_PORT}
VITE_NOTIFICATION_HOST=notification
VITE_NOTIFICATION_PORT=${NOTIFICATION_PORT}
VITE_LOG_HOST=log
VITE_LOG_PORT=${LOG_PORT}
VITE_MEDIA_SERVER_HOST=media-server
VITE_MEDIA_SERVER_PORT=8554