fix(config): add the option of a default provider
This commit is contained in:
parent
582fc381ca
commit
5a4ee21561
2 changed files with 3 additions and 1 deletions
|
@ -5,6 +5,7 @@ postgres:
|
|||
user: postgres
|
||||
password: postgres123
|
||||
sslmode: disable
|
||||
defaultProvider: ovh
|
||||
providers:
|
||||
ovh:
|
||||
application_key: <CHANGEME>
|
||||
|
|
|
@ -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"`
|
||||
|
|
Loading…
Add table
Reference in a new issue