Appearance
Local Configuration
The config.local.json
file contains settings specific to the local environment where FreeTicketing is installed. This configuration file is stored in the same directory as the application executable and plays a crucial role in customizing the software's behavior for your specific setup.
Usage
json
{
"is_remote_logging_enabled": true,
"is_remote_config_enabled": true,
"database_connection_string": "DSN=FreeTicketing;",
"api_config_url": "",
"api_logging_url": "",
"api_key": ""
}
Configuration Fields
is_remote_logging_enabled
- Type:
boolean
- Required:
true
- Default:
true
Determines whether remote logging is enabled. When set to true
, logs will be sent to the remote logging endpoint specified by api_logging_url
.
is_remote_config_enabled
- Type:
boolean
- Required:
true
- Default:
true
Determines whether remote configuration is enabled. When set to true
, the application will fetch configuration, templates, and SQL queries from the remote endpoint specified by api_config_url
.
database_connection_string
- Type:
string
- Required:
true
The connection string / DSN used to connect to the database. For example: "DSN=FreeTicketing;"
api_config_url
- Type:
string
- Required:
true
(whenis_remote_config_enabled
istrue
)
The URL endpoint for fetching the configuration, templates, and SQL queries from the remote API.
api_logging_url
- Type:
string
- Required:
true
(whenis_remote_logging_enabled
istrue
)
The URL endpoint for sending logs to the remote API.
api_key
- Type:
string
- Required:
true
(when eitheris_remote_config_enabled
oris_remote_logging_enabled
istrue
)
The API key used for authentication when making requests to the remote API endpoints.
INFO
The api_config_url
, api_logging_url
, and api_key
fields are specifically used when running the application with remote configuration or logging enabled.