Files
custom-html/README.md
2020-10-06 21:09:14 +02:00

22 lines
672 B
Markdown

# Custom HTML
Custom HTML website, served using Nginx.
## Basic usage
1. Set up Docker Swarm and [`abra`]
2. Deploy [`compose-stacks/traefik`]
3. `git clone https://git.autonomic.zone/compose-stacks/custom-html.git && cd custom-html`
3. `cp .envrc.sample .envrc`
4. Edit `.envrc` - be sure to change `DOMAIN` to something that resolves to
your Docker swarm box
5. `direnv allow` (or `. .envrc`)
6. `abra deploy`
7. Copy your files to the container, using something like
```
abra cp index.html app:/usr/share/nginx/html
```
[`abra`]: https://git.autonomic.zone/autonomic-cooperative/abra
[`compose-stacks/traefik`]: https://git.autonomic.zone/compose-stacks/traefik