Create proxy and app containers in a kamal network

This commit is contained in:
Donal McBreen
2024-09-05 14:31:37 +01:00
parent 13bdf50ceb
commit 63ebeda489
8 changed files with 24 additions and 14 deletions

View File

@@ -19,6 +19,10 @@ class Kamal::Commands::Docker < Kamal::Commands::Base
[ '[ "${EUID:-$(id -u)}" -eq 0 ] || command -v sudo >/dev/null || command -v su >/dev/null' ]
end
def create_network
docker :network, :create, :kamal
end
private
def get_docker
shell \