Skip to main content

Module config

Module config 

Source
Expand description

Configuration management for deployment settings

This module provides the Config struct which manages essential file system paths for the deployment process including template sources and build outputs.

§Current Configuration Areas

  • File system paths for templates and build outputs
  • Project root directory for resolving relative paths

§Path Relationships

Typically, the paths have this relationship:

  • project_root: /path/to/torrust-tracker-deploy
  • templates_dir: {project_root}/templates
  • build_dir: {project_root}/build

The configuration is typically created once at deployment start and passed throughout the system to ensure consistent path resolution across all components.

Structs§

Config
Configuration parameters for deployment environments.