diff --git a/backend/live/Dockerfile b/backend/live/Dockerfile index baf38a74..958ccf93 100644 --- a/backend/live/Dockerfile +++ b/backend/live/Dockerfile @@ -19,4 +19,4 @@ WORKDIR /app COPY --from=stage1 /app/build/libs/*.jar app.jar -ENTRYPOINT ["java", "-jar", "app.jar", "--spring.config.activate.on-profile=prod"] \ No newline at end of file +ENTRYPOINT ["java", "-jar", "app.jar", "--spring.profiles.active=prod"] \ No newline at end of file diff --git a/backend/live/src/main/resources/application-prod.yml b/backend/live/src/main/resources/application-prod.yml index 073c2ca0..25963684 100644 --- a/backend/live/src/main/resources/application-prod.yml +++ b/backend/live/src/main/resources/application-prod.yml @@ -2,9 +2,9 @@ server: port: 0 spring: - config: - activate: - on-profile: prod +# config: +# activate: +# on-profile: prod # import: application-secret.properties application: name: live-service diff --git a/backend/member/Dockerfile b/backend/member/Dockerfile index baf38a74..958ccf93 100644 --- a/backend/member/Dockerfile +++ b/backend/member/Dockerfile @@ -19,4 +19,4 @@ WORKDIR /app COPY --from=stage1 /app/build/libs/*.jar app.jar -ENTRYPOINT ["java", "-jar", "app.jar", "--spring.config.activate.on-profile=prod"] \ No newline at end of file +ENTRYPOINT ["java", "-jar", "app.jar", "--spring.profiles.active=prod"] \ No newline at end of file diff --git a/backend/member/src/main/resources/application-prod.yml b/backend/member/src/main/resources/application-prod.yml index b5c2a2f8..c7d8352e 100644 --- a/backend/member/src/main/resources/application-prod.yml +++ b/backend/member/src/main/resources/application-prod.yml @@ -2,9 +2,9 @@ server: port: 0 spring: - config: - activate: - on-profile: prod +# config: +# activate: +# on-profile: prod # import: application-secret.properties application: name: member-service diff --git a/backend/order/Dockerfile b/backend/order/Dockerfile index baf38a74..958ccf93 100644 --- a/backend/order/Dockerfile +++ b/backend/order/Dockerfile @@ -19,4 +19,4 @@ WORKDIR /app COPY --from=stage1 /app/build/libs/*.jar app.jar -ENTRYPOINT ["java", "-jar", "app.jar", "--spring.config.activate.on-profile=prod"] \ No newline at end of file +ENTRYPOINT ["java", "-jar", "app.jar", "--spring.profiles.active=prod"] \ No newline at end of file diff --git a/backend/order/src/main/resources/application-prod.yml b/backend/order/src/main/resources/application-prod.yml index ecfd2fef..b01f462c 100644 --- a/backend/order/src/main/resources/application-prod.yml +++ b/backend/order/src/main/resources/application-prod.yml @@ -2,9 +2,9 @@ server: port: 0 spring: - config: - activate: - on-profile: prod +# config: +# activate: +# on-profile: prod # import: application-secret.properties application: name: order-service diff --git a/backend/product/Dockerfile b/backend/product/Dockerfile index baf38a74..958ccf93 100644 --- a/backend/product/Dockerfile +++ b/backend/product/Dockerfile @@ -19,4 +19,4 @@ WORKDIR /app COPY --from=stage1 /app/build/libs/*.jar app.jar -ENTRYPOINT ["java", "-jar", "app.jar", "--spring.config.activate.on-profile=prod"] \ No newline at end of file +ENTRYPOINT ["java", "-jar", "app.jar", "--spring.profiles.active=prod"] \ No newline at end of file diff --git a/backend/product/src/main/resources/application-prod.yml b/backend/product/src/main/resources/application-prod.yml index 4efe7214..b1090e20 100644 --- a/backend/product/src/main/resources/application-prod.yml +++ b/backend/product/src/main/resources/application-prod.yml @@ -1,9 +1,9 @@ server: port: 0 spring: - config: - activate: - on-profile: prod +# config: +# activate: +# on-profile: prod # import: application-secret.properties application: name: product-service