Compare commits
5 Commits
74b1c12d42
...
14a178dd3f
Author | SHA1 | Date |
---|---|---|
Cassowary | 14a178dd3f | |
Cassowary | ddaac07872 | |
Cassowary | 5265e55aa5 | |
Cassowary | 5a1a9eab1b | |
Cassowary | dfb92731d9 |
|
@ -4,13 +4,13 @@ Custom HTML website, served using thttpd
|
|||
|
||||
<!-- metadata -->
|
||||
* **Category**: Apps
|
||||
* **Status**: 1, pre-alpha
|
||||
* **Image**: [`thttpd`](https://hub.docker.com/r/dragas/thttpd), 1, 3rd party
|
||||
* **Status**: 0, work-in-progress
|
||||
* **Image**: [`thttpd`](https://hub.docker.com/r/dragas/thttpd), 2, 3rd party image
|
||||
* **Healthcheck**: No
|
||||
* **Backups**: No
|
||||
* **Email**: N/A
|
||||
* **Tests**: 0
|
||||
* **SSO**: Yes
|
||||
* **SSO**: 3 (OAuth)
|
||||
<!-- endmetadata -->
|
||||
|
||||
## Basic usage
|
||||
|
|
2
abra.sh
2
abra.sh
|
@ -1,2 +1,2 @@
|
|||
export ENTRYPOINT_CONF_VERSION=v3
|
||||
export THTTPD_DEFAULT_CONF_VERSION=v1
|
||||
export THTTPD_DEFAULT_CONF_VERSION=v2
|
||||
|
|
15
compose.yml
15
compose.yml
|
@ -4,6 +4,7 @@ version: "3.8"
|
|||
services:
|
||||
app:
|
||||
image: dragas/thttpd
|
||||
command: ["-D", "-l", "/dev/stderr", "-d", "/var/www/http/$HTTP_SUBDIR"]
|
||||
networks:
|
||||
- proxy
|
||||
deploy:
|
||||
|
@ -21,15 +22,6 @@ services:
|
|||
- HTTP_SUBDIR
|
||||
volumes:
|
||||
- content:/var/www/http
|
||||
configs:
|
||||
- source: thttpd_conf
|
||||
target: /etc/thttpd.conf
|
||||
#healthcheck:
|
||||
# test: ["CMD", "curl", "-f", "http://localhost"]
|
||||
# interval: 30s
|
||||
# timeout: 10s
|
||||
# retries: 10
|
||||
# start_period: 1m
|
||||
|
||||
volumes:
|
||||
content:
|
||||
|
@ -38,8 +30,3 @@ networks:
|
|||
proxy:
|
||||
external: true
|
||||
|
||||
configs:
|
||||
thttpd_conf:
|
||||
name: ${STACK_NAME}_thttpd_conf_${THTTPD_DEFAULT_CONF_VERSION}
|
||||
file: thttpd.conf
|
||||
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
dir=/var/www/http/{{env "HTTP_SUBDIR"}}
|
||||
vhost
|
||||
chroot
|
||||
user=thttpd
|
||||
cgipat=**.cgi
|
||||
logfile=/var/log/thttpd/thttpd.log
|
||||
pidfile=/var/run/thttpd.pid
|
||||
charset=utf-8
|
Loading…
Reference in New Issue