mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
feat(env): support env vars for services (both run command and compose)
This commit is contained in:
@@ -357,6 +357,7 @@ func (s *Server) CreateServiceContainer(
|
||||
|
||||
config := &container.Config{
|
||||
Cmd: spec.Container.Command,
|
||||
Env: spec.Container.Env.ToSlice(),
|
||||
Entrypoint: spec.Container.Entrypoint,
|
||||
Hostname: containerName,
|
||||
Image: spec.Container.Image,
|
||||
|
||||
Reference in New Issue
Block a user