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 16:38:31 +00:00
|
|
|
<!-- metadata -->
|
|
|
|
* **Category**: Apps
|
2021-03-02 11:11:38 +00:00
|
|
|
* **Status**: ❷💛
|
2021-03-02 16:38:31 +00:00
|
|
|
* **Image**: [`nginx`](https://hub.docker.com/_/nginx), ❶💚, upstream
|
2021-03-02 11:11:38 +00:00
|
|
|
* **Healthcheck**: No
|
|
|
|
* **Backups**: No
|
2021-03-02 16:38:31 +00:00
|
|
|
* **Email**: N/A
|
2021-03-02 11:11:38 +00:00
|
|
|
* **Tests**: ❷💛
|
2021-03-02 16:38:31 +00:00
|
|
|
* **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`]
|
2021-03-02 17:55:52 +00:00
|
|
|
2. Deploy [`coop-cloud/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 17:55:52 +00:00
|
|
|
[`coop-cloud/traefik`]: https://git.autonomic.zone/coop-cloud/traefik
|