Compare commits

...

5 Commits

4 changed files with 5 additions and 26 deletions

View File

@ -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

View File

@ -1,2 +1,2 @@
export ENTRYPOINT_CONF_VERSION=v3
export THTTPD_DEFAULT_CONF_VERSION=v1
export THTTPD_DEFAULT_CONF_VERSION=v2

View File

@ -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

View File

@ -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