Configuration Files
Gigantics uses YAML configuration files to control various aspects of the application. This section provides detailed information about configuring different components of the system.
Configuration File Location
The main configuration file is located at config/default.yaml in your Gigantics installation directory. This file contains all the configurable options for your instance.
Configuration Sections
The configuration file is organized into several sections:
- Security Configuration: Encryption keys and session settings (most critical)
- Server Configuration: Host, port, and base URL settings
- Database Configuration: MongoDB connection parameters
- Environment Configuration: Environment-specific settings
- Logger Configuration: Log levels and output formats
- Process Configuration: Daemon and worker settings
- SMTP Configuration: Email server settings
- Log Configuration: Log directory location
Example Configuration File
Here's a comprehensive example of a Gigantics configuration file:
Operating System Specific Configuration
Gigantics can be configured differently based on the operating system it's running on:
Windows Configuration
Windows paths use backslashes and can specify drives:
Linux Configuration
Linux paths use forward slashes and follow standard Unix conventions:
Applying Configuration Changes
After modifying the configuration file, you need to restart the Gigantics application for changes to take effect:
For more detailed information about specific configuration options, see the related sections in this documentation.