2023-04-06 09:12:49 +00:00
|
|
|
# SERVICE
|
|
|
|
SERVICE_URL=0.0.0.0
|
|
|
|
SERVICE_PORT=5005
|
|
|
|
|
2023-08-24 13:09:12 +00:00
|
|
|
# PRISMA
|
|
|
|
DATABASE_URL="postgresql://mobicoop:mobicoop@v3-db:5432/mobicoop?schema=public"
|
|
|
|
|
|
|
|
# MESSAGE BROKER
|
2023-12-18 14:49:44 +00:00
|
|
|
MESSAGE_BROKER_URI=amqp://mobicoop:mobicoop@v3-broker:5672
|
2023-08-24 13:09:12 +00:00
|
|
|
MESSAGE_BROKER_EXCHANGE=mobicoop
|
|
|
|
|
|
|
|
# REDIS
|
|
|
|
REDIS_HOST=v3-redis
|
|
|
|
REDIS_PASSWORD=redis
|
|
|
|
REDIS_PORT=6379
|
|
|
|
|
2023-08-24 13:12:58 +00:00
|
|
|
# IMAGES
|
|
|
|
BROKER_IMAGE=rabbitmq:3-alpine
|
|
|
|
REDIS_IMAGE=redis:7.0-alpine
|
2023-08-24 13:17:30 +00:00
|
|
|
POSTGRES_IMAGE=postgis/postgis:15-3.3
|
2023-08-24 13:12:58 +00:00
|
|
|
|
2023-05-23 14:56:01 +00:00
|
|
|
# DEFAULT CONFIGURATION
|
|
|
|
|
|
|
|
# default identifier used for match requests
|
|
|
|
DEFAULT_UUID=00000000-0000-0000-0000-000000000000
|
|
|
|
# default number of seats proposed as driver
|
|
|
|
DEFAULT_SEATS=3
|
|
|
|
# algorithm type
|
|
|
|
ALGORITHM=CLASSIC
|
|
|
|
# strict algorithm (if relevant with the algorithm type)
|
|
|
|
# if set to true, matches are made so that
|
|
|
|
# punctual ads match only with punctual ads and
|
|
|
|
# recurrent ads match only with recurrent ads
|
|
|
|
STRICT_ALGORITHM=0
|
|
|
|
# max distance in metres between driver
|
|
|
|
# route and passenger pick-up / drop-off
|
|
|
|
REMOTENESS=15000
|
|
|
|
# use passenger proportion
|
|
|
|
USE_PROPORTION=1
|
|
|
|
# minimal driver proportion
|
|
|
|
PROPORTION=0.3
|
|
|
|
# use azimuth calculation
|
|
|
|
USE_AZIMUTH=1
|
|
|
|
# azimuth margin
|
|
|
|
AZIMUTH_MARGIN=10
|
|
|
|
# margin duration in seconds
|
|
|
|
MARGIN_DURATION=900
|
|
|
|
# default validity duration (in days) for recurrent proposals
|
|
|
|
VALIDITY_DURATION=365
|
|
|
|
# max detour ratio
|
|
|
|
MAX_DETOUR_DISTANCE_RATIO=0.3
|
|
|
|
MAX_DETOUR_DURATION_RATIO=0.3
|
|
|
|
# gerouter type
|
|
|
|
GEOROUTER_TYPE=graphhopper
|
|
|
|
# georouter url
|
|
|
|
GEOROUTER_URL=http://localhost:8989
|
|
|
|
|
|
|
|
|
2023-04-06 09:12:49 +00:00
|
|
|
|