This repository has been archived on 2024-10-23. You can view files and clone it, but cannot push or open issues or pull requests.
2020-09-08 09:19:03 +02:00
2020-09-08 08:55:57 +02:00
2020-09-22 16:13:18 +02:00
2020-09-13 09:32:39 +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
Description
The one and only, babra, the OG abra written in Bash
Readme 7.8 MiB
Languages
Shell 87.9%
Python 9.9%
Makefile 1.4%
Dockerfile 0.8%