Skip to content

Commit

Permalink
feat :: Add env
Browse files Browse the repository at this point in the history
  • Loading branch information
HyunSu1768 committed Dec 2, 2023
1 parent ae5fc4b commit b8fd696
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,13 @@ FROM openjdk:17
EXPOSE 8888
COPY build/libs/Equus-Config-Server-0.0.1-SNAPSHOT.jar app.jar
ENTRYPOINT ["java", "-jar", "app.jar"]

ARG CONFIG_URI
ENV CONFIG_URI ${CONFIG_URI}

ARG CONFIG_USERNAME
ENV CONFIG_USERNAME ${CONFIG_USERNAME}

ARG CONFIG_PASSWORD
ENV CONFIG_PASSWORD ${CONFIG_PASSWORD}

1 change: 1 addition & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ management:

server:
port: 8888

0 comments on commit b8fd696

Please sign in to comment.