There was an error while loading. Please reload this page.
1 parent 139cd2c commit 41e3c5aCopy full SHA for 41e3c5a
1 file changed
docker/thirdparties/run-thirdparties-docker.sh
@@ -1653,7 +1653,11 @@ start_polaris() {
1653
register_stack_metadata "polaris" "${POLARIS_DIR}/docker-compose.yaml" ""
1654
compose_cmd "${POLARIS_DIR}/docker-compose.yaml" "" down --remove-orphans
1655
if [[ "${STOP}" -ne 1 ]]; then
1656
- compose_cmd "${POLARIS_DIR}/docker-compose.yaml" "" up -d --wait --remove-orphans
+ # polaris-init is a one-shot service. Keep it out of `up --wait`,
1657
+ # otherwise Compose reports the successfully exited container as a
1658
+ # failed stack startup.
1659
+ compose_cmd "${POLARIS_DIR}/docker-compose.yaml" "" up -d --wait --remove-orphans polaris
1660
+ compose_cmd "${POLARIS_DIR}/docker-compose.yaml" "" run --rm --no-deps polaris-init
1661
fi
1662
}
1663
0 commit comments