Skip to content

StaringSkyward/kamarust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kamarust

A basic example of a Rust web app deployment with the excellent Kamal

Instructions

  1. Copy the example config:

    cp config/deploy.example.yml config/deploy.yml
  2. Edit config/deploy.yml to suit your requirements.

  3. Install Kamal if you don't have it already or use docker if the limitations of using it that way are acceptable to you - more info here.

  4. Run kamal init

  5. Set your KAMAL_REGISTRY_PASSWORD in your environment and edit your .kamal/secrets file to read it. There are a variety of ways to do this - the 1Password integration is particularly neat.

    If using docker you can hard-code your secrets in that file but be sure to add it to .gitignore and NEVER commit it to git!

  6. Now you can deploy with: kamal setup

About

Example of how to deploy a Rust web app with Kamal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published