Rejigger subdirectory hosting
This commit is contained in:
13
compose.yml
13
compose.yml
@ -20,10 +20,13 @@ services:
|
||||
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
|
||||
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
|
||||
- "coop-cloud.${STACK_NAME}.version=1.2.1+1.21.6"
|
||||
#environment:
|
||||
environment:
|
||||
- HTTP_SUBDIR
|
||||
volumes:
|
||||
- content:/var/www/http
|
||||
#configs:
|
||||
configs:
|
||||
- source: thttpd.conf
|
||||
target: /etc/thttpd.conf
|
||||
#healthcheck:
|
||||
# test: ["CMD", "curl", "-f", "http://localhost"]
|
||||
# interval: 30s
|
||||
@ -37,3 +40,9 @@ volumes:
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
|
||||
configs:
|
||||
thttpd_conf:
|
||||
name: ${STACK_NAME}_thttpd_conf_${THTTPD_DEFAULT_CONF_VERSION}
|
||||
file: thttpd.conf
|
||||
|
||||
|
||||
Reference in New Issue
Block a user