Skip to content

[Feature] Customize certain parameters via a dedicated config file OR compose file #136

@thexavier666

Description

@thexavier666

Describe the feature

I think verbosity of logs should be customizable.
There can be other parameters (alternate resources to get IP from/retry interval), but this is applicable for my use-case.

The main .py file should import the values from a file from some directory inside the container, say /etc/porkbun-ddns/config.yml inside the container, and we should map this to an external file config.yml in docker compose. OR we can simply use the docker-compose.yml file.

Use case

Right now the log is set to maximum verbosity, which can be the default. But I want it to be set to only WARN and ERROR so that the number of writes can be reduced on my Pi SD card.

Alternatives considered

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions