custom-html-tiny/README.md

38 lines
1.0 KiB
Markdown
Raw Permalink Normal View History

2022-10-27 00:26:30 +00:00
# Custom HTML
Custom HTML website, served using thttpd
<!-- metadata -->
* **Category**: Apps
2022-10-27 02:05:01 +00:00
* **Status**: 0, work-in-progress
* **Image**: [`thttpd`](https://hub.docker.com/r/dragas/thttpd), 2, 3rd party image
2022-10-27 00:26:30 +00:00
* **Healthcheck**: No
* **Backups**: No
* **Email**: N/A
* **Tests**: 0
2022-10-27 02:05:01 +00:00
* **SSO**: 3 (OAuth)
2022-10-27 00:26:30 +00:00
<!-- endmetadata -->
## Basic usage
1. Set up Docker Swarm and [`abra`]
2. Deploy [`coop-cloud/traefik`]
3. `abra app new custom-html`
4. `abra app config YOURAPPDOMAIN` - be sure to change `$DOMAIN` to something that resolves to
2022-10-27 00:26:30 +00:00
your Docker swarm box
5. `abra app deploy YOURAPPDOMAIN`
2022-10-27 00:26:30 +00:00
6. Copy your files to the container, using something like
```
abra app YOURAPPDOMAIN cp index.html app:/content
```
[`abra`]: https://git.autonomic.zone/autonomic-cooperative/abra
[`coop-cloud/traefik`]: https://git.autonomic.zone/coop-cloud/traefik
## Git Based Usage
2022-10-27 00:27:59 +00:00
1. Set up as above, stop at step 4.
2022-10-27 00:26:30 +00:00
2. Deploy `swarm-cronjob` to the host
2022-10-27 00:27:59 +00:00
3. `abra app config`, Uncomment Git lines in configuration, and set variables as appropriate.
4. `abra app deploy YOURAPPDOMAIN`