102 lines
3.9 KiB
Properties
102 lines
3.9 KiB
Properties
# Configuration UnionFlow Server
|
|
quarkus.application.name=unionflow-server
|
|
quarkus.application.version=1.0.0
|
|
|
|
# Configuration HTTP
|
|
quarkus.http.port=8085
|
|
quarkus.http.host=0.0.0.0
|
|
|
|
# Configuration CORS
|
|
quarkus.http.cors=true
|
|
quarkus.http.cors.origins=${CORS_ORIGINS:http://localhost:8086,https://unionflow.lions.dev,https://security.lions.dev}
|
|
quarkus.http.cors.methods=GET,POST,PUT,DELETE,OPTIONS
|
|
quarkus.http.cors.headers=Content-Type,Authorization
|
|
|
|
# Configuration Base de données PostgreSQL (par défaut)
|
|
quarkus.datasource.db-kind=postgresql
|
|
quarkus.datasource.username=${DB_USERNAME:unionflow}
|
|
quarkus.datasource.password=${DB_PASSWORD}
|
|
quarkus.datasource.jdbc.url=${DB_URL:jdbc:postgresql://localhost:5432/unionflow}
|
|
quarkus.datasource.jdbc.min-size=2
|
|
quarkus.datasource.jdbc.max-size=10
|
|
|
|
# Configuration Base de données PostgreSQL pour développement
|
|
%dev.quarkus.datasource.username=skyfile
|
|
%dev.quarkus.datasource.password=${DB_PASSWORD_DEV:skyfile}
|
|
%dev.quarkus.datasource.jdbc.url=jdbc:postgresql://localhost:5432/unionflow
|
|
|
|
# Configuration Hibernate
|
|
quarkus.hibernate-orm.database.generation=update
|
|
quarkus.hibernate-orm.log.sql=false
|
|
quarkus.hibernate-orm.jdbc.timezone=UTC
|
|
quarkus.hibernate-orm.packages=dev.lions.unionflow.server.entity
|
|
|
|
# Configuration Hibernate pour développement
|
|
%dev.quarkus.hibernate-orm.database.generation=drop-and-create
|
|
%dev.quarkus.hibernate-orm.sql-load-script=import.sql
|
|
%dev.quarkus.hibernate-orm.log.sql=true
|
|
|
|
# Configuration Flyway pour migrations
|
|
quarkus.flyway.migrate-at-start=true
|
|
quarkus.flyway.baseline-on-migrate=true
|
|
quarkus.flyway.baseline-version=1.0.0
|
|
|
|
# Configuration Flyway pour développement (désactivé)
|
|
%dev.quarkus.flyway.migrate-at-start=false
|
|
|
|
# Configuration Keycloak OIDC (par défaut)
|
|
quarkus.oidc.auth-server-url=http://localhost:8180/realms/unionflow
|
|
quarkus.oidc.client-id=unionflow-server
|
|
quarkus.oidc.credentials.secret=${KEYCLOAK_CLIENT_SECRET}
|
|
quarkus.oidc.tls.verification=none
|
|
quarkus.oidc.application-type=service
|
|
|
|
# Configuration Keycloak pour développement
|
|
%dev.quarkus.oidc.tenant-enabled=false
|
|
%dev.quarkus.oidc.auth-server-url=http://localhost:8180/realms/unionflow
|
|
|
|
# Configuration Keycloak Policy Enforcer (temporairement désactivé)
|
|
quarkus.keycloak.policy-enforcer.enable=false
|
|
quarkus.keycloak.policy-enforcer.lazy-load-paths=true
|
|
quarkus.keycloak.policy-enforcer.enforcement-mode=PERMISSIVE
|
|
|
|
# Chemins publics (non protégés)
|
|
quarkus.http.auth.permission.public.paths=/health,/q/*,/favicon.ico,/auth/callback,/auth/*
|
|
quarkus.http.auth.permission.public.policy=permit
|
|
|
|
# Configuration OpenAPI
|
|
quarkus.smallrye-openapi.info-title=UnionFlow Server API
|
|
quarkus.smallrye-openapi.info-version=1.0.0
|
|
quarkus.smallrye-openapi.info-description=API REST pour la gestion d'union avec authentification Keycloak
|
|
quarkus.smallrye-openapi.servers=http://localhost:8085
|
|
|
|
# Configuration Swagger UI
|
|
quarkus.swagger-ui.always-include=true
|
|
quarkus.swagger-ui.path=/swagger-ui
|
|
|
|
# Configuration santé
|
|
quarkus.smallrye-health.root-path=/health
|
|
|
|
# Configuration logging
|
|
quarkus.log.console.enable=true
|
|
quarkus.log.console.level=INFO
|
|
quarkus.log.console.format=%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p [%c{2.}] (%t) %s%e%n
|
|
quarkus.log.category."dev.lions.unionflow".level=INFO
|
|
quarkus.log.category."org.hibernate".level=WARN
|
|
quarkus.log.category."io.quarkus".level=INFO
|
|
|
|
# Configuration logging pour développement
|
|
%dev.quarkus.log.category."dev.lions.unionflow".level=DEBUG
|
|
%dev.quarkus.log.category."org.hibernate.SQL".level=DEBUG
|
|
|
|
# Configuration Jandex pour résoudre les warnings de réflexion
|
|
quarkus.index-dependency.unionflow-server-api.group-id=dev.lions.unionflow
|
|
quarkus.index-dependency.unionflow-server-api.artifact-id=unionflow-server-api
|
|
|
|
# Configuration Wave Money
|
|
wave.api.key=${WAVE_API_KEY:}
|
|
wave.api.secret=${WAVE_API_SECRET:}
|
|
wave.api.base.url=${WAVE_API_BASE_URL:https://api.wave.com/v1}
|
|
wave.environment=${WAVE_ENVIRONMENT:sandbox}
|
|
wave.webhook.secret=${WAVE_WEBHOOK_SECRET:}
|