diff --git a/docker.sh b/docker.sh index 6d557cea1..b285dcd8d 100755 --- a/docker.sh +++ b/docker.sh @@ -431,7 +431,6 @@ install() { docker volume rm azuracast_www_vendor 2>/dev/null || true docker volume rm azuracast_tmp_data 2>/dev/null || true - docker volume rm azuracast_redis_data 2>/dev/null || true docker-compose run --rm web -- azuracast_install "$@" docker-compose up -d @@ -554,7 +553,6 @@ update() { docker volume rm azuracast_www_vendor docker volume rm azuracast_tmp_data - docker volume rm azuracast_redis_data docker-compose run --rm web -- azuracast_update "$@" docker-compose up -d diff --git a/src/Installer/Command/InstallCommand.php b/src/Installer/Command/InstallCommand.php index d4d8fb130..4ab1c613c 100644 --- a/src/Installer/Command/InstallCommand.php +++ b/src/Installer/Command/InstallCommand.php @@ -330,7 +330,7 @@ class InstallCommand extends Command if (!empty($yamlPorts)) { if ($isStandalone) { $existingPorts = []; - foreach ($yaml['services']['ports'] as $port) { + foreach ($yaml['services']['web']['ports'] as $port) { if (str_starts_with('$', $port)) { $existingPorts[] = $port; }