Initialisiere VoTiAn NG mit Docker-Build, .env-Konfiguration und Cookie-Sitzungen
This commit is contained in:
commit
1a30233269
63 files changed
+12138
No files matched your search
@@ -0,0 +1,47 @@
|
||||
server:
|
||||
address: ${SERVER_ADDRESS:127.0.0.1}
|
||||
port: ${PORT:8080}
|
||||
forward-headers-strategy: ${FORWARD_HEADERS_STRATEGY:native}
|
||||
servlet:
|
||||
session:
|
||||
timeout: ${SESSION_TIMEOUT:30m}
|
||||
tracking-modes: cookie
|
||||
cookie:
|
||||
name: VOTIANSESSION
|
||||
http-only: true
|
||||
same-site: lax
|
||||
error:
|
||||
include-message: never
|
||||
spring:
|
||||
application:
|
||||
name: votian-ng
|
||||
datasource:
|
||||
# Only the existing database; never initialize or replace its schema.
|
||||
url: ${DB_URL:jdbc:mariadb://127.0.0.1:1/unconfigured?connectTimeout=2000&socketTimeout=5000}
|
||||
username: ${DB_USER:}
|
||||
password: ${DB_PASSWORD:}
|
||||
driver-class-name: org.mariadb.jdbc.Driver
|
||||
hikari:
|
||||
initialization-fail-timeout: -1
|
||||
connection-timeout: 3000
|
||||
validation-timeout: 1000
|
||||
maximum-pool-size: 4
|
||||
minimum-idle: 0
|
||||
read-only: true
|
||||
data-source-properties:
|
||||
# Preserve numeric legacy codes, including values above 1 in TINYINT(1).
|
||||
tinyInt1isBit: false
|
||||
sql:
|
||||
init:
|
||||
mode: never
|
||||
jackson:
|
||||
serialization:
|
||||
write-dates-as-timestamps: false
|
||||
app:
|
||||
cors-origins: ${CORS_ORIGINS:http://localhost:5173,http://127.0.0.1:5173}
|
||||
legacy-url: ${LEGACY_APP_URL:}
|
||||
max-results: ${MAX_RESULTS:500}
|
||||
logging:
|
||||
level:
|
||||
com.zaxxer.hikari: WARN
|
||||
org.mariadb.jdbc: ERROR
|
||||
Reference in new issue
Block a user