Fix code problem on installer and remove missing volume on docker.sh
This commit is contained in:
parent
93d12960e7
commit
7d26e8c934
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue