File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
packages/server/src/utils/builders Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " dokploy" ,
3- "version" : " v0.18.0 " ,
3+ "version" : " v0.18.1 " ,
44 "private" : true ,
55 "license" : " Apache-2.0" ,
66 "type" : " module" ,
Original file line number Diff line number Diff line change @@ -154,7 +154,6 @@ const sanitizeCommand = (command: string) => {
154154
155155export const createCommand = ( compose : ComposeNested ) => {
156156 const { composeType, appName, sourceType } = compose ;
157-
158157 if ( compose . command ) {
159158 return `${ sanitizeCommand ( compose . command ) } ` ;
160159 }
@@ -163,7 +162,9 @@ export const createCommand = (compose: ComposeNested) => {
163162 sourceType === "raw" ? "docker-compose.yml" : compose . composePath ;
164163 let command = "" ;
165164
166- if ( composeType === "stack" ) {
165+ if ( composeType === "docker-compose" ) {
166+ command = `compose -p ${ appName } -f ${ path } up -d --build --remove-orphans` ;
167+ } else if ( composeType === "stack" ) {
167168 command = `stack deploy -c ${ path } ${ appName } --prune` ;
168169 }
169170
You can’t perform that action at this time.
0 commit comments