Skip to content

Commit

Permalink
�fix: dockerFile과 compose 파일에 aws 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
Sinyoung3016 committed Jan 30, 2023
1 parent b36d672 commit 7340ab6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ JWT_ISSUER=${JWT_ISSUER} \
JWT_SECRET_KEY=${JWT_SECRET_KEY} \
CLIENT_ID=${CLIENT_ID} \
CLIENT_SECRET=${CLIENT_SECRET} \
REDIRECT_URI=${REDIRECT_URI}
REDIRECT_URI=${REDIRECT_URI} \
AWS_ACCESS_KEY=${AWS_ACCESS_KEY} \
AWS_SECRET_KEY=${AWS_SECRET_KEY}
COPY ${JAR_FILE} prolog.jar
ENTRYPOINT ["java", "-jar", "/prolog.jar"]
4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ services:
JWT_SECRET_KEY: ${JWT_SECRET_KEY}
CLIENT_ID: ${CLIENT_ID}
CLIENT_SECRET: ${CLIENT_SECRET}
AWS_ACCESS_KEY: ${AWS_ACCESS_KEY}
AWS_SECRET_KEY: ${AWS_SECRET_KEY}
green:
container_name: green
image: fortune00/prolog
Expand All @@ -55,3 +57,5 @@ services:
JWT_SECRET_KEY: ${JWT_SECRET_KEY}
CLIENT_ID: ${CLIENT_ID}
CLIENT_SECRET: ${CLIENT_SECRET}
AWS_ACCESS_KEY: ${AWS_ACCESS_KEY}
AWS_SECRET_KEY: ${AWS_SECRET_KEY}

0 comments on commit 7340ab6

Please sign in to comment.