Compare commits
6 Commits
0.1.0+0.2.
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 39c35c33d8 | |||
| 3ed3698ce7 | |||
| 2e3ab4c50c | |||
| feb1e3dbb9 | |||
| 742232d7f1 | |||
| 3703df011b |
@ -32,7 +32,7 @@ steps:
|
||||
from_secret: drone_abra-bot_token
|
||||
fork: true
|
||||
repositories:
|
||||
- coop-cloud/auto-recipes-catalogue-json
|
||||
- toolshed/auto-recipes-catalogue-json
|
||||
|
||||
trigger:
|
||||
event: tag
|
||||
|
||||
17
README.md
17
README.md
@ -4,20 +4,20 @@ Custom HTML website, served using thttpd
|
||||
|
||||
<!-- metadata -->
|
||||
* **Category**: Apps
|
||||
* **Status**: 0, work-in-progress
|
||||
* **Image**: [`thttpd`](https://hub.docker.com/r/dragas/thttpd), 2, 3rd party image
|
||||
* **Status**: 2, stable
|
||||
* **Image**: [`static-web-server`](https://hub.docker.com/r/joseluisq/static-web-server/), 4, upstream
|
||||
* **Healthcheck**: No
|
||||
* **Backups**: No
|
||||
* **Email**: N/A
|
||||
* **Tests**: 0
|
||||
* **SSO**: 3 (OAuth)
|
||||
* **SSO**: 1, Optional traefik forward auth
|
||||
<!-- endmetadata -->
|
||||
|
||||
## Basic usage
|
||||
|
||||
1. Set up Docker Swarm and [`abra`]
|
||||
2. Deploy [`coop-cloud/traefik`]
|
||||
3. `abra app new custom-html`
|
||||
3. `abra app new custom-html-tiny`
|
||||
4. `abra app config YOURAPPDOMAIN` - be sure to change `$DOMAIN` to something that resolves to
|
||||
your Docker swarm box
|
||||
5. `abra app deploy YOURAPPDOMAIN`
|
||||
@ -26,12 +26,3 @@ Custom HTML website, served using thttpd
|
||||
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
|
||||
|
||||
1. Set up as above, stop at step 4.
|
||||
2. Deploy `swarm-cronjob` to the host
|
||||
3. `abra app config`, Uncomment Git lines in configuration, and set variables as appropriate.
|
||||
4. `abra app deploy YOURAPPDOMAIN`
|
||||
|
||||
@ -3,8 +3,8 @@ version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
image: git.coopcloud.tech/coop-cloud-chaos-patchs/thttpd:0.2.29
|
||||
command: ["-D", "-l", "/dev/stderr", "-d", "/var/www/http/$HTTP_SUBDIR"]
|
||||
image: joseluisq/static-web-server:2.38.0
|
||||
command: ["-a", "0.0.0.0", "-p", "80", "-g", "warn", "-d", "/var/www/http/$HTTP_SUBDIR"]
|
||||
networks:
|
||||
- proxy
|
||||
deploy:
|
||||
@ -17,7 +17,7 @@ services:
|
||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||
# Redirect from EXTRA_DOMAINS to DOMAIN
|
||||
- "coop-cloud.${STACK_NAME}.version=0.1.0+0.2.29"
|
||||
- "coop-cloud.${STACK_NAME}.version=1.0.1+2.38.0"
|
||||
environment:
|
||||
- HTTP_SUBDIR
|
||||
volumes:
|
||||
|
||||
1
release/1.0.0+2.38.0
Normal file
1
release/1.0.0+2.38.0
Normal file
@ -0,0 +1 @@
|
||||
This switches from thttpd to the more reliable SWS
|
||||
Reference in New Issue
Block a user