Open santiagorodriguez96 opened 3 months ago
This PR configures kamal so that we can start using it for deploying to our AWS servers.
You will need an .env file with these secrets SECRET_KEY_BASE and POSTGRES_PASSWORD
.env
SECRET_KEY_BASE
POSTGRES_PASSWORD
sudo apt update sudo apt install -y docker.io curl git sudo usermod -a -G docker ubuntu
mkdir -p /home/ubuntu/letsencrypt && touch /home/ubuntu/letsencrypt/acme.json && chmod 600 /home/ubuntu/letsencrypt/acme.json
kamal setup
For normal deploys run kamal deploy. If env vars change you will have to push them with kamal env push
kamal deploy
kamal env push
Motivation
This PR configures kamal so that we can start using it for deploying to our AWS servers.
Details
You will need an
.env
file with these secretsSECRET_KEY_BASE
andPOSTGRES_PASSWORD
Steps to set up the servers in AWS:
kamal setup
For normal deploys run
kamal deploy
. If env vars change you will have to push them withkamal env push