Bind to 127.0.0.1

This commit is contained in:
Donal McBreen
2024-09-18 08:30:01 +01:00
parent 6aa707e233
commit 9fd4001a88
3 changed files with 4 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ class Kamal::Commands::Registry < Kamal::Commands::Base
def setup
combine \
docker(:start, "kamal-docker-registry"),
docker(:run, "--detach", "-p", "#{local_port}:5000", "--name", "kamal-docker-registry", "registry:2"),
docker(:run, "--detach", "-p", "127.0.0.1:#{local_port}:5000", "--name", "kamal-docker-registry", "registry:2"),
by: "||"
end