diff --git a/app/views/install/compose.phtml b/app/views/install/compose.phtml index 88fb1197f7..288169374e 100644 --- a/app/views/install/compose.phtml +++ b/app/views/install/compose.phtml @@ -11,9 +11,7 @@ $httpsPort = $this->getParam('httpsPort', ''); $version = $this->getParam('version', ''); $organization = $this->getParam('organization', ''); $image = $this->getParam('image', ''); -?>version: '3' - -services: +?>services: traefik: image: traefik:2.11 container_name: appwrite-traefik diff --git a/src/Appwrite/Docker/Compose.php b/src/Appwrite/Docker/Compose.php index 64441805de..241e281ed8 100644 --- a/src/Appwrite/Docker/Compose.php +++ b/src/Appwrite/Docker/Compose.php @@ -27,14 +27,6 @@ class Compose } } - /** - * @return string - */ - public function getVersion(): string - { - return (isset($this->compose['version'])) ? $this->compose['version'] : ''; - } - /** * @return Service[] */ diff --git a/tests/unit/Docker/ComposeTest.php b/tests/unit/Docker/ComposeTest.php index 56448ffd01..93e0204264 100644 --- a/tests/unit/Docker/ComposeTest.php +++ b/tests/unit/Docker/ComposeTest.php @@ -21,11 +21,6 @@ class ComposeTest extends TestCase $this->object = new Compose($data); } - public function testVersion(): void - { - $this->assertEquals('3', $this->object->getVersion()); - } - public function testServices(): void { $this->assertCount(15, $this->object->getServices());