-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ๐chore: yml ์์ * ๐chore: plain jar ํ์ผ ์ค์ * ๐[CI/CD] ๊ณต๋ฐฑ ์๋ฌ ์์ #8 * ๐[CI/CD] ์คํ ์์ #8 * ๐docs: ๋์ปคํ์ผ ์์ * ๐docs: ๋์ปคํ์ผ ์์ * ๐docs: ๋์ปคํ์ผ ์์ * ๐[CI/CD] CI/CD ์์ * ๐[CI/CD] CI/CD ์์ --------- Co-authored-by: marooo326 <[email protected]>
- Loading branch information
1 parent
f638f25
commit 1f7a38e
Showing
6 changed files
with
74 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
FROM openjdk:17-jdk | ||
ARG JAR_FILE=build/libs/*.jar | ||
ARG JAR_FILE=./build/libs/*.jar | ||
COPY ${JAR_FILE} app.jar | ||
COPY src/main/resources/static /app/static | ||
ENTRYPOINT ["java", "-Dspring.profiles.active=docker", "-jar", "app.jar"] | ||
ENTRYPOINT ["java", "-Dspring.profiles.active=docker", "-jar", "/app.jar"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,3 +59,8 @@ dependencies { | |
tasks.named('test') { | ||
useJUnitPlatform() | ||
} | ||
|
||
// enable plain.jar | ||
jar{ | ||
enabled=false | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,28 @@ | ||
server: | ||
port: 8080 | ||
|
||
spring: | ||
profiles: | ||
active: local | ||
datasource: | ||
driver-class-name: org.postgresql.Driver | ||
url: jdbc:postgresql://localhost:5432/test | ||
username: root | ||
password: root | ||
|
||
jpa: | ||
database: postgresql | ||
hibernate: | ||
ddl-auto: update | ||
open-in-view: false | ||
show-sql: true | ||
generate-ddl: true | ||
|
||
jwt: | ||
secret: "dkqorhvmekgkwlaksdltlrksdpanjfajrdmausdksehlrpTwlckawk" | ||
token: | ||
access-expiration-time: 43200 | ||
refresh-expiration-time: 604800 | ||
|
||
data: | ||
redis: | ||
host: localhost | ||
port: 6379 |