diff --git a/OrderProcessingAPI/docker-compose.yml b/OrderProcessingAPI/docker-compose.yml index 0385287..0381b1c 100644 --- a/OrderProcessingAPI/docker-compose.yml +++ b/OrderProcessingAPI/docker-compose.yml @@ -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 diff --git a/RestaurantManagementAPI/docker-compose.yml b/RestaurantManagementAPI/docker-compose.yml index 79f7328..579dc52 100644 --- a/RestaurantManagementAPI/docker-compose.yml +++ b/RestaurantManagementAPI/docker-compose.yml @@ -6,8 +6,6 @@ services: image: mongo:7.0.6 volumes: - mongo_data:/data/mongo - ports: - - "27017:27017" restart: unless-stopped restaurant_management_api: @@ -18,7 +16,7 @@ services: environment: MONGO_DB_URI: mongodb://mongo_db:27017/restaurant_db ports: - - "8081:8080" + - "8082:8080" depends_on: - mongo_db diff --git a/RestaurantManagementAPI/src/main/resources/application.properties b/RestaurantManagementAPI/src/main/resources/application.properties index a3d93dc..5d20b09 100644 --- a/RestaurantManagementAPI/src/main/resources/application.properties +++ b/RestaurantManagementAPI/src/main/resources/application.properties @@ -1,2 +1,2 @@ -quarkus.mongodb.connection-string = mongodb://localhost:27017 +quarkus.mongodb.connection-string = ${MONGO_DB_URI} quarkus.mongodb.database = restaurant_db \ No newline at end of file diff --git a/UserManagementAPI/docker-compose.yml b/UserManagementAPI/docker-compose.yml index 9a397cb..b1d684e 100644 --- a/UserManagementAPI/docker-compose.yml +++ b/UserManagementAPI/docker-compose.yml @@ -6,8 +6,6 @@ services: image: mongo:7.0.6 volumes: - mongo_data:/data/mongo - ports: - - "27017:27017" restart: unless-stopped user_management_api: @@ -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