@packagemain, you mentioned at 15:48 that you set up your environment on your remote machine. I am building my image, pushing it to ECR, and then deploying my app using GitHub Actions. I’m not running kamal setup locally since it doesn’t work in my setup. The deployment process works, but the environment variables are missing. My question is: how can I pass my environment variables to Docker during the image build, so they’re available when deploying with Kamal?
So it's kind of like Ansible but optimized for container deployment?
Yep, kind of, and focused on applications. While with Ansible you can do much more: server provisioning, network configuration, etc.
days of FTP was so simple.
how to set up env on a remote machine ?
What do you mean exactly? Kamal installs what it needs. Otherwise you can ssh to your server and set it up.
@packagemain, you mentioned at 15:48 that you set up your environment on your remote machine. I am building my image, pushing it to ECR, and then deploying my app using GitHub Actions. I’m not running kamal setup locally since it doesn’t work in my setup.
The deployment process works, but the environment variables are missing. My question is: how can I pass my environment variables to Docker during the image build, so they’re available when deploying with Kamal?
@@razac_zr in Kamal you can put secrets into secrets file that will be passed to docker containers. You also configure them in env: section