We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0357420 commit b241c3fCopy full SHA for b241c3f
swiftwave_service/worker/process_application_deploy_request.go
@@ -160,11 +160,15 @@ func (m Manager) deployApplicationHelper(request DeployApplicationRequest) error
160
sysctls[sysctlPart[0]] = sysctlPart[1]
161
}
162
163
+ command := make([]string, 0)
164
+ if application.Command != "" {
165
+ command = strings.Split(application.Command, " ")
166
+ }
167
// create service
168
service := containermanger.Service{
169
Name: application.Name,
170
Image: dockerImageUri,
- Command: []string{},
171
+ Command: command,
172
Env: environmentVariablesMap,
173
Networks: []string{m.SystemConfig.ServiceConfig.NetworkName},
174
DeploymentMode: containermanger.DeploymentMode(application.DeploymentMode),
0 commit comments