fix(docker): create standalone networks without the swarm driver

Use the default bridge network driver for standalone destinations and bump the Coolify version to 4.3.14.
This commit is contained in:
Andras Bacsai
2026-08-28 10:49:05 +02:00
parent 28fb694fcb
commit 51a8a97d87
6 changed files with 21 additions and 7 deletions
@@ -27,6 +27,14 @@ it('StandaloneDocker accepts valid network names', function (string $network) {
'alphanumeric' => 'network123',
]);
it('creates standalone destinations with a bridge network', function () {
$model = new StandaloneDocker;
$model->network = 'test-network';
expect($model->networkCreateCommand())
->toBe("docker network inspect 'test-network' >/dev/null 2>&1 || docker network create --attachable 'test-network' >/dev/null");
});
it('SwarmDocker rejects network names with shell metacharacters', function (string $network) {
$model = new SwarmDocker;
$model->network = $network;
+2 -2
View File
@@ -23,8 +23,8 @@ it('publishes v4 branch builds under the commit sha with a traceable internal ve
->toContain('ARG COOLIFY_VERSION')
->toContain('ENV COOLIFY_VERSION=${COOLIFY_VERSION}')
->and($constants)
->toContain("'version' => env('COOLIFY_VERSION') ?: '4.3.13'")
->and($versions['coolify']['v4']['version'])->toBe('4.3.13')
->toContain("'version' => env('COOLIFY_VERSION') ?: '4.3.14'")
->and($versions['coolify']['v4']['version'])->toBe('4.3.14')
->and($versions['coolify']['nightly']['version'])->toBe('4.4-rc.1')
->and($nightlyVersions)->toBe($versions);
});