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