initiale compose Anpassung
This commit is contained in:
parent
e459c328c4
commit
23879cc7f9
|
|
@ -0,0 +1,49 @@
|
|||
[api]
|
||||
debug = false
|
||||
dashboard = true
|
||||
logLevel = "DEBUG"
|
||||
|
||||
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"
|
||||
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
# Docker Compose File für traefik
|
||||
# docker-compose -f docker-compose.traefik.yml up -d
|
||||
# docker run -d -p 8080:8080 -p 80:80 \
|
||||
# -v $PWD/traefik.toml:/etc/traefik/traefik.toml \
|
||||
# -v /var/run/docker.sock:/var/run/docker.sock \
|
||||
# traefik
|
||||
|
||||
version: '2'
|
||||
|
||||
networks:
|
||||
traefik:
|
||||
|
||||
services:
|
||||
traefik:
|
||||
image: traefik:latest
|
||||
restart: always
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
devices:
|
||||
- "/dev/dvb:/dev/dvb"
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
- "8080:8080"
|
||||
networks:
|
||||
- traefik
|
||||
volumes:
|
||||
- /docker/traefik/config/traefik.toml:/etc/traefik/traefik.toml
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
Loading…
Reference in New Issue