coredns-web-ui deployment
This commit is contained in:
commit
07d2e544dd
5 files changed
+126
No files matched your search
@@ -0,0 +1,43 @@
|
||||
---
|
||||
services:
|
||||
coredns-web-ui:
|
||||
image: git.bjphoster.com/source/coredns-web-ui:${COREDNS_WEBUI_VERSION}
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 30s
|
||||
environment:
|
||||
- DB_HOST=${DB_HOST}
|
||||
- DB_PORT=${DB_PORT}
|
||||
- DB_USER=${DB_USER}
|
||||
- DB_PASSWORD=${DB_PASSWORD}
|
||||
- DB_NAME=${DB_NAME}
|
||||
- DB_TLS=${DB_TLS}
|
||||
- DB_TABLE_PREFIX=${DB_TABLE_PREFIX}
|
||||
- HTTP_ADDR=0.0.0.0
|
||||
- HTTP_PORT=${TRAEFIK_SERVICE_PORT}
|
||||
- LOG_LEVEL=${LOG_LEVEL}
|
||||
- APP_NAME=${APP_NAME}
|
||||
- COOKIE_SECURE=${COOKIE_SECURE}
|
||||
- SESSION_IDLE_TIMEOUT=${SESSION_IDLE_TIMEOUT}
|
||||
- SESSION_MAX_AGE=${SESSION_MAX_AGE}
|
||||
- TRUSTED_PROXIES=${TRUSTED_PROXIES}
|
||||
labels:
|
||||
### Section Træfik
|
||||
- traefik.enable=${TRAEFIK_ENABLED}
|
||||
- traefik.docker.network=${TRAEFIK_NETWORK}
|
||||
# HTTPS
|
||||
- traefik.http.routers.https-${TRAEFIK_ROUTER}.entrypoints=https
|
||||
# configure the exposed service
|
||||
- traefik.http.routers.https-${TRAEFIK_ROUTER}.middlewares=${TRAEFIK_MIDDLEWARES}
|
||||
- traefik.http.routers.https-${TRAEFIK_ROUTER}.rule=${TRAEFIK_MATCHRULE}
|
||||
# enable TLS and its certificate provider
|
||||
- traefik.http.routers.https-${TRAEFIK_ROUTER}.tls=${TRAEFIK_TLSENABLED}
|
||||
- traefik.http.routers.https-${TRAEFIK_ROUTER}.tls.certresolver=${TRAEFIK_CERTRESOLVER}
|
||||
# specify a service so a custom port can be used
|
||||
- traefik.http.services.${TRAEFIK_SERVICE}.loadbalancer.server.port=${TRAEFIK_SERVICE_PORT}
|
||||
networks:
|
||||
- traefik
|
||||
|
||||
networks:
|
||||
traefik:
|
||||
external: true
|
||||
name: ${TRAEFIK_NETWORK}
|
||||
Reference in new issue
Block a user