1
0
Fork 0
mirror of synced 2024-10-01 01:37:56 +13:00

Update install.php not specify docker-compose.yml file

By not specifying a docker-compose.yml file, docker compose
automatically uses the docker-compose.yml file in the project directory
and a docker-compose.override.yml file if one is present.
This commit is contained in:
Steven Nguyen 2023-08-30 10:17:37 -07:00
parent 7d56c6f37e
commit 2f2edd41d5
No known key found for this signature in database

View file

@ -230,9 +230,9 @@ class Install extends Action
}
}
Console::log("Running \"docker compose -f $this->path/docker-compose.yml up -d --remove-orphans --renew-anon-volumes\"");
Console::log("Running \"docker compose up -d --remove-orphans --renew-anon-volumes\"");
$exit = Console::execute("$env docker compose -f $this->path/docker-compose.yml up -d --remove-orphans --renew-anon-volumes", '', $stdout, $stderr);
$exit = Console::execute("$env docker compose --project-directory $this->path up -d --remove-orphans --renew-anon-volumes", '', $stdout, $stderr);
if ($exit !== 0) {
$message = 'Failed to install Appwrite dockers';