From 9dde2044804a3f1e13fcdf08234b085b3e66d678 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 23 Sep 2024 16:30:16 -0700 Subject: [PATCH] Rearange --- lib/kamal/cli/templates/deploy.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/lib/kamal/cli/templates/deploy.yml b/lib/kamal/cli/templates/deploy.yml index 2a2a9ffd..cf8d752b 100644 --- a/lib/kamal/cli/templates/deploy.yml +++ b/lib/kamal/cli/templates/deploy.yml @@ -29,6 +29,10 @@ registry: password: - KAMAL_REGISTRY_PASSWORD +# Configure builder setup. +builder: + arch: amd64 + # Inject ENV variables into containers (secrets come from .kamal/secrets). # # env: @@ -39,18 +43,15 @@ registry: # Aliases are triggered with "bin/kamal ". You can overwrite arguments on invocation: # "bin/kamal logs -r job" will tail logs from the first server in the job section. -aliases: - shell: app exec --interactive --reuse "bash" +# +# aliases: +# shell: app exec --interactive --reuse "bash" # Use a persistent storage volume. # # volumes: # - "app_storage:/rails/storage" -# Configure builder setup. -builder: - arch: amd64 - # Use a different ssh user than root # # ssh: