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"
|
||||
https:
|
||||
address: ":443"
|
||||
http:
|
||||
tls:
|
||||
strictSNIHost: true
|
||||
|
||||
serversTransport:
|
||||
insecureSkipVerify: false
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
services:
|
||||
traefik:
|
||||
image: traefik:${TRAEFIK_VERSION:-latest}
|
||||
name: traefik
|
||||
container_name: traefik
|
||||
restart: unless-stopped
|
||||
security_opt:
|
||||
- "no-new-privileges:true"
|
||||
|
@ -12,8 +12,11 @@ services:
|
|||
- ${TRAEFIK_HTTP_PORT:-80}:80
|
||||
- ${TRAEFIK_HTTPS_PORT:-443}:443
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
- ./data/traefik:/etc/traefik
|
||||
- ./data/certs:/etc/certs:ro
|
||||
- ./data/logs/traefik.log:/var/log/traefik.log
|
||||
- ./data/logs/access.log:/vat/log/crowdsec/traefik.log
|
||||
environment:
|
||||
- "CF_API_EMAIL=${CLOUDFLARE_MAIL:?error}"
|
||||
- "CF_DNS_API_TOKEN=${CLOUDFLARE_TOKEN:?error}"
|
||||
|
|
Loading…
Add table
Reference in a new issue