Use different network and service name for Traefik due to weird naming conflict problems concerning the role var traefik
This commit is contained in:
		
							parent
							
								
									6c09f6091c
								
							
						
					
					
						commit
						cad755f818
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -2,16 +2,16 @@ | ||||||
| version: '3' | version: '3' | ||||||
| 
 | 
 | ||||||
| networks: | networks: | ||||||
|   traefik: |   public: | ||||||
|     driver: bridge |     driver: bridge | ||||||
| 
 | 
 | ||||||
| services: | services: | ||||||
|   # Load Balancer / SSL / Web Server |   # Load Balancer / SSL / Web Server | ||||||
|   traefik: |   revproxy: | ||||||
|     image: traefik:v2.1 |     image: traefik:v2.1 | ||||||
|     restart: always |     restart: always | ||||||
|     networks: |     networks: | ||||||
|       - traefik |       - public | ||||||
|     ports: |     ports: | ||||||
| {% if traefik.expose_internally | default(False) %} | {% if traefik.expose_internally | default(False) %} | ||||||
|       - "8181:8080" |       - "8181:8080" | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue