Compare commits
5 Commits
74b1c12d42
...
14a178dd3f
Author | SHA1 | Date | |
---|---|---|---|
14a178dd3f | |||
ddaac07872 | |||
5265e55aa5 | |||
5a1a9eab1b | |||
dfb92731d9 |
@ -4,13 +4,13 @@ Custom HTML website, served using thttpd
|
|||||||
|
|
||||||
<!-- metadata -->
|
<!-- metadata -->
|
||||||
* **Category**: Apps
|
* **Category**: Apps
|
||||||
* **Status**: 1, pre-alpha
|
* **Status**: 0, work-in-progress
|
||||||
* **Image**: [`thttpd`](https://hub.docker.com/r/dragas/thttpd), 1, 3rd party
|
* **Image**: [`thttpd`](https://hub.docker.com/r/dragas/thttpd), 2, 3rd party image
|
||||||
* **Healthcheck**: No
|
* **Healthcheck**: No
|
||||||
* **Backups**: No
|
* **Backups**: No
|
||||||
* **Email**: N/A
|
* **Email**: N/A
|
||||||
* **Tests**: 0
|
* **Tests**: 0
|
||||||
* **SSO**: Yes
|
* **SSO**: 3 (OAuth)
|
||||||
<!-- endmetadata -->
|
<!-- endmetadata -->
|
||||||
|
|
||||||
## Basic usage
|
## Basic usage
|
||||||
|
2
abra.sh
2
abra.sh
@ -1,2 +1,2 @@
|
|||||||
export ENTRYPOINT_CONF_VERSION=v3
|
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:
|
services:
|
||||||
app:
|
app:
|
||||||
image: dragas/thttpd
|
image: dragas/thttpd
|
||||||
|
command: ["-D", "-l", "/dev/stderr", "-d", "/var/www/http/$HTTP_SUBDIR"]
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
deploy:
|
deploy:
|
||||||
@ -21,15 +22,6 @@ services:
|
|||||||
- HTTP_SUBDIR
|
- HTTP_SUBDIR
|
||||||
volumes:
|
volumes:
|
||||||
- content:/var/www/http
|
- 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:
|
volumes:
|
||||||
content:
|
content:
|
||||||
@ -38,8 +30,3 @@ networks:
|
|||||||
proxy:
|
proxy:
|
||||||
external: true
|
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
Block a user