Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename environments variables #861

Commits on May 14, 2024

  1. refactor: [torrust#851] rename env vars

    ```
    TORRUST_TRACKER_BACK_           -> TORRUST_TRACKER_
    
    TORRUST_TRACKER_DATABASE_DRIVER -> TORRUST_TRACKER_CONFIG_OVERRIDE_DB_DRIVER
    TORRUST_TRACKER_API_ADMIN_TOKEN -> TORRUST_TRACKER_CONFIG_OVERRIDE_HTTP_API__ACCESS_TOKENS__ADMIN
    
    TORRUST_TRACKER_CONFIG          -> TORRUST_TRACKER_CONFIG_TOML
    TORRUST_TRACKER_PATH_CONFIG     -> TORRUST_TRACKER_CONFIG_TOML_PATH
    ```
    
    DB_DRIVER values: `MySQL`, `Sqlite3`. Removed lowercase values `mysql`
    and `sqlite3` used in containers. Some enums use lowercase. This is a
    braking change for container but not for configuration. IN the future we
    could use lowercase also in the configuration.
    josecelano committed May 14, 2024
    Configuration menu
    Copy the full SHA
    ef15e0b View commit details
    Browse the repository at this point in the history
  2. feat!: remove deprecated env var

    The env var `TORRUST_TRACKER_API_ADMIN_TOKEN` was replaced with `TORRUST_TRACKER_CONFIG_OVERRIDE_HTTP_API__ACCESS_TOKENS__ADMIN`.
    
    After the migration to Figment all configuration options can be
    overwritten.
    josecelano committed May 14, 2024
    Configuration menu
    Copy the full SHA
    a4d2adf View commit details
    Browse the repository at this point in the history