Skip to content

Commit

Permalink
Update docker-compose files
Browse files Browse the repository at this point in the history
  • Loading branch information
blaz-cerpnjak committed Mar 27, 2024
1 parent 2eb4bd6 commit b5d600c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion OrderProcessingAPI/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ services:
MONGO_DB_URI: mongodb://mongo_db:27017/orders_system_db
RABBITMQ_HOST: rabbitmq_container
ports:
- "8080:8080"
- "8083:8080"
- "9000:9000"
depends_on:
- mongo_db
Expand Down
4 changes: 1 addition & 3 deletions RestaurantManagementAPI/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ services:
image: mongo:7.0.6
volumes:
- mongo_data:/data/mongo
ports:
- "27017:27017"
restart: unless-stopped

restaurant_management_api:
Expand All @@ -18,7 +16,7 @@ services:
environment:
MONGO_DB_URI: mongodb://mongo_db:27017/restaurant_db
ports:
- "8081:8080"
- "8082:8080"
depends_on:
- mongo_db

Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
quarkus.mongodb.connection-string = mongodb://localhost:27017
quarkus.mongodb.connection-string = ${MONGO_DB_URI}
quarkus.mongodb.database = restaurant_db
4 changes: 1 addition & 3 deletions UserManagementAPI/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ services:
image: mongo:7.0.6
volumes:
- mongo_data:/data/mongo
ports:
- "27017:27017"
restart: unless-stopped

user_management_api:
Expand All @@ -16,7 +14,7 @@ services:
environment:
MONGO_DB_URI: mongodb://mongo_db:27017/orders_system_db
ports:
- "8080:8080"
- "8081:8080"
depends_on:
- mongo_db

Expand Down

0 comments on commit b5d600c

Please sign in to comment.