fix(config): add the option of a default provider

This commit is contained in:
Thomas Maurice 2024-02-12 17:31:12 +01:00
parent 582fc381ca
commit 5a4ee21561
Signed by: thomas
GPG key ID: 1D577F50583032A6
2 changed files with 3 additions and 1 deletions

View file

@ -5,6 +5,7 @@ postgres:
user: postgres
password: postgres123
sslmode: disable
defaultProvider: ovh
providers:
ovh:
application_key: <CHANGEME>

View file

@ -16,6 +16,7 @@ type Config struct {
Database string `yaml:"database"`
SSLMode string `yaml:"sslmode"`
} `yaml:"postgres"`
DefaultProvider string `yaml:"defaultProvider"`
Providers struct {
OVH *providerConfigs.OVHConfig `yaml:"ovh"`
} `yaml:"providers"`