mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-04 10:42:23 +00:00
- Removes coolify-testing-host.yml too, it published the testing host to Docker Hub for docker-compose.windows.yml alone, the development setup builds it locally
26 lines
883 B
PHP
26 lines
883 B
PHP
<?php
|
|
|
|
it('configures a dedicated private disk for persisted images', function () {
|
|
expect(config('filesystems.disks.images'))
|
|
->toMatchArray([
|
|
'driver' => 'local',
|
|
'root' => storage_path('app/images'),
|
|
'visibility' => 'private',
|
|
]);
|
|
});
|
|
|
|
it('persists images in stable and nightly production compose files', function (string $composeFile) {
|
|
expect(file_get_contents(base_path($composeFile)))
|
|
->toContain('/data/coolify/images:/var/www/html/storage/app/images');
|
|
})->with([
|
|
'stable' => 'docker-compose.prod.yml',
|
|
]);
|
|
|
|
it('creates the persistent image directory during installation and upgrades', function (string $script) {
|
|
expect(file_get_contents(base_path($script)))
|
|
->toContain('/data/coolify/images');
|
|
})->with([
|
|
'install' => 'scripts/install.sh',
|
|
'upgrade' => 'scripts/upgrade.sh',
|
|
]);
|