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
|
user: postgres
|
||||||
password: postgres123
|
password: postgres123
|
||||||
sslmode: disable
|
sslmode: disable
|
||||||
|
defaultProvider: ovh
|
||||||
providers:
|
providers:
|
||||||
ovh:
|
ovh:
|
||||||
application_key: <CHANGEME>
|
application_key: <CHANGEME>
|
||||||
|
|
|
@ -16,7 +16,8 @@ type Config struct {
|
||||||
Database string `yaml:"database"`
|
Database string `yaml:"database"`
|
||||||
SSLMode string `yaml:"sslmode"`
|
SSLMode string `yaml:"sslmode"`
|
||||||
} `yaml:"postgres"`
|
} `yaml:"postgres"`
|
||||||
Providers struct {
|
DefaultProvider string `yaml:"defaultProvider"`
|
||||||
|
Providers struct {
|
||||||
OVH *providerConfigs.OVHConfig `yaml:"ovh"`
|
OVH *providerConfigs.OVHConfig `yaml:"ovh"`
|
||||||
} `yaml:"providers"`
|
} `yaml:"providers"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue