mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-17 09:25:20 +00:00
feat(compose): update docker-compose command to always pull images
This commit is contained in:
@@ -88,7 +88,7 @@ export const createCommand = (compose: ComposeNested) => {
|
|||||||
let command = "";
|
let command = "";
|
||||||
|
|
||||||
if (composeType === "docker-compose") {
|
if (composeType === "docker-compose") {
|
||||||
command = `compose -p ${appName} -f ${path} up -d --build --remove-orphans`;
|
command = `compose -p ${appName} -f ${path} up -d --build --pull always --remove-orphans`;
|
||||||
} else if (composeType === "stack") {
|
} else if (composeType === "stack") {
|
||||||
command = `stack deploy -c ${path} ${appName} --prune --with-registry-auth`;
|
command = `stack deploy -c ${path} ${appName} --prune --with-registry-auth`;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user