Fix code problem on installer and remove missing volume on docker.sh

This commit is contained in:
Buster "Silver Eagle" Neece 2022-03-09 23:01:56 -06:00
parent 93d12960e7
commit 7d26e8c934
No known key found for this signature in database
GPG Key ID: 9FC8B9E008872109
2 changed files with 1 additions and 3 deletions

View File

@ -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

View File

@ -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;
}