mirror of
https://github.com/coollabsio/coolify.git
synced 2026-10-06 14:07:37 -04:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user