This commit is contained in:
MatthiasCzech 2019-02-03 02:50:48 +01:00
parent 23879cc7f9
commit 15893104c4
3 changed files with 63 additions and 33 deletions

0
config/acme.json Normal file
View File

View File

@ -1,22 +1,65 @@
[api] # [api]
debug = false # debug = false
dashboard = true # dashboard = true
logLevel = "DEBUG" # logLevel = "DEBUG"
defaultEntryPoints = ["https", "http"] # defaultEntryPoints = ["https", "http"]
# [entryPoints]
# [entryPoints.http]
# address = ":80"
# [entryPoints.http.redirect]
# entryPoint = "https"
# [entryPoints.http.auth.basic]
# users = ["McSeeno:$2y$13$maYBYazCRDGmcKdSy/QA0eWBUEIpobxcUy.z68fnifcpoCqWm18wW"]
# [entryPoints.https]
# address = ":443"
# [entryPoints.https.auth.basic]
# users = ["McSeeno:$2y$13$maYBYazCRDGmcKdSy/QA0eWBUEIpobxcUy.z68fnifcpoCqWm18wW"]
# [entryPoints.https.tls]
# [retry]
# [docker]
# endpoint = "unix:///var/run/docker.sock"
# domain = "uvnsvdjwhkosuuub.myfritz.net"
# watch = true
# exposedByDefault = false
# [acme]
# email = "regs@mcseeno.de"
# storage = "acme.json"
# entryPoint = "https"
# onHostRule = true
# # [[acme.domains]]
# # main = "uvnsvdjwhkosuuub.myfritz.net"
# [acme.httpChallenge]
# entryPoint = "http"
# [frontends]
# [frontends.dokuwiki]
# backend = "dokuwiki"
# [frontends.dokuwiki.routes.wiki]
# rule = "Host:localhost,192.168.2.79,uvnsvdjwhkosuuub.myfritz.net;Path:/wiki"
# [backends]
# [backends.dokuwiki]
# [backends.dokuwiki.servers.wiki]
# url = "http://172.17.0.2:80"
debug = false
logLevel = "ERROR"
defaultEntryPoints = ["https","http"]
[entryPoints] [entryPoints]
[entryPoints.http] [entryPoints.http]
address = ":80" address = ":80"
[entryPoints.http.redirect] [entryPoints.http.redirect]
entryPoint = "https" entryPoint = "https"
[entryPoints.http.auth.basic] [entryPoints.https]
users = ["McSeeno:$2y$13$maYBYazCRDGmcKdSy/QA0eWBUEIpobxcUy.z68fnifcpoCqWm18wW"] address = ":443"
[entryPoints.https] [entryPoints.https.tls]
address = ":443"
[entryPoints.https.auth.basic]
users = ["McSeeno:$2y$13$maYBYazCRDGmcKdSy/QA0eWBUEIpobxcUy.z68fnifcpoCqWm18wW"]
[entryPoints.https.tls]
[retry] [retry]
@ -31,19 +74,5 @@ email = "regs@mcseeno.de"
storage = "acme.json" storage = "acme.json"
entryPoint = "https" entryPoint = "https"
onHostRule = true onHostRule = true
# [[acme.domains]]
# main = "uvnsvdjwhkosuuub.myfritz.net"
[acme.httpChallenge] [acme.httpChallenge]
entryPoint = "http" entryPoint = "http"
[frontends]
[frontends.dokuwiki]
backend = "dokuwiki"
[frontends.dokuwiki.routes.wiki]
rule = "Host:localhost,192.168.2.79,uvnsvdjwhkosuuub.myfritz.net;Path:/wiki"
[backends]
[backends.dokuwiki]
[backends.dokuwiki.servers.wiki]
url = "http://172.17.0.2:80"

View File

@ -9,6 +9,7 @@ version: '2'
networks: networks:
traefik: traefik:
external: true
services: services:
traefik: traefik:
@ -17,15 +18,15 @@ services:
environment: environment:
- PUID=1000 - PUID=1000
- PGID=1000 - PGID=1000
devices:
- "/dev/dvb:/dev/dvb"
ports: ports:
- "80:80" - "80:80"
- "443:443" - "443:443"
- "8080:8080" # - "8080:8080"
networks: networks:
- traefik - traefik
volumes: volumes:
- /docker/traefik/config/traefik.toml:/etc/traefik/traefik.toml - /docker/traefik/config/traefik.toml:/etc/traefik/traefik.toml
- /docker/traefik/config/acme.json:/acme.json
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
container_name: traefik