The Co-op Cloud command-line interface 🎩🐇
test | ||
.drone.yml | ||
abra | ||
Makefile | ||
README.md |
abra
Docker stack magic 🎩🐇
Installing
make install
Hacking
make dev_install
Specify what to deploy where
You can use abra
in one of 2 ways:
- Clone a
compose-stack
, create an.envrc
in it, and runabra
in that directory. Be sure to setABRA_STACK_DIR=.
- "Monorepo mode": keep all your
compose-stack
s in one directory and all yourenv
files in another, e.g.:$ tree . ├── apps │ ├── mediawiki.demo.autonomic.zone.env │ ├── wordpress.demo.autonomic.zone.env └── stacks ├── gitea ├── matrix-synapse ├── mediawiki ├── nextcloud ├── swarmpit ├── traefik └── wordpress $ abra -e apps/mediawiki.demo.autonomic.zone.env deploy
Examples
abra run mariadb mysqldump gitea -p'GdIbMeS09SURRktBnm3jcTufsL5z0MPd' | gzip > ../git.autonomic.zone_mariadb_`date +%F`.sql.gz