upgrade graphhopper api params, secure broker

This commit is contained in:
Sylvain Briat 2023-12-18 15:49:44 +01:00
parent d172cac7f4
commit 3aaccfa48f
3 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ HEALTH_SERVICE_PORT=6005
DATABASE_URL="postgresql://mobicoop:mobicoop@v3-db:5432/mobicoop?schema=matcher"
# MESSAGE BROKER
MESSAGE_BROKER_URI=amqp://v3-broker:5672
MESSAGE_BROKER_URI=amqp://mobicoop:mobicoop@v3-broker:5672
MESSAGE_BROKER_EXCHANGE=mobicoop
MESSAGE_BROKER_EXCHANGE_DURABILITY=true

View File

@ -6,7 +6,7 @@ SERVICE_PORT=5005
DATABASE_URL="postgresql://mobicoop:mobicoop@v3-db:5432/mobicoop?schema=public"
# MESSAGE BROKER
MESSAGE_BROKER_URI=amqp://v3-broker:5672
MESSAGE_BROKER_URI=amqp://mobicoop:mobicoop@v3-broker:5672
MESSAGE_BROKER_EXCHANGE=mobicoop
# REDIS

View File

@ -55,7 +55,7 @@ export class GraphhopperGeorouter implements GeorouterPort {
};
private _setDefaultUrlArgs = (): void => {
this.urlArgs = ['vehicle=car', 'weighting=fastest', 'points_encoded=false'];
this.urlArgs = ['profile=car', 'points_encoded=false'];
};
private _setSettings = (settings: GeorouterSettings): void => {