fix bugs
This commit is contained in:
parent
48101aacf4
commit
dd94eeb398
3 changed files with 4 additions and 4 deletions
0
traefik/data/logs/traefik.log
Normal file
0
traefik/data/logs/traefik.log
Normal file
|
@ -16,9 +16,6 @@ entryPoints:
|
||||||
address: ":80"
|
address: ":80"
|
||||||
https:
|
https:
|
||||||
address: ":443"
|
address: ":443"
|
||||||
http:
|
|
||||||
tls:
|
|
||||||
strictSNIHost: true
|
|
||||||
|
|
||||||
serversTransport:
|
serversTransport:
|
||||||
insecureSkipVerify: false
|
insecureSkipVerify: false
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
services:
|
services:
|
||||||
traefik:
|
traefik:
|
||||||
image: traefik:${TRAEFIK_VERSION:-latest}
|
image: traefik:${TRAEFIK_VERSION:-latest}
|
||||||
name: traefik
|
container_name: traefik
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
security_opt:
|
security_opt:
|
||||||
- "no-new-privileges:true"
|
- "no-new-privileges:true"
|
||||||
|
@ -12,8 +12,11 @@ services:
|
||||||
- ${TRAEFIK_HTTP_PORT:-80}:80
|
- ${TRAEFIK_HTTP_PORT:-80}:80
|
||||||
- ${TRAEFIK_HTTPS_PORT:-443}:443
|
- ${TRAEFIK_HTTPS_PORT:-443}:443
|
||||||
volumes:
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
- ./data/traefik:/etc/traefik
|
- ./data/traefik:/etc/traefik
|
||||||
- ./data/certs:/etc/certs:ro
|
- ./data/certs:/etc/certs:ro
|
||||||
|
- ./data/logs/traefik.log:/var/log/traefik.log
|
||||||
|
- ./data/logs/access.log:/vat/log/crowdsec/traefik.log
|
||||||
environment:
|
environment:
|
||||||
- "CF_API_EMAIL=${CLOUDFLARE_MAIL:?error}"
|
- "CF_API_EMAIL=${CLOUDFLARE_MAIL:?error}"
|
||||||
- "CF_DNS_API_TOKEN=${CLOUDFLARE_TOKEN:?error}"
|
- "CF_DNS_API_TOKEN=${CLOUDFLARE_TOKEN:?error}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue