From 500ac929118f41a81cd8a485adfc54f7c5b6ce01 Mon Sep 17 00:00:00 2001 From: Brutus5000 Date: Mon, 25 Nov 2024 23:50:39 +0100 Subject: [PATCH] Default setup for localhost fixed --- docker-compose.yaml | 10 ++++++++++ src/main/resources/application.yaml | 10 ++++++---- 2 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 docker-compose.yaml diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..12b565a --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,10 @@ +services: + mariadb: + image: mariadb:11 + environment: + MARIADB_ROOT_PASSWORD: banana + MARIADB_DATABASE: faf-icebreaker + MARIADB_USER: faf-icebreaker + MARIADB_PASSWORD: banana + ports: + - "3306:3306" diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index 59a8dc7..549a502 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -5,7 +5,7 @@ quarkus: name: faf-icebreaker datasource: db-kind: mariadb - username: ${DB_USERNAME:root} + username: ${DB_USERNAME:faf-icebreaker} password: ${DB_PASSWORD:banana} jdbc: url: ${DB_URL:jdbc:mariadb://localhost:3306/faf-icebreaker?ssl=false} @@ -46,8 +46,8 @@ faf: xirsys: enabled: ${XIRSYS_ENABLED:true} base-url: "https://global.xirsys.net" - ident: ${XIRSYS_IDENT} - secret: ${XIRSYS_SECRET} + ident: ${XIRSYS_IDENT:undefined} + secret: ${XIRSYS_SECRET:undefined} channel-namespace: "faf" turn-enabled: ${XIRSYS_TURN_ENABLED:true} geo-ip-path: ${GEO_IP_DATABASE_PATH:/geoip/GeoLite2-City.mmdb} @@ -56,6 +56,8 @@ smallrye: sign: key: ${JWT_PRIVATE_KEY_PATH} "%dev": + xirsys: + enabled: ${XIRSYS_ENABLED:false} smallrye: jwt: sign: @@ -103,7 +105,7 @@ smallrye: tQIDAQAB -----END PUBLIC KEY----- log: - level: DEBUG + level: INFO category: "org.hibernate.SQL": level: DEBUG