Tarkin25 / tbz-chat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TBZ-Chat

Different profiles

The TBZ-Chat application can be run with two different profiles used to determine which DBMS is used:

  • postgres (default)
  • mariadb

Configuration via environment variables

Name Default value Description
SPRING_PROFILES_ACTIVE postgres The profile used to determine which DBMS is used
SPRING_DATASOURCE_URL postgres: jdbc:postgresql://host.docker.internal:5432/tbz_chat

mariadb: jdbc:mariadb://host.docker.internal:3306/tbz_chat
Database connection URL
SPRING_DATASOURCE_USERNAME postgres: postgres

mariadb: root
Database connection username
SPRING_DATASOURCE_PASSWORD postgres: postgres

mariadb: root
Database connection password
REACT_APP_API_URL http://localhost/api URL for the User interface to use to access the REST API
INVITATION_BASE_URL http://localhost/activate-account The base URL used to generate the account activation link sent via email

About


Languages

Language:TypeScript 52.4%Language:Java 36.2%Language:Rust 10.0%Language:Dockerfile 0.5%Language:HTML 0.4%Language:JavaScript 0.2%Language:CSS 0.2%Language:Shell 0.1%