diff --git a/.env.dist b/.env.dist index dc8af99..b0a4889 100644 --- a/.env.dist +++ b/.env.dist @@ -7,7 +7,7 @@ HEALTH_SERVICE_PORT=6005 # DEFAULT CONFIGURATION # default identifier used for match requests -DEFAULT_IDENTIFIER=0 +DEFAULT_UUID=00000000-0000-0000-0000-000000000000 # default timezone DEFAULT_TIMEZONE=Europe/Paris # default number of seats proposed as driver @@ -37,6 +37,10 @@ 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 # PRISMA DATABASE_URL="postgresql://mobicoop:mobicoop@v3-db:5432/mobicoop?schema=matcher" diff --git a/ci/.env.ci b/ci/.env.ci index ad12515..31fb4a2 100644 --- a/ci/.env.ci +++ b/ci/.env.ci @@ -2,6 +2,45 @@ SERVICE_URL=0.0.0.0 SERVICE_PORT=5005 +# DEFAULT CONFIGURATION + +# default identifier used for match requests +DEFAULT_UUID=00000000-0000-0000-0000-000000000000 +# default timezone +DEFAULT_TIMEZONE=Europe/Paris +# 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 + + # PRISMA DATABASE_URL="postgresql://mobicoop:mobicoop@v3-db:5432/mobicoop?schema=public"