updates
- moving cpus to string to allow for env vars and other config options besides hardcoded floats
This commit is contained in:
@@ -13,7 +13,7 @@ type DeployConfig struct {
|
||||
|
||||
type ServiceConfig struct {
|
||||
MemLimit *string `yaml:"mem_limit"`
|
||||
Cpus *float64 `yaml:"cpus"`
|
||||
Cpus *string `yaml:"cpus"`
|
||||
Ports *[]string `yaml:"ports"`
|
||||
User *string `yaml:"user"`
|
||||
Deploy *DeployConfig `yaml:"deploy"`
|
||||
|
||||
Reference in New Issue
Block a user