custom-html/README.md

33 lines
982 B
Markdown
Raw Permalink Normal View History

2020-10-06 19:09:14 +00:00
# Custom HTML
2020-10-06 18:48:21 +00:00
[![Build Status](https://build.coopcloud.tech/api/badges/coop-cloud/custom-html/status.svg)](https://build.coopcloud.tech/coop-cloud/custom-html)
2020-10-06 19:09:14 +00:00
Custom HTML website, served using Nginx.
2020-10-06 18:48:21 +00:00
<!-- metadata -->
* **Category**: Development
2021-11-23 11:44:09 +00:00
* **Status**: 2, beta
* **Image**: [`nginx`](https://hub.docker.com/_/nginx), 4, upstream
2021-03-02 11:11:38 +00:00
* **Healthcheck**: No
* **Backups**: No
* **Email**: N/A
2021-11-23 11:44:09 +00:00
* **Tests**: 2
* **SSO**: No
<!-- endmetadata -->
2021-03-02 11:11:38 +00:00
2020-10-06 18:48:21 +00:00
## Basic usage
1. Set up Docker Swarm and [`abra`]
2. Deploy [`coop-cloud/traefik`]
2020-12-23 19:11:57 +00:00
3. `abra app new custom-html`
4. `abra app config YOURAPPDOMAIN` - be sure to change `$DOMAIN` to something that resolves to
2020-10-06 18:48:21 +00:00
your Docker swarm box
5. `abra app deploy YOURAPPDOMAIN`
2020-12-23 19:11:57 +00:00
6. Copy your files to the container, using something like
2020-10-06 19:09:14 +00:00
```
abra app cp YOURAPPDOMAIN 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
[`coop-cloud/traefik`]: https://git.autonomic.zone/coop-cloud/traefik