add static web server

This commit is contained in:
Neale Pickett 2022-03-13 17:07:46 -06:00
parent 591bded705
commit 9c42e1f945
1 changed files with 12 additions and 3 deletions

View File

@ -183,9 +183,7 @@ services:
traefik.http.routers.gwsetup.service: gwsetup traefik.http.routers.gwsetup.service: gwsetup
traefik.http.services.gwsetup.loadbalancer.server.port: "2316" traefik.http.services.gwsetup.loadbalancer.server.port: "2316"
traefik.http.routers.geneweb.rule: "PathPrefix(`/geneweb`)" traefik.http.routers.geneweb.rule: "Host(`ancestry.woozle.org`)"
traefik.http.middlewares.geneweb-striparoo.stripprefix.prefixes: "/geneweb"
traefik.http.routers.geneweb.middlewares: geneweb-striparoo,forward-auth
traefik.http.routers.geneweb.service: geneweb traefik.http.routers.geneweb.service: geneweb
traefik.http.services.geneweb.loadbalancer.server.port: "2317" traefik.http.services.geneweb.loadbalancer.server.port: "2317"
@ -216,6 +214,17 @@ services:
- published: 445 - published: 445
target: 445 target: 445
public:
image: busybox
volumes:
- type: bind
source: /srv/ext/storage/public
target: /srv/ext/storage/public
command: [ "httpd", "-f", "-h", "/srv/ext/storage" ]
deploy:
labels:
traefik.http.routers.public.rule: "PathPrefix(`/public`)"
traefik.http.services.public.loadbalancer.server.port: "80"
configs: configs:
netdata.conf: netdata.conf: