Skip to content

Commit 4bf5606

Browse files
chore: update application.yml to adjust database configuration and refine Flyway, cookie, and logging settings
1 parent 0014c21 commit 4bf5606

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/main/resources/application.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ spring:
33
name: AiFoodApp
44

55
datasource:
6-
url: ${DB_URL:jdbc:postgresql://localhost:5431/foodDB}
7-
username: ${DB_USERNAME:foodappadm}
8-
password: ${DB_PASSWORD:foodappadminconnectpass}
6+
url: jdbc:postgresql://fodoappadmin:B0KxKObuFE6Jq3THpPA22AknbeRXliaq@dpg-d2vnjr8dl3ps739ckk80-a/food_db_bqej
7+
username: ${DB_USERNAME}
8+
password: ${DB_PASSWORD}
99
driver-class-name: org.postgresql.Driver
1010
hikari:
1111
connection-timeout: 20000
@@ -26,7 +26,6 @@ spring:
2626
enabled: true
2727
locations: classpath:db/migration
2828
baseline-on-migrate: true
29-
out-of-order: true # Added to allow out of order migrations if needed
3029
validate-on-migrate: true
3130

3231
# Spring Session Configuration for persistent token storage
@@ -44,7 +43,6 @@ spring:
4443
http-only: true
4544
same-site: ${COOKIE_SAME_SITE:none} # 'lax' works best for OAuth2 flows, use 'strict' only if necessary
4645
# Remove leading dot if present - Spring Security doesn't accept domains starting with dot
47-
domain: ${COOKIE_DOMAIN:aifoodapp.site}
4846

4947
# Google OAuth2 Configuration
5048
security:
@@ -90,7 +88,7 @@ app:
9088
debug:
9189
enabled: ${APP_DEBUG_ENABLED:false} # Enable debug features only when explicitly set
9290

93-
# Logging
91+
# Loggingout
9492
logging:
9593
level:
9694
org.springframework.security: DEBUG

0 commit comments

Comments
 (0)