forked from coop-cloud/traefik
		
	Compare commits
	
		
			1 Commits
		
	
	
		
			2.5.0+v2.1
			...
			self-signe
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 752d84e337 | 
@ -3,6 +3,7 @@ TYPE=traefik
 | 
			
		||||
DOMAIN=traefik.example.com
 | 
			
		||||
LETS_ENCRYPT_ENV=production
 | 
			
		||||
 | 
			
		||||
LETS_ENCRYPT_DISABLED=0
 | 
			
		||||
LETS_ENCRYPT_EMAIL=certs@example.com
 | 
			
		||||
# DASHBOARD_ENABLED=true
 | 
			
		||||
# WARN, INFO etc.
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										2
									
								
								abra.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								abra.sh
									
									
									
									
									
								
							@ -1,2 +1,2 @@
 | 
			
		||||
export TRAEFIK_YML_VERSION=v5
 | 
			
		||||
export TRAEFIK_YML_VERSION=v7
 | 
			
		||||
export FILE_PROVIDER_YML_VERSION=v1
 | 
			
		||||
 | 
			
		||||
@ -19,6 +19,8 @@ services:
 | 
			
		||||
      - proxy
 | 
			
		||||
    environment:
 | 
			
		||||
      - DASHBOARD_ENABLED
 | 
			
		||||
      - LETS_ENCRYPT_DISABLED
 | 
			
		||||
      - LETS_ENCRYPT_EMAIL
 | 
			
		||||
      - FOODSOFT_SMTP_ENABLED
 | 
			
		||||
      - GITEA_SSH_ENABLED
 | 
			
		||||
      - LOG_LEVEL
 | 
			
		||||
@ -38,7 +40,7 @@ services:
 | 
			
		||||
        - "traefik.http.services.traefik.loadbalancer.server.port=web"
 | 
			
		||||
        - "traefik.http.routers.traefik.rule=Host(`${DOMAIN}`)"
 | 
			
		||||
        - "traefik.http.routers.traefik.entrypoints=web-secure"
 | 
			
		||||
        - "traefik.http.routers.traefik.tls.certresolver=${LETS_ENCRYPT_ENV}"
 | 
			
		||||
          #- "traefik.http.routers.traefik.tls.certresolver=${LETS_ENCRYPT_ENV}"
 | 
			
		||||
        - "traefik.http.routers.traefik.tls.options=default@file"
 | 
			
		||||
        - "traefik.http.routers.traefik.service=api@internal"
 | 
			
		||||
        - "traefik.http.routers.traefik.middlewares=security@file"
 | 
			
		||||
 | 
			
		||||
@ -40,6 +40,7 @@ entrypoints:
 | 
			
		||||
ping:
 | 
			
		||||
  entryPoint: web
 | 
			
		||||
 | 
			
		||||
{{ if not (eq (env "LETS_ENCRYPT_DISABLED") "1") }}
 | 
			
		||||
certificatesResolvers:
 | 
			
		||||
  staging:
 | 
			
		||||
    acme:
 | 
			
		||||
@ -54,3 +55,4 @@ certificatesResolvers:
 | 
			
		||||
      storage: /etc/letsencrypt/production-acme.json
 | 
			
		||||
      httpChallenge:
 | 
			
		||||
        entryPoint: web
 | 
			
		||||
{{ end }}
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user