add variable environment

This commit is contained in:
Valentin CZERYBA 2022-10-12 23:50:46 +02:00
parent ab1b3079f2
commit 8cb5c78497

View File

@ -7,9 +7,9 @@ mp.jwt.token.header=Cookie
mp.jwt.token.cookie=jwt
quarkus.datasource.db-kind = postgresql
quarkus.datasource.username = toto
quarkus.datasource.password = toto
quarkus.datasource.jdbc.url = jdbc:postgresql://db.valczeryba.ovh:54321/toto
quarkus.datasource.username = ${POSTGRES_USER:default}
quarkus.datasource.password = ${POSTGRES_PASSWORD:default}
quarkus.datasource.jdbc.url = jdbc:postgresql://${POSTGRES_URL:localhost}:${POSTGRES_PORT:5432}/${POSTGRES_DB:default}
# drop and create the database at startup (use `update` to only update the schema)
#quarkus.hibernate-orm.database.generation = drop-and-create
quarkus.hibernate-orm.database.generation = update
@ -25,7 +25,7 @@ quarkus.mailer.password=aohrpmqvxldwyebs
quarkus.mailer.mock=false
quarkus.redis.hosts=redis://redis.valczeryba.ovh:63791
quarkus.redis.hosts=redis://${REDIS_URL:localhost}:${REDIS_PORT:6379}
quarkus.http.cors=true
quarkus.http.origins=http://localhost:8084