config: Configuration des environnements et migrations DB - Séparation des configurations dev et prod - Configuration H2 pour développement - Configuration PostgreSQL pour production - Migration SQL pour les nouveaux champs d'événements (V2__Add_Event_Additional_Fields.sql) - Configuration CORS et root-path pour production
This commit is contained in:
28
src/main/resources/application-dev.properties
Normal file
28
src/main/resources/application-dev.properties
Normal file
@@ -0,0 +1,28 @@
|
||||
# ====================================================================
|
||||
# AfterWork Server - Configuration DÉVELOPPEMENT
|
||||
# ====================================================================
|
||||
# Ce fichier est automatiquement chargé avec: mvn quarkus:dev
|
||||
# Les configurations ici surchargent celles de application.properties
|
||||
|
||||
# ====================================================================
|
||||
# Base de données H2 (en mémoire)
|
||||
# ====================================================================
|
||||
quarkus.datasource.db-kind=h2
|
||||
quarkus.datasource.jdbc.url=jdbc:h2:mem:afterwork_db;DB_CLOSE_DELAY=-1
|
||||
quarkus.datasource.username=sa
|
||||
quarkus.datasource.password=
|
||||
quarkus.datasource.jdbc.driver=org.h2.Driver
|
||||
quarkus.datasource.devservices.enabled=false
|
||||
|
||||
# ====================================================================
|
||||
# Hibernate ORM
|
||||
# ====================================================================
|
||||
quarkus.hibernate-orm.database.generation=drop-and-create
|
||||
quarkus.hibernate-orm.log.sql=true
|
||||
quarkus.hibernate-orm.format_sql=true
|
||||
|
||||
# ====================================================================
|
||||
# Logging
|
||||
# ====================================================================
|
||||
quarkus.log.level=DEBUG
|
||||
quarkus.log.category."com.lions.dev".level=DEBUG
|
||||
Reference in New Issue
Block a user