Commit 72487741 authored by Michael Iseard's avatar Michael Iseard
Browse files

Add ADMINER_HOST env var

parent 6be6d27b
# general # general
HOST=subdomain.domain.com HOST=sub.domain.com
ADMINER_HOST=adminer.domain.com
CONTAINER_PREFIX=myproject CONTAINER_PREFIX=myproject
# wordpress - wordpress:php7.3-fpm # wordpress - wordpress:php7.3-fpm
......
...@@ -15,7 +15,7 @@ services: ...@@ -15,7 +15,7 @@ services:
labels: labels:
- traefik.enable=true - traefik.enable=true
- traefik.docker.network=web - traefik.docker.network=web
- traefik.http.routers.adminer.rule=Host(`adminer.iseard.media`) - traefik.http.routers.adminer.rule=Host(`${ADMINER_HOST}`)
- traefik.http.routers.adminer.tls.certresolver=cloudflare - traefik.http.routers.adminer.tls.certresolver=cloudflare
- traefik.http.routers.adminer.entrypoints=websecure - traefik.http.routers.adminer.entrypoints=websecure
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment