fix(platform): repair development bootstrap flow
This commit is contained in:
@@ -1,35 +0,0 @@
|
||||
# Development profile. Values that differ between machines come from an untracked .env file.
|
||||
server.port=${LAB_SERVER_PORT}
|
||||
server.forward-headers-strategy=${LAB_FORWARD_HEADERS_STRATEGY}
|
||||
server.servlet.session.cookie.http-only=true
|
||||
server.servlet.session.cookie.secure=false
|
||||
server.servlet.session.cookie.same-site=lax
|
||||
server.error.include-message=never
|
||||
server.error.include-stacktrace=never
|
||||
|
||||
spring.datasource.url=${LAB_DB_URL}
|
||||
spring.datasource.username=${LAB_DB_USERNAME}
|
||||
spring.datasource.password=${LAB_DB_PASSWORD}
|
||||
spring.jpa.hibernate.ddl-auto=validate
|
||||
spring.jpa.open-in-view=false
|
||||
spring.jpa.properties.hibernate.jdbc.time_zone=UTC
|
||||
spring.flyway.enabled=true
|
||||
spring.flyway.locations=classpath:db/migration
|
||||
spring.docker.compose.enabled=false
|
||||
|
||||
# Mailpit keeps Spring's mail health check local. User-facing SMTP credentials remain Admin-console data.
|
||||
spring.mail.host=${LAB_SMTP_HOST}
|
||||
spring.mail.port=${LAB_SMTP_PORT}
|
||||
spring.mail.protocol=smtp
|
||||
spring.mail.test-connection=false
|
||||
spring.mail.properties.mail.smtp.auth=false
|
||||
spring.mail.properties.mail.smtp.starttls.enable=false
|
||||
spring.mail.properties.mail.smtp.connectiontimeout=5000
|
||||
spring.mail.properties.mail.smtp.timeout=5000
|
||||
spring.mail.properties.mail.smtp.writetimeout=5000
|
||||
|
||||
management.endpoints.web.exposure.include=health,info
|
||||
management.endpoint.health.show-details=when_authorized
|
||||
|
||||
lab.public-origin=${LAB_PUBLIC_ORIGIN}
|
||||
lab.security.master-key=${LAB_SECURITY_MASTER_KEY}
|
||||
@@ -0,0 +1,64 @@
|
||||
# Development profile. Machine-specific values come from the ignored root .env file.
|
||||
spring:
|
||||
config:
|
||||
import: "optional:file:${LAB_DEV_ENV_FILE:.env}[.properties]"
|
||||
datasource:
|
||||
url: "${LAB_DB_URL}"
|
||||
username: "${LAB_DB_USERNAME}"
|
||||
password: "${LAB_DB_PASSWORD}"
|
||||
jpa:
|
||||
hibernate:
|
||||
ddl-auto: validate
|
||||
open-in-view: false
|
||||
properties:
|
||||
hibernate:
|
||||
jdbc:
|
||||
time_zone: UTC
|
||||
flyway:
|
||||
enabled: true
|
||||
locations: classpath:db/migration
|
||||
docker:
|
||||
compose:
|
||||
enabled: false
|
||||
# Mailpit keeps Spring's mail health check local. User-facing SMTP credentials remain Admin-console data.
|
||||
mail:
|
||||
host: "${LAB_SMTP_HOST}"
|
||||
port: "${LAB_SMTP_PORT}"
|
||||
protocol: smtp
|
||||
test-connection: false
|
||||
properties:
|
||||
mail:
|
||||
smtp:
|
||||
auth: false
|
||||
starttls:
|
||||
enable: false
|
||||
connectiontimeout: 5000
|
||||
timeout: 5000
|
||||
writetimeout: 5000
|
||||
|
||||
server:
|
||||
port: "${LAB_SERVER_PORT}"
|
||||
forward-headers-strategy: "${LAB_FORWARD_HEADERS_STRATEGY}"
|
||||
servlet:
|
||||
session:
|
||||
cookie:
|
||||
http-only: true
|
||||
secure: false
|
||||
same-site: lax
|
||||
error:
|
||||
include-message: never
|
||||
include-stacktrace: never
|
||||
|
||||
management:
|
||||
endpoints:
|
||||
web:
|
||||
exposure:
|
||||
include: "health,info"
|
||||
endpoint:
|
||||
health:
|
||||
show-details: when_authorized
|
||||
|
||||
lab:
|
||||
public-origin: "${LAB_PUBLIC_ORIGIN}"
|
||||
security:
|
||||
master-key: "${LAB_SECURITY_MASTER_KEY}"
|
||||
Reference in New Issue
Block a user