Skip to content

Commit

Permalink
Default setup for localhost fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Brutus5000 committed Nov 25, 2024
1 parent 4864f12 commit 500ac92
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
10 changes: 10 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -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"
10 changes: 6 additions & 4 deletions src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down Expand Up @@ -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}
Expand All @@ -56,6 +56,8 @@ smallrye:
sign:
key: ${JWT_PRIVATE_KEY_PATH}
"%dev":
xirsys:
enabled: ${XIRSYS_ENABLED:false}
smallrye:
jwt:
sign:
Expand Down Expand Up @@ -103,7 +105,7 @@ smallrye:
tQIDAQAB
-----END PUBLIC KEY-----
log:
level: DEBUG
level: INFO
category:
"org.hibernate.SQL":
level: DEBUG
Expand Down

0 comments on commit 500ac92

Please sign in to comment.