79 lines
3.5 KiB
Properties
79 lines
3.5 KiB
Properties
# ====================================================================
|
|
# AfterWork Server - Configuration PRODUCTION
|
|
# ====================================================================
|
|
# Ce fichier est automatiquement chargé avec: java -jar app.jar
|
|
# Les configurations ici surchargent celles de application.properties
|
|
|
|
# ====================================================================
|
|
# HTTP - Chemin de base de l'API
|
|
# ====================================================================
|
|
# Permet d'accéder à l'API via https://api.lions.dev/afterwork
|
|
quarkus.http.root-path=/afterwork
|
|
|
|
# ====================================================================
|
|
# Base de données PostgreSQL
|
|
# ====================================================================
|
|
quarkus.datasource.db-kind=postgresql
|
|
quarkus.datasource.jdbc.url=jdbc:postgresql://${DB_HOST:postgresql}:${DB_PORT:5432}/${DB_NAME:mic-after-work-server-impl-quarkus-main}
|
|
quarkus.datasource.username=${DB_USERNAME:lionsuser}
|
|
quarkus.datasource.password=${DB_PASSWORD:LionsUser2025!}
|
|
quarkus.datasource.jdbc.driver=org.postgresql.Driver
|
|
quarkus.datasource.jdbc.max-size=20
|
|
quarkus.datasource.jdbc.min-size=5
|
|
quarkus.datasource.devservices.enabled=false
|
|
|
|
# ====================================================================
|
|
# Hibernate ORM
|
|
# ====================================================================
|
|
quarkus.hibernate-orm.database.generation=update
|
|
quarkus.hibernate-orm.log.sql=false
|
|
quarkus.hibernate-orm.sql-load-script=no-file
|
|
quarkus.hibernate-orm.jdbc.statement-batch-size=20
|
|
|
|
# ====================================================================
|
|
# CORS (Cross-Origin Resource Sharing)
|
|
# ====================================================================
|
|
quarkus.http.cors=true
|
|
quarkus.http.cors.origins=https://afterwork.lions.dev
|
|
quarkus.http.cors.methods=GET,POST,PUT,DELETE,OPTIONS,PATCH
|
|
quarkus.http.cors.headers=accept,authorization,content-type,x-requested-with
|
|
quarkus.http.cors.exposed-headers=content-disposition
|
|
quarkus.http.cors.access-control-max-age=24H
|
|
quarkus.http.cors.access-control-allow-credentials=true
|
|
|
|
# ====================================================================
|
|
# Logging
|
|
# ====================================================================
|
|
quarkus.log.level=INFO
|
|
quarkus.log.console.enable=true
|
|
quarkus.log.console.format=%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p [%c{3.}] (%t) %s%e%n
|
|
quarkus.log.console.json=false
|
|
quarkus.log.category."com.lions.dev".level=INFO
|
|
quarkus.log.category."org.hibernate".level=WARN
|
|
quarkus.log.category."io.quarkus".level=INFO
|
|
|
|
# ====================================================================
|
|
# WebSocket
|
|
# ====================================================================
|
|
quarkus.websocket.max-frame-size=65536
|
|
|
|
# ====================================================================
|
|
# SSL/TLS (géré par le reverse proxy)
|
|
# ====================================================================
|
|
quarkus.http.ssl.certificate.files=
|
|
quarkus.http.ssl.certificate.key-files=
|
|
quarkus.http.insecure-requests=enabled
|
|
|
|
# ====================================================================
|
|
# Performance
|
|
# ====================================================================
|
|
quarkus.thread-pool.core-threads=2
|
|
quarkus.thread-pool.max-threads=16
|
|
quarkus.thread-pool.queue-size=100
|
|
|
|
# ====================================================================
|
|
# Localisation
|
|
# ====================================================================
|
|
quarkus.locales=fr-FR,en-US
|
|
quarkus.default-locale=fr-FR
|