Skip to content

Commit 9a28b09

Browse files
committed
Important fix to trip-management-cmd
1 parent 427038d commit 9a28b09

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,13 @@ services:
7171
- "15672:15672"
7272

7373
trip-management-cmd:
74-
image: aista/trip-management-query
74+
image: aista/trip-management-cmd
7575
container_name: trip-management-cmd
7676
environment:
7777
- RABBIT_HOST=rabbitmq
7878
- MONGO_HOST=mongo
7979
ports:
80-
- '8092:8092'
80+
- '8080'
8181
depends_on:
8282
- discovery-service
8383
- rabbitmq
@@ -90,7 +90,7 @@ services:
9090
- RABBIT_HOST=rabbitmq
9191
- MONGO_HOST=mongo
9292
ports:
93-
- '8093:8093'
93+
- '8080'
9494
depends_on:
9595
- rabbitmq
9696
- mongo

src/main/resources/application.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ eureka:
2323
registerWithEureka: true
2424
fetchRegistry: true
2525
serviceUrl:
26-
defaultZone: http://localhost:8761/eureka/
26+
defaultZone: http://discovery-service:8761/eureka/
2727

2828
---
2929
spring:

0 commit comments

Comments
 (0)