feat(env): support env vars for services (both run command and compose)

This commit is contained in:
Pavel Sviderski committed 2025-04-03 18:14:17 +10:00
1 parent 4e40a93991
commit 25b173128a
9 files changed
+100 -7

No files matched your search

+1
View File
@@ -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,