86 lines
3.1 KiB
YAML
86 lines
3.1 KiB
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: lionsdev-client-config
|
|
namespace: lions-apps
|
|
labels:
|
|
app: lionsdev-client
|
|
app.kubernetes.io/name: lionsdev-client
|
|
app.kubernetes.io/part-of: lions-infrastructure
|
|
app.kubernetes.io/managed-by: lionsctl
|
|
data:
|
|
# Application configuration
|
|
application.properties: |
|
|
# Quarkus Configuration
|
|
quarkus.application.name=lionsdev-client
|
|
quarkus.application.version=1.0.0
|
|
|
|
# HTTP Configuration
|
|
quarkus.http.port=8080
|
|
quarkus.http.host=0.0.0.0
|
|
quarkus.http.cors=true
|
|
quarkus.http.cors.origins=https://lions.dev,https://staging.lions.dev,https://dev.lions.dev
|
|
|
|
# Database Configuration (will be overridden by secrets)
|
|
quarkus.datasource.db-kind=postgresql
|
|
quarkus.datasource.jdbc.url=jdbc:postgresql://postgresql-service.postgresql.svc.cluster.local:5432/lionsdb
|
|
quarkus.datasource.jdbc.max-size=20
|
|
quarkus.datasource.jdbc.min-size=5
|
|
|
|
# Hibernate Configuration
|
|
quarkus.hibernate-orm.database.generation=update
|
|
quarkus.hibernate-orm.log.sql=false
|
|
quarkus.hibernate-orm.sql-load-script=no-file
|
|
|
|
# Logging Configuration
|
|
quarkus.log.level=INFO
|
|
quarkus.log.category."dev.lions".level=DEBUG
|
|
quarkus.log.console.enable=true
|
|
quarkus.log.console.format=%d{HH:mm:ss} %-5p [%c{2.}] (%t) %s%e%n
|
|
|
|
# Health Check Configuration
|
|
quarkus.health.extensions.enabled=true
|
|
quarkus.smallrye-health.root-path=/health
|
|
|
|
# Metrics Configuration
|
|
quarkus.micrometer.enabled=true
|
|
quarkus.micrometer.export.prometheus.enabled=true
|
|
quarkus.micrometer.export.prometheus.path=/metrics
|
|
|
|
# OpenAPI Configuration
|
|
quarkus.swagger-ui.enable=true
|
|
quarkus.swagger-ui.path=/swagger-ui
|
|
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
|
|
quarkus.http.auth.basic=false
|
|
quarkus.security.jpa.enabled=false
|
|
|
|
# Static Resources Configuration
|
|
quarkus.http.static-resources."/"=META-INF/resources
|
|
quarkus.http.static-resources.cache-control=max-age=86400
|
|
|
|
# Environment-specific overrides (will be patched per environment)
|
|
environment: "production"
|
|
domain: "lions.dev"
|
|
log-level: "INFO"
|
|
|
|
# Lions Dev specific 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
|
|
|
|
# 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
|