Skip to content
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

Chore: Springboot web, jpa, lombok 의존성 추가 #7

Merged
merged 4 commits into from
Jul 21, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Chore: DB 연결 정보를 application.yml에 추가
WonSteps committed Jul 21, 2024
commit 4c66a6070db9af0ea1605271eb1520b51968711d
1 change: 0 additions & 1 deletion src/main/resources/application.properties

This file was deleted.

25 changes: 25 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
spring.application.name: run-us

spring:
jpa:
hibernate:
ddl-auto: none
show-sql: true
open-in-view: false

datasource:
driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://${DATABASE_HOST}:${DATABASE_PORT}/${DATABASE_NAME}
username: ${DATABASE_USER}
password: ${DATABASE_PASSWORD}

---
spring.config.activate.on-profile: local

spring:
jpa:
hibernate:
ddl-auto: update

---
spring.config.activate.on-profile: prod