diff --git a/pkg/koyeb/compose.go b/pkg/koyeb/compose.go index 7a177e94..b2cb7f33 100644 --- a/pkg/koyeb/compose.go +++ b/pkg/koyeb/compose.go @@ -61,8 +61,10 @@ func parseComposeFile(path string) (*KoyebCompose, error) { return nil, err } + exapndEnvData := os.ExpandEnv(string(data)) + var config *KoyebCompose - err = yaml.Unmarshal(data, &config) + err = yaml.Unmarshal([]byte(exapndEnvData), &config) if err != nil { return nil, err }