upgrade graphhopper api params, secure broker
This commit is contained in:
parent
d172cac7f4
commit
3aaccfa48f
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 => {
|
||||
|
|
Loading…
Reference in New Issue