- moving cpus to string to allow for env vars and other config options besides hardcoded floats
This commit is contained in:
2025-11-11 23:44:38 -05:00
parent 9cddc4c83e
commit 8b03056977
3 changed files with 34 additions and 24 deletions

View File

@@ -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"`