Revert "adds --rm to podman-compose up command to remove containers after"
This reverts commit 812d59e4dd.
This commit is contained in:
+1
-2
@@ -10,7 +10,6 @@ DOCKER_COMPOSE_UP_ARGS=${DOCKER_COMPOSE_UP_ARGS-"--no-build --no-recreate --no-d
|
|||||||
: ${COMPOSEFILE:="${SRCDIR}/compose.yml"}
|
: ${COMPOSEFILE:="${SRCDIR}/compose.yml"}
|
||||||
: ${MAKEFILE:="${SRCDIR}/Makefile"}
|
: ${MAKEFILE:="${SRCDIR}/Makefile"}
|
||||||
COMPOSECMD="/usr/bin/podman-compose"
|
COMPOSECMD="/usr/bin/podman-compose"
|
||||||
COMPOSESTARTARGS="--podman-run-args='--rm'"
|
|
||||||
export COMPOSE_HTTP_TIMEOUT=300
|
export COMPOSE_HTTP_TIMEOUT=300
|
||||||
|
|
||||||
description="Manage dockerservices defined in ${COMPOSEFILE}"
|
description="Manage dockerservices defined in ${COMPOSEFILE}"
|
||||||
@@ -33,7 +32,7 @@ configtest() {
|
|||||||
start() {
|
start() {
|
||||||
configtest || return 1
|
configtest || return 1
|
||||||
ebegin "Starting ${SVCNAME}"
|
ebegin "Starting ${SVCNAME}"
|
||||||
"${COMPOSECMD}" "${COMPOSESTARTARGS}" -f "${COMPOSEFILE}" up -d ${DOCKER_COMPOSE_UP_ARGS}
|
"${COMPOSECMD}" -f "${COMPOSEFILE}" up -d ${DOCKER_COMPOSE_UP_ARGS}
|
||||||
eend $?
|
eend $?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user