diff --git a/_docs/commands.md b/_docs/commands.md index 90b8093..1799dd7 100644 --- a/_docs/commands.md +++ b/_docs/commands.md @@ -5,6 +5,19 @@ order: 3 # Commands +## Pushing environment files to the servers + +Before you can deploy, you'll need to push env files to the servers. They will then be +included in the docker run commands. + +You can do this by running: + +```bash +$ kamal env push +``` + +If you create the files with `kamal envify`, they will automatically be pushed for you. + ## Running commands on servers #### Run command on all servers diff --git a/_docs/configuration.md b/_docs/configuration.md index a72fcf5..9bc39ef 100644 --- a/_docs/configuration.md +++ b/_docs/configuration.md @@ -169,6 +169,8 @@ env: REDIS_URL: redis://redis1:6379/1 ``` +**Note:** Before you can start the containers you need to push the env variables up to the servers. + ## Using secret env variables If you have env variables that are secret, you can divide the `env` block into `clear` and `secret`: