2023-04-06 09:12:49 +00:00
|
|
|
# SERVICE
|
|
|
|
SERVICE_URL=0.0.0.0
|
|
|
|
SERVICE_PORT=5005
|
|
|
|
SERVICE_CONFIGURATION_DOMAIN=MATCHER
|
|
|
|
HEALTH_SERVICE_PORT=6005
|
|
|
|
|
2023-08-16 10:28:20 +00:00
|
|
|
# PRISMA
|
|
|
|
DATABASE_URL="postgresql://mobicoop:mobicoop@v3-db:5432/mobicoop?schema=matcher"
|
|
|
|
|
|
|
|
# MESSAGE BROKER
|
|
|
|
MESSAGE_BROKER_URI=amqp://v3-broker:5672
|
|
|
|
MESSAGE_BROKER_EXCHANGE=mobicoop
|
2023-10-18 08:21:43 +00:00
|
|
|
MESSAGE_BROKER_EXCHANGE_DURABILITY=true
|
2023-08-16 10:28:20 +00:00
|
|
|
|
|
|
|
# REDIS
|
|
|
|
REDIS_HOST=v3-redis
|
|
|
|
REDIS_PASSWORD=redis
|
|
|
|
REDIS_PORT=6379
|
2023-09-28 09:03:56 +00:00
|
|
|
REDIS_MATCHING_KEY=MATCHER:MATCHING
|
|
|
|
REDIS_MATCHING_TTL=900
|
2023-08-16 10:28:20 +00:00
|
|
|
|
|
|
|
# CACHE
|
|
|
|
CACHE_TTL=5000
|
|
|
|
|
2023-04-12 06:47:38 +00:00
|
|
|
# DEFAULT CONFIGURATION
|
2023-04-12 12:59:25 +00:00
|
|
|
|
|
|
|
# algorithm type
|
2023-08-29 15:28:38 +00:00
|
|
|
ALGORITHM=PASSENGER_ORIENTED
|
2023-04-12 12:59:25 +00:00
|
|
|
# max distance in metres between driver
|
|
|
|
# route and passenger pick-up / drop-off
|
|
|
|
REMOTENESS=15000
|
|
|
|
# use passenger proportion
|
2023-08-29 15:28:38 +00:00
|
|
|
USE_PROPORTION=true
|
2023-04-12 12:59:25 +00:00
|
|
|
# minimal driver proportion
|
|
|
|
PROPORTION=0.3
|
|
|
|
# use azimuth calculation
|
2023-08-29 15:28:38 +00:00
|
|
|
USE_AZIMUTH=true
|
2023-04-12 12:59:25 +00:00
|
|
|
# azimuth margin
|
|
|
|
AZIMUTH_MARGIN=10
|
|
|
|
# margin duration in seconds
|
2023-04-12 06:47:38 +00:00
|
|
|
MARGIN_DURATION=900
|
2023-04-12 12:59:25 +00:00
|
|
|
# default validity duration (in days) for recurrent proposals
|
2023-04-12 06:47:38 +00:00
|
|
|
VALIDITY_DURATION=365
|
2023-04-12 12:59:25 +00:00
|
|
|
# max detour ratio
|
|
|
|
MAX_DETOUR_DISTANCE_RATIO=0.3
|
|
|
|
MAX_DETOUR_DURATION_RATIO=0.3
|
2023-05-23 14:56:01 +00:00
|
|
|
# gerouter type
|
|
|
|
GEOROUTER_TYPE=graphhopper
|
|
|
|
# georouter url
|
|
|
|
GEOROUTER_URL=http://localhost:8989
|
2023-09-27 06:57:34 +00:00
|
|
|
# default carpool departure time margin (in seconds)
|
2023-08-29 15:28:38 +00:00
|
|
|
DEPARTURE_TIME_MARGIN=900
|
2023-09-27 06:57:34 +00:00
|
|
|
# default role
|
2023-08-29 15:28:38 +00:00
|
|
|
ROLE=passenger
|
2023-09-27 06:57:34 +00:00
|
|
|
# seats proposes as driver / requested as passenger
|
2023-08-29 15:28:38 +00:00
|
|
|
SEATS_PROPOSED=3
|
|
|
|
SEATS_REQUESTED=1
|
2023-09-27 06:57:34 +00:00
|
|
|
# accept only same frequency requests
|
2023-08-29 15:28:38 +00:00
|
|
|
STRICT_FREQUENCY=false
|
|
|
|
# default timezone
|
2023-09-26 12:03:34 +00:00
|
|
|
TIMEZONE=Europe/Paris
|
2023-09-27 06:57:34 +00:00
|
|
|
# number of matching results per page
|
|
|
|
PER_PAGE=10
|