-
Notifications
You must be signed in to change notification settings - Fork 3
develop -> main #163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
develop -> main #163
Changes from all commits
21480de
a47f06b
6f356b0
dee1f21
d0161a8
75ef683
adfcf8c
ae8647c
ac2c09a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -36,4 +36,4 @@ out/ | |
| ### VS Code ### | ||
| .vscode/ | ||
|
|
||
| application-*.yml | ||
| src/main/resources/application-private.yml | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| server: | ||
| port: 8080 | ||
|
|
||
| spring: | ||
| datasource: | ||
| url: ${PROD_DB_URL} | ||
| username: ${PROD_DB_USERNAME} | ||
| password: ${PROD_DB_PASSWORD} | ||
| driver-class-name: com.mysql.cj.jdbc.Driver | ||
|
|
||
| jpa: | ||
| hibernate: | ||
| ddl-auto: update | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Using ddl-auto: validate |
||
| properties: | ||
| hibernate: | ||
| dialect: org.hibernate.dialect.MySQL8Dialect | ||
|
|
||
| cors: | ||
| allowed-origins: https://crew-wiki.site, https://api.crew-wiki.site | ||
|
|
||
| swagger: | ||
| server-url: https://api.crew-wiki.site | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| spring: | ||
| profiles: | ||
| include: private | ||
| active: local # prod (배포 환경) | ||
| active: local # 기본 로컬 실행 프로필 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing the ignore pattern from
application-*.ymlto onlysrc/main/resources/application-private.ymlmeans other environment-specific configuration files (such asapplication-local.ymlor other custom configuration files) are no longer ignored. This increases the risk of developers accidentally committing sensitive credentials or local configurations to the repository. It is safer to keep the wildcard pattern or explicitly ignore other potential configuration files.