generated from coop-cloud/example
24 lines
817 B
Markdown
24 lines
817 B
Markdown
# container
|
|
|
|
> 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
|