Skip to content

Commit

Permalink
Release Prolog v1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Sinyoung3016 authored Jan 22, 2023
2 parents 069ceb6 + a88d4b5 commit cd555f9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-push-and-aws-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Docker Build and Push & Run AWS
on:
push:
branches:
- main
- develop

permissions:
contents: read
Expand Down
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ MYSQL_ROOT_PASSWORD=${SPRING_DATASOURCE_PASSWORD} \
JWT_ISSUER=${JWT_ISSUER} \
JWT_SECRET_KEY=${JWT_SECRET_KEY} \
CLIENT_ID=${CLIENT_ID} \
CLIENT_SECRET=${CLIENT_SECRET}
CLIENT_SECRET=${CLIENT_SECRET} \
REDIRECT_URI=${REDIRECT_URI}
COPY ${JAR_FILE} prolog.jar
ENTRYPOINT ["java", "-jar", "/prolog.jar"]
ENTRYPOINT ["java", "-jar", "/prolog.jar"]
3 changes: 1 addition & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ services:
SPRING_DATASOURCE_USERNAME: ${SPRING_DATASOURCE_USERNAME}
SPRING_DATASOURCE_PASSWORD: ${SPRING_DATASOURCE_PASSWORD}
SPRING_DATASOURCE_URL: ${SPRING_DATASOURCE_URL}
REDIRECT_URI: ${REDIRECT_URI}
JWT_ISSUER: ${JWT_ISSUER}
JWT_SECRET_KEY: ${JWT_SECRET_KEY}
CLIENT_ID: ${CLIENT_ID}
CLIENT_SECRET: ${CLIENT_SECRET}
SPRING_DATASOURCE_DRIVERCLASSNAME: com.mysql.cj.jdbc.Driver

2 changes: 1 addition & 1 deletion src/main/resources/application-security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spring:
client-id: ${CLIENT_ID}
client-secret: ${CLIENT_SECRET}
scope: profile_nickname, account_email
redirect-uri: "http://localhost:8080/login/oauth2/code/{registrationId}"
redirect-uri: ${REDIRECT_URI}
authorization-grant-type: authorization_code
client-authentication-method: POST
provider:
Expand Down

0 comments on commit cd555f9

Please sign in to comment.