generated from coop-cloud/example
Clarify hack and drop usage deets
This commit is contained in:
parent
383295716e
commit
234c21b19a
24
README.md
24
README.md
|
@ -2,22 +2,8 @@
|
||||||
|
|
||||||
> status: experimental
|
> status: experimental
|
||||||
|
|
||||||
Deploy a single container.
|
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,
|
||||||
Because docker swarm refuses to allow end-users to substitute the image name
|
this configuration uses an absolutely shambolic hack of `envsubst`'ing the
|
||||||
with env vars, this app uses an absolutely heinous hack of
|
`compose.yml` file with the incoming env vars from `abra` during the
|
||||||
[envsubst](https://www.gnu.org/software/gettext/manual/html_node/envsubst-Invocation.html)'ing
|
deployment.
|
||||||
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
|
|
||||||
|
|
Reference in New Issue