Clarify hack and drop usage deets

This commit is contained in:
Luke Murphy 2021-02-15 01:04:38 +01:00
parent 383295716e
commit 234c21b19a
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 5 additions and 19 deletions

View File

@ -2,22 +2,8 @@
> status: experimental
Deploy a single container.
Because docker swarm refuses to allow end-users to substitute the image name
with env vars, this app uses an absolutely heinous hack of
[envsubst](https://www.gnu.org/software/gettext/manual/html_node/envsubst-Invocation.html)'ing
the compose.file with the incoming env vars.
## Basic usage
1. Set up Docker Swarm and [`abra`]
2. Deploy [`coop-cloud/traefik`]
3. `abra app new container --secrets`
4. `abra app YOURAPPDOMAIN config` - be sure to change `DOMAIN` to something that resolves to
your Docker swarm box
5. `abra app YOURAPPDOMAIN deploy`
6. Open the configured domain in your browser to finish set-up
[`abra`]: https://git.autonomic.zone/autonomic-cooperative/abra
[`coop-cloud/traefik`]: https://git.autonomic.zone/coop-cloud/traefik
Deploy a single container on the swarm. Because docker swarm refuses to allow
end-users to substitute the image name with env vars dynamically at run-time,
this configuration uses an absolutely shambolic hack of `envsubst`'ing the
`compose.yml` file with the incoming env vars from `abra` during the
deployment.