Add a resolver

This commit adds a resolver to the toplevel Distillery domain, to allow
resolving domains globally.
This commit is contained in:
Tom Wiesing 2022-07-27 11:17:38 +02:00
parent eee3d95351
commit 45ee6b665e
No known key found for this signature in database
11 changed files with 129 additions and 7 deletions

View file

@ -0,0 +1,29 @@
version: "3.7"
services:
wdresolve:
image: ghcr.io/fau-cdi/wdresolve:latest
restart: always
volumes:
- "${PREFIX_FILE}:/prefixes.cfg:ro"
environment:
# port and hostname for this image to use
VIRTUAL_HOST: ${VIRTUAL_HOST}
VIRTUAL_PORT: 8080
VIRTUAL_PATH: /go/
# optional letsencrypt email
LETSENCRYPT_HOST: ${LETSENCRYPT_HOST}
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL}
# default and legacy domain
DEFAULT_DOMAIN: ${DEFAULT_DOMAIN}
LEGACY_DOMAIN: ${LEGACY_DOMAIN}
# the prefix file
PREFIX_FILE: /prefixes.cfg
networks:
default:
external:
name: distillery