Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
H-Yeji committed Oct 29, 2024
1 parent 3cbe742 commit 4015428
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion backend/live/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
ENTRYPOINT ["java", "-jar", "app.jar", "--spring.profiles.active=prod"]
6 changes: 3 additions & 3 deletions backend/live/src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion backend/member/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
ENTRYPOINT ["java", "-jar", "app.jar", "--spring.profiles.active=prod"]
6 changes: 3 additions & 3 deletions backend/member/src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion backend/order/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
ENTRYPOINT ["java", "-jar", "app.jar", "--spring.profiles.active=prod"]
6 changes: 3 additions & 3 deletions backend/order/src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion backend/product/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
ENTRYPOINT ["java", "-jar", "app.jar", "--spring.profiles.active=prod"]
6 changes: 3 additions & 3 deletions backend/product/src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 4015428

Please sign in to comment.