- Suppression des propriétés build-time qui causaient des warnings - Mise à jour des credentials par défaut: lionsuser/LionsUser2025! - Mise à jour database name: mic-after-work-server-impl-quarkus-main - Les propriétés build-time restent dans application.properties
71 lines
2.5 KiB
Properties
71 lines
2.5 KiB
Properties
# ====================================================================
|
|
# AfterWork Server - Configuration de Production
|
|
# ====================================================================
|
|
# IMPORTANT: Les propriétés build-time (app.name, root-path, compression)
|
|
# sont définies dans application.properties et ne peuvent pas être changées ici
|
|
|
|
# HTTP Configuration (runtime only)
|
|
quarkus.http.host=0.0.0.0
|
|
quarkus.http.port=8080
|
|
|
|
# Base de données PostgreSQL (Production)
|
|
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
|
|
|
|
# Hibernate
|
|
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 - Production strict
|
|
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
|
|
|
|
# OpenAPI/Swagger - Configuration build-time dans application.properties
|
|
|
|
# Health checks - Utilise les valeurs par défaut de Quarkus
|
|
|
|
# Métriques - Configuration build-time dans application.properties
|
|
|
|
# WebSocket
|
|
quarkus.websocket.max-frame-size=65536
|
|
|
|
# Upload de fichiers
|
|
quarkus.http.body.uploads-directory=/tmp/uploads
|
|
|
|
# Compression HTTP - Configuration build-time dans application.properties
|
|
|
|
# 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
|
|
|
|
# Timezone
|
|
quarkus.locales=fr-FR,en-US
|
|
quarkus.default-locale=fr-FR
|