The Co-op Cloud command-line interface 🎩🐇
Go to file
2020-09-22 16:13:18 +02:00
test Add stuff for fooling around with yq 2020-09-08 09:19:03 +02:00
.drone.yml Add installation of shellcheck 2020-09-08 08:55:57 +02:00
abra Update README and tweak default STACK_DIR 2020-09-22 16:13:18 +02:00
Makefile Re-force the symlink 2020-09-13 09:32:39 +02:00
README.md Update README and tweak default STACK_DIR 2020-09-22 16:13:18 +02:00

abra

Build Status

Docker stack magic 🎩🐇

Installing

make install

Hacking

make dev_install

Specify what to deploy where

You can use abra in one of 2 ways:

  1. Clone a compose-stack, create an .envrc in it, and run abra in that directory. Be sure to set ABRA_STACK_DIR=.
  2. "Monorepo mode": keep all your compose-stacks in one directory and all your env 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