Use Autogravity image health check

This commit is contained in:
Torsten Dittmann committed 2026-09-06 14:01:20 +00:00
1 parent dde07e7cc9
commit de9e329889
2 files changed
+2 -12

No files matched your search

+1 -10
View File
@@ -1582,19 +1582,10 @@ services:
appwrite-autogravity:
container_name: appwrite-autogravity
image: ghcr.io/appwrite/autogravity:0.0.3
image: ghcr.io/appwrite/autogravity:0.0.4
restart: unless-stopped
networks:
- appwrite
healthcheck:
test:
- CMD
- bash
- -c
- 'exec 3<>/dev/tcp/127.0.0.1/8080 && printf "GET /healthz HTTP/1.0\r\n\r\n" >&3 && grep -q "200 OK" <&3'
interval: 5s
timeout: 5s
retries: 3
clickhouse:
image: clickhouse/clickhouse-server:26.4.3-alpine
+1 -2
View File
@@ -69,8 +69,7 @@ final class GeneratorTest extends TestCase
$this->assertArrayHasKey('appwrite-task-interval', $compose['services']);
$this->assertArrayHasKey('appwrite-embedding', $compose['services']);
$this->assertArrayHasKey('appwrite-autogravity', $compose['services']);
$this->assertSame('ghcr.io/appwrite/autogravity:0.0.3', $compose['services']['appwrite-autogravity']['image']);
$this->assertStringContainsString('/healthz', $compose['services']['appwrite-autogravity']['healthcheck']['test'][3]);
$this->assertSame('ghcr.io/appwrite/autogravity:0.0.4', $compose['services']['appwrite-autogravity']['image']);
$this->assertArrayNotHasKey('profiles', $compose['services']['appwrite-worker']);
$this->assertArrayNotHasKey('profiles', $compose['services']['appwrite-task-scheduler']);
}