-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env
48 lines (40 loc) · 1.53 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
# PARAMS FOR BOTH SERVICES
APP_DEBUG=true
APP_SHUTDOWN_TIMEOUT=22s
APP_DSN=https://10445b5245bc310875ef8167eba3904a@o4506218171793408.ingest.sentry.io/4506308115693568
HTTP_OTLP=jaeger-all-in-one:4317
# LOCATION SERVICE
LOCATION_SERVICE_NAME=location
LOCATION_PORT=8080
LOCATION_URL=http://location:${LOCATION_PORT}/api/v1/location
LOCATION_DB=location
LOCATION_DB_URL=postgresql
LOCATION_DB_USER=postgres
LOCATION_DB_PASSWORD=password
LOCATION_DB_MIGRATE=true
LOCATION_DB_POPULATE=true
LOCATION_DB_DSN=postgres://${LOCATION_DB_USER}:${LOCATION_DB_PASSWORD}@${LOCATION_DB_URL}:5432/${LOCATION_DB}?sslmode=disable
LOCATION_DB_MIGRATIONS_DIR=file://migrations/location
LOCATION_HTTP_SERVE_ADDRESS=:${LOCATION_PORT}
LOCATION_HTTP_SWAGGER_ADDRESS=location:${LOCATION_PORT}
LOCATION_HTTP_BASE_PATH=/api/v1/${LOCATION_SERVICE_NAME}
# DRIVER SERVICE
DRIVER_SERVICE_NAME=driver
DRIVER_PORT=8081
DRIVER_URL=http://driver:${DRIVER_PORT}
DRIVER_DB=driver
DRIVER_DB_URL=mongodb
DRIVER_DB_USER=mongodb
DRIVER_DB_PASSWORD=password
DRIVER_DB_MIGRATE=true
DRIVER_DB_POPULATE=false
DRIVER_DB_MIGRATIONS_DIR=file://migrations/driver
DRIVER_MONGO_URI=mongodb://${DRIVER_DB_USER}:${DRIVER_DB_PASSWORD}@${DRIVER_DB_URL}:27017/${DRIVER_DB}?authSource=admin
DRIVER_MONGO_MIGRATIONS_DIR=file://migrations/driver
DRIVER_KAFKA_BROKERS=kafka:9092
DRIVER_KAFKA_GROUP_ID=driver
DRIVER_KAFKA_TOPIC=driver
DRIVER_KAFKA_MAX_BYTES=2000000
DRIVER_HTTP_SERVE_ADDRESS=:${DRIVER_PORT}
DRIVER_HTTP_SWAGGER_ADDRESS=localhost:${DRIVER_PORT}
DRIVER_HTTP_BASE_PATH=/api/v1/${DRIVER_SERVICE_NAME}