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;