-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapplication.properties
More file actions
25 lines (21 loc) · 937 Bytes
/
Copy pathapplication.properties
File metadata and controls
25 lines (21 loc) · 937 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# IN-MEMORY DATABASE FOR EASY RUNNING
spring.datasource.url=jdbc:h2:mem:foundit_db
spring.datasource.driverClassName=org.h2.Driver
spring.datasource.username=sa
spring.datasource.password=
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
spring.h2.console.enabled=true
server.port=${PORT:8081}
# Keep your tables building automatically
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true
# File Upload Limits
spring.servlet.multipart.max-file-size=10MB
spring.servlet.multipart.max-request-size=100MB
# Gemini AI API Key
gemini.api.key=${GEMINI_API_KEY}
# Google OAuth2 Configuration
spring.security.oauth2.client.registration.google.client-id=${GOOGLE_CLIENT_ID}
# Use your REAL Google Secret here so login works on your laptop
spring.security.oauth2.client.registration.google.client-secret=${GOOGLE_CLIENT_SECRET}
spring.security.oauth2.client.registration.google.scope=profile, email