From 88351312bf093a9e78fcedc2839ddd4fe9da5852 Mon Sep 17 00:00:00 2001 From: Igor Alexandrov Date: Wed, 25 Sep 2024 11:25:42 +0400 Subject: [PATCH 1/3] Added app_port example to the proxy section --- lib/kamal/cli/templates/deploy.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/kamal/cli/templates/deploy.yml b/lib/kamal/cli/templates/deploy.yml index 7eec6aa2..b88ddaa6 100644 --- a/lib/kamal/cli/templates/deploy.yml +++ b/lib/kamal/cli/templates/deploy.yml @@ -18,6 +18,8 @@ servers: proxy: ssl: true host: app.example.com + # Change the default application port from 80 to 3000. Useful for non-Thruster apps. + # app_port: 3000 # Credentials for your image host. registry: @@ -32,7 +34,6 @@ registry: # Configure builder setup. builder: arch: amd64 - # Inject ENV variables into containers (secrets come from .kamal/secrets). # # env: From 098f1855e2b1fb57465cc5cbbf891d31fb69c937 Mon Sep 17 00:00:00 2001 From: Igor Alexandrov Date: Wed, 25 Sep 2024 12:11:45 +0400 Subject: [PATCH 2/3] Added back accidentially removed new line --- lib/kamal/cli/templates/deploy.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/kamal/cli/templates/deploy.yml b/lib/kamal/cli/templates/deploy.yml index b88ddaa6..e6e6551d 100644 --- a/lib/kamal/cli/templates/deploy.yml +++ b/lib/kamal/cli/templates/deploy.yml @@ -34,6 +34,7 @@ registry: # Configure builder setup. builder: arch: amd64 + # Inject ENV variables into containers (secrets come from .kamal/secrets). # # env: From 2b0810d06330ca24479dbd6c73d0679e3d061172 Mon Sep 17 00:00:00 2001 From: Igor Aleksandrov Date: Wed, 25 Sep 2024 17:19:20 +0400 Subject: [PATCH 3/3] Update lib/kamal/cli/templates/deploy.yml Co-authored-by: Nick Hammond --- lib/kamal/cli/templates/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/kamal/cli/templates/deploy.yml b/lib/kamal/cli/templates/deploy.yml index e6e6551d..7be386b9 100644 --- a/lib/kamal/cli/templates/deploy.yml +++ b/lib/kamal/cli/templates/deploy.yml @@ -18,7 +18,7 @@ servers: proxy: ssl: true host: app.example.com - # Change the default application port from 80 to 3000. Useful for non-Thruster apps. + # kamal-proxy connects to your container over port 80, use `app_port` to specify a different port. # app_port: 3000 # Credentials for your image host.