Skip to content

Configuration File

kingmaj0r edited this page May 18, 2024 · 1 revision

Configuration File Documentation

app

  • environment: Specifies the current environment, with development as the default value.
  • host: The host URL or IP address for the frontend and backend.
    • Example: localhost
  • frontend: Configuration for the frontend of the app.
    • port: The port number for the frontend.
      • Example: 8080
    • protocol: The protocol to be used for communication with the frontend.
      • Example: https
    • assets: Specify the location to serve assets in the production environment.
      • Example: assets.example.com or /assets
  • backend
    • port: The port number for the backend.
      • Example: 8080
    • protocol: The protocol to be used for communication with the backend.
      • Example: https

database

  • host: The host URL or IP address for the database.
  • port: The port number for the database.
  • username: The username to access the database.
  • password: The password associated with the username.
  • db_name1: The name of the first database.
  • db_name2: The name of the second database.

settings

  • debug: Specifies whether the debug mode is enabled (true) or disabled (false).
Clone this wiki locally