2023-01-25 14:16:13 +00:00
|
|
|
# SERVICE
|
|
|
|
SERVICE_URL=0.0.0.0
|
|
|
|
SERVICE_PORT=5003
|
2023-04-04 08:30:37 +00:00
|
|
|
HEALTH_SERVICE_PORT=6003
|
2023-01-25 14:16:13 +00:00
|
|
|
|
2023-10-19 15:16:05 +00:00
|
|
|
# MESSAGE BROKER
|
|
|
|
MESSAGE_BROKER_URI=amqp://v3-broker:5672
|
|
|
|
MESSAGE_BROKER_EXCHANGE=mobicoop
|
|
|
|
MESSAGE_BROKER_EXCHANGE_DURABILITY=true
|
2023-10-24 09:21:45 +00:00
|
|
|
|
2023-10-24 13:47:11 +00:00
|
|
|
# REDIS
|
|
|
|
REDIS_HOST=v3-redis
|
|
|
|
REDIS_PASSWORD=redis
|
|
|
|
REDIS_PORT=6379
|
2023-10-24 09:21:45 +00:00
|
|
|
|
|
|
|
# DEFAULT CONFIGURATION
|
|
|
|
|
2023-11-10 15:17:08 +00:00
|
|
|
# AUTH
|
2023-11-15 08:48:10 +00:00
|
|
|
# encryption algorithm : BCRYPT / ARGON2I / ARGON2D / ARGON2ID
|
2023-11-10 15:17:08 +00:00
|
|
|
ENCRYPTION_ALGORITHM=BCRYPT
|
|
|
|
|
2023-10-24 09:21:45 +00:00
|
|
|
# CARPOOL
|
|
|
|
# default carpool departure time margin (in seconds)
|
|
|
|
DEPARTURE_TIME_MARGIN=900
|
2023-10-31 08:14:07 +00:00
|
|
|
# default validity duration (in days) for recurrent ads
|
|
|
|
RECURRENT_AD_VALIDITY_DURATION=365
|
2023-10-24 09:21:45 +00:00
|
|
|
# default role
|
|
|
|
ROLE=passenger
|
|
|
|
# seats proposed as driver / requested as passenger
|
|
|
|
SEATS_PROPOSED=3
|
|
|
|
SEATS_REQUESTED=1
|
|
|
|
# accept only same frequency requests
|
|
|
|
STRICT_FREQUENCY=false
|
|
|
|
|
2023-10-31 08:14:07 +00:00
|
|
|
# MATCH
|
|
|
|
# algorithm type
|
|
|
|
ALGORITHM=PASSENGER_ORIENTED
|
|
|
|
# max distance in metres between driver
|
|
|
|
# route and passenger pick-up / drop-off
|
|
|
|
REMOTENESS=15000
|
|
|
|
# use passenger proportion
|
|
|
|
USE_PROPORTION=true
|
|
|
|
# minimal driver proportion
|
|
|
|
PROPORTION=0.3
|
|
|
|
# use azimuth calculation
|
|
|
|
USE_AZIMUTH=true
|
|
|
|
# azimuth margin
|
|
|
|
AZIMUTH_MARGIN=10
|
|
|
|
# margin duration in seconds
|
|
|
|
MARGIN_DURATION=900
|
|
|
|
# max detour ratio
|
|
|
|
MAX_DETOUR_DISTANCE_RATIO=0.3
|
|
|
|
MAX_DETOUR_DURATION_RATIO=0.3
|
|
|
|
|
2023-10-31 14:28:47 +00:00
|
|
|
# GEOROUTER
|
|
|
|
GEOROUTER_TYPE=graphhopper
|
2023-10-31 21:41:42 +00:00
|
|
|
GEOROUTER_URL=http://localhost:8989
|
2023-10-31 14:28:47 +00:00
|
|
|
|
2023-10-24 09:21:45 +00:00
|
|
|
# PAGINATION
|
|
|
|
# number of results per page
|
|
|
|
PER_PAGE=10
|