Update README and tweak default STACK_DIR
This commit is contained in:
parent
1d52c0f5ed
commit
eec1dcb0b2
25
README.md
25
README.md
@ -12,6 +12,31 @@ Docker stack magic 🎩🐇
|
|||||||
|
|
||||||
`make dev_install`
|
`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-stack`s 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
|
## Examples
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user