This repository has been archived on 2021-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
container/README.md

24 lines
817 B
Markdown
Raw Normal View History

2021-02-14 13:44:40 +00:00
# container
2021-02-14 13:37:12 +00:00
2021-02-14 14:03:09 +00:00
> status: experimental
2021-02-14 13:44:40 +00:00
Deploy a single container.
2021-02-14 13:37:12 +00:00
2021-02-14 14:03:09 +00:00
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.
2021-02-14 13:37:12 +00:00
## 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