Legend:
- Unmodified
- Added
- Removed
-
jobvista-backend/src/main/resources/application.properties
r0f0add0 r4d97b63 2 2 3 3 spring.datasource.driver-class-name=org.postgresql.Driver 4 spring.datasource.url= jdbc:postgresql://localhost:5432/jobvistaDB5 spring.datasource.username= postgres6 spring.datasource.password= postgres4 spring.datasource.url=${db_url} 5 spring.datasource.username=${db_username} 6 spring.datasource.password=${db_password} 7 7 8 8 #spring.jpa.hibernate.ddl-auto=create-drop … … 12 12 spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect 13 13 14 file.upload-dir= ./uploads14 file.upload-dir=${file_upload_dir} 15 15 16 16 spring.servlet.multipart.enabled=true 17 17 spring.servlet.multipart.max-file-size=2MB 18 18 spring.servlet.multipart.max-request-size=2MB 19 20 spring.security.oauth2.client.registration.google.client-id=${google_id} 21 spring.security.oauth2.client.registration.google.client-secret=${google_secret} 22 spring.security.oauth2.client.registration.google.scope=profile, email 23 spring.security.oauth2.client.registration.google.redirect-uri=http://localhost:3000/login/oauth2/code/google 24 spring.security.oauth2.client.provider.google.authorization-uri=https://accounts.google.com/o/oauth2/auth 25 spring.security.oauth2.client.provider.google.token-uri=https://oauth2.googleapis.com/token 26 spring.security.oauth2.client.provider.google.user-info-uri=https://www.googleapis.com/oauth2/v3/userinfo 27 spring.security.oauth2.client.provider.google.user-name-attribute=sub 28 29 spring.mail.host=smtp.gmail.com 30 spring.mail.port=587 31 spring.mail.username=${mail_username} 32 spring.mail.password=${mail_password} 33 custom.mail.sender.email=${mail_sender_email} 34 custom.mail.sender.name=${mail_sender_name} 35 spring.mail.properties.mail.smtp.auth=true 36 spring.mail.properties.mail.smtp.starttls.enable=true 37 38
Note:
See TracChangeset
for help on using the changeset viewer.