WIP
Stax is a CLI tool for creating and managing containers. Primarily for development purposes but can also be used for self hosting containers.
Stax uses a Staxfile
to define your containers. It's basically a docker compose file with some extra features like importing from other yaml files.
Example:
!import ../imports/rails.yaml as rails
!extends rails
stax: !extends rails.stax
source: git@github.com:me/my-rails-app.git
requires:
- caddy
- mysql
after_setup: ./bin/setup
stax setup
: Install an application.stax ls
: Lists all applicationsstax sh <name>
: Opens a shell into the primary container of an applicationstax edit <name>
: Opens an application in VS Code based editorstax down <name>
: Stops an applicationstax remove <name>
: Removes an applicationstax help
: Shows help