fix: docker backup force restart config

This commit is contained in:
2025-08-02 10:09:58 +02:00
parent 511db45dcb
commit b3c8a7264b
2 changed files with 4 additions and 3 deletions

View File

@@ -18,11 +18,11 @@ if [[ "--install" == $INSTALLED ]]; then
source /etc/serverconfig/.env
export AWS_ACCESS_KEY=$(aws configure get aws_access_key_id)
export AWS_ACCESS_KEY_ID=$(aws configure get aws_access_key_id)
export AWS_SECRET_ACCESS_KEY=$(aws configure get aws_secret_access_key)
if [[ -f "$ETC_DIR/docker-compose.yml" ]]; then
docker compose -f "$ETC_DIR/docker-compose.yml" up -d && \
docker compose -f "$ETC_DIR/docker-compose.yml" up -d --force-recreate && \
info_print "$ETC_DIR/docker-compose.yml is running." 6;
else info_print "no docker-compose.yml found at $ETC_DIR" 3;