Cleanup application.properties and .env, added vite .env to repository
This commit is contained in:
parent
55daec064c
commit
932b42d926
3 changed files with 14 additions and 21 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -13,7 +13,7 @@ target/
|
||||||
.springBeans
|
.springBeans
|
||||||
.sts4-cache
|
.sts4-cache
|
||||||
.env.example
|
.env.example
|
||||||
.env
|
/.env
|
||||||
|
|
||||||
### IntelliJ IDEA ###
|
### IntelliJ IDEA ###
|
||||||
.idea
|
.idea
|
||||||
|
|
|
||||||
1
src/frontend/.env
Normal file
1
src/frontend/.env
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
VITE_BACKEND_URL=http://localhost:8080/api
|
||||||
|
|
@ -1,31 +1,23 @@
|
||||||
spring.profiles.active=${SPRING_PROFILES_ACTIVE}
|
# Application Name
|
||||||
|
|
||||||
spring.application.name=lcc
|
spring.application.name=lcc
|
||||||
spring.datasource.url=jdbc:mysql://localhost:3306/${DB_DATABASE}
|
|
||||||
spring.datasource.username=${DB_USER}
|
# Database Configuration
|
||||||
spring.datasource.password=${DB_PASSWORD}
|
|
||||||
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
||||||
lcc.bulk.sheet_password=secretSheet?!
|
|
||||||
lcc.allowed_cors=${ALLOWED_CORS_DOMAIN}
|
# File Upload Limits
|
||||||
lcc.base.url=${LCC_BASE_URL}
|
|
||||||
azure.maps.client.id=${AZURE_MAPS_CLIENT_ID}
|
|
||||||
azure.maps.subscription.key=${AZURE_MAPS_SUBSCRIPTION_KEY}
|
|
||||||
spring.servlet.multipart.max-file-size=30MB
|
spring.servlet.multipart.max-file-size=30MB
|
||||||
spring.servlet.multipart.max-request-size=50MB
|
spring.servlet.multipart.max-request-size=50MB
|
||||||
|
|
||||||
|
# Azure AD Configuration
|
||||||
spring.cloud.azure.active-directory.enabled=true
|
spring.cloud.azure.active-directory.enabled=true
|
||||||
spring.cloud.azure.active-directory.profile.tenant-id=${AZURE_TENANT_ID}
|
|
||||||
spring.cloud.azure.active-directory.credential.client-id=${AZURE_CLIENT_ID}
|
|
||||||
spring.cloud.azure.active-directory.credential.client-secret=${AZURE_CLIENT_SECRET}
|
|
||||||
spring.cloud.azure.active-directory.authorization-clients.graph.scopes=openid,profile,email,https://graph.microsoft.com/User.Read
|
spring.cloud.azure.active-directory.authorization-clients.graph.scopes=openid,profile,email,https://graph.microsoft.com/User.Read
|
||||||
jwt.secret=${JWT_SECRET}
|
|
||||||
|
# Management Endpoints
|
||||||
management.endpoints.web.exposure.include=health,info,metrics
|
management.endpoints.web.exposure.include=health,info,metrics
|
||||||
management.endpoint.health.show-details=always
|
management.endpoint.health.show-details=always
|
||||||
|
|
||||||
|
# Flyway Migration
|
||||||
spring.flyway.enabled=true
|
spring.flyway.enabled=true
|
||||||
spring.flyway.locations=classpath:db/migration
|
spring.flyway.locations=classpath:db/migration
|
||||||
spring.flyway.baseline-on-migrate=true
|
spring.flyway.baseline-on-migrate=true
|
||||||
spring.sql.init.mode=never
|
spring.sql.init.mode=never
|
||||||
|
|
||||||
# stuff for nginx
|
|
||||||
server.forward-headers-strategy=native
|
|
||||||
server.servlet.session.cookie.secure=true
|
|
||||||
server.servlet.session.cookie.same-site=lax
|
|
||||||
Loading…
Add table
Reference in a new issue