103 lines
4.0 KiB
YAML
103 lines
4.0 KiB
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: lionsdev-client-config
|
|
namespace: lions-apps
|
|
data:
|
|
# Production-specific application configuration
|
|
application.properties: |
|
|
# Quarkus Configuration
|
|
quarkus.application.name=lionsdev-client
|
|
quarkus.application.version=1.0.0
|
|
|
|
# HTTP Configuration - Production
|
|
quarkus.http.port=8080
|
|
quarkus.http.host=0.0.0.0
|
|
quarkus.http.cors=true
|
|
quarkus.http.cors.origins=https://lions.dev,https://www.lions.dev
|
|
|
|
# Database Configuration - Production
|
|
quarkus.datasource.db-kind=postgresql
|
|
quarkus.datasource.jdbc.url=jdbc:postgresql://postgresql-service.postgresql.svc.cluster.local:5432/lionsdb
|
|
quarkus.datasource.jdbc.max-size=50
|
|
quarkus.datasource.jdbc.min-size=10
|
|
quarkus.datasource.jdbc.acquisition-timeout=30
|
|
quarkus.datasource.jdbc.leak-detection-interval=10M
|
|
|
|
# Hibernate Configuration - Production
|
|
quarkus.hibernate-orm.database.generation=validate
|
|
quarkus.hibernate-orm.log.sql=false
|
|
quarkus.hibernate-orm.sql-load-script=no-file
|
|
quarkus.hibernate-orm.statistics=false
|
|
|
|
# Logging Configuration - Production
|
|
quarkus.log.level=INFO
|
|
quarkus.log.category."dev.lions".level=INFO
|
|
quarkus.log.category."org.hibernate".level=WARN
|
|
quarkus.log.category."io.quarkus".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
|
|
|
|
# Health Check Configuration
|
|
quarkus.health.extensions.enabled=true
|
|
quarkus.smallrye-health.root-path=/health
|
|
quarkus.smallrye-health.liveness-path=/health/live
|
|
quarkus.smallrye-health.readiness-path=/health/ready
|
|
quarkus.smallrye-health.startup-path=/health/started
|
|
|
|
# Metrics Configuration - Production
|
|
quarkus.micrometer.enabled=true
|
|
quarkus.micrometer.export.prometheus.enabled=true
|
|
quarkus.micrometer.export.prometheus.path=/metrics
|
|
quarkus.micrometer.binder.jvm=true
|
|
quarkus.micrometer.binder.system=true
|
|
quarkus.micrometer.binder.http-server.enabled=true
|
|
|
|
# OpenAPI Configuration - Production (disabled for security)
|
|
quarkus.swagger-ui.enable=false
|
|
quarkus.openapi.path=/api/openapi
|
|
mp.openapi.extensions.smallrye.info.title=Lions Dev Client API
|
|
mp.openapi.extensions.smallrye.info.version=1.0.0
|
|
mp.openapi.extensions.smallrye.info.description=Lions Dev professional website and client portal
|
|
mp.openapi.extensions.smallrye.info.contact.email=contact@lions.dev
|
|
mp.openapi.extensions.smallrye.info.contact.name=Lions Dev Team
|
|
mp.openapi.extensions.smallrye.info.contact.url=https://lions.dev
|
|
|
|
# Security Configuration - Production
|
|
quarkus.http.auth.basic=false
|
|
quarkus.security.jpa.enabled=false
|
|
quarkus.http.ssl.certificate.reload-period=24H
|
|
|
|
# Static Resources Configuration - Production
|
|
quarkus.http.static-resources."/"=META-INF/resources
|
|
quarkus.http.static-resources.cache-control=max-age=31536000, public, immutable
|
|
quarkus.http.enable-compression=true
|
|
|
|
# Performance Configuration
|
|
quarkus.thread-pool.core-threads=8
|
|
quarkus.thread-pool.max-threads=50
|
|
quarkus.thread-pool.queue-size=1000
|
|
|
|
# Production environment configuration
|
|
environment: "production"
|
|
domain: "lions.dev"
|
|
log-level: "INFO"
|
|
cluster: "k2"
|
|
|
|
# Lions Dev Production Configuration
|
|
lions.dev.company.name=Lions Dev
|
|
lions.dev.company.email=contact@lions.dev
|
|
lions.dev.company.phone=+225 01 01 75 95 25
|
|
lions.dev.company.address=Abidjan, Côte d'Ivoire
|
|
lions.dev.company.website=https://lions.dev
|
|
lions.dev.company.description=Enterprise digital transformation partner delivering mission-critical solutions across Africa
|
|
|
|
# Production feature flags
|
|
lions.dev.features.analytics.enabled=true
|
|
lions.dev.features.monitoring.enabled=true
|
|
lions.dev.features.contact-form.enabled=true
|
|
lions.dev.features.newsletter.enabled=true
|
|
lions.dev.features.debug.enabled=false
|
|
lions.dev.features.swagger.enabled=false
|