2020-10-06 19:09:14 +00:00
|
|
|
# Custom HTML
|
2020-10-06 18:48:21 +00:00
|
|
|
|
2020-10-06 19:09:14 +00:00
|
|
|
Custom HTML website, served using Nginx.
|
2020-10-06 18:48:21 +00:00
|
|
|
|
2021-03-02 11:11:38 +00:00
|
|
|
* **Status**: ❷💛
|
|
|
|
* **Image**: [`nginx`](https://hub.docker.com/_/nginx), ❶💚 upstream
|
|
|
|
* **Healthcheck**: No
|
|
|
|
* **Backups**: No
|
|
|
|
* **Email**: No
|
|
|
|
* **Tests**: ❷💛
|
|
|
|
|
2020-10-06 18:48:21 +00:00
|
|
|
## Basic usage
|
|
|
|
|
|
|
|
1. Set up Docker Swarm and [`abra`]
|
|
|
|
2. Deploy [`compose-stacks/traefik`]
|
2020-12-23 19:11:57 +00:00
|
|
|
3. `abra app new custom-html`
|
|
|
|
4. `abra app YOURAPPDOMAIN config` - be sure to change `$DOMAIN` to something that resolves to
|
2020-10-06 18:48:21 +00:00
|
|
|
your Docker swarm box
|
2020-12-23 19:11:57 +00:00
|
|
|
5. `abra app YOURAPPDOMAIN deploy`
|
|
|
|
6. Copy your files to the container, using something like
|
2020-10-06 19:09:14 +00:00
|
|
|
```
|
2020-12-23 19:11:57 +00:00
|
|
|
abra app YOURAPPDOMAIN cp index.html app:/usr/share/nginx/html
|
2020-10-06 19:09:14 +00:00
|
|
|
```
|
2020-10-06 18:48:21 +00:00
|
|
|
|
|
|
|
[`abra`]: https://git.autonomic.zone/autonomic-cooperative/abra
|
2021-03-02 11:11:38 +00:00
|
|
|
[`compose-stacks/traefik`]: https://git.autonomic.zone/compose-stacks/traefik
|