fix network in docker
This commit is contained in:
		
							parent
							
								
									a196a935ea
								
							
						
					
					
						commit
						b377d00af3
					
				| 
						 | 
					@ -4,6 +4,8 @@ services:
 | 
				
			||||||
  nginx:
 | 
					  nginx:
 | 
				
			||||||
    image: nginx
 | 
					    image: nginx
 | 
				
			||||||
    restart: unless-stopped
 | 
					    restart: unless-stopped
 | 
				
			||||||
 | 
					    networks:
 | 
				
			||||||
 | 
					      - ingress
 | 
				
			||||||
    ports:
 | 
					    ports:
 | 
				
			||||||
      - 9999:80
 | 
					      - 9999:80
 | 
				
			||||||
    volumes:
 | 
					    volumes:
 | 
				
			||||||
| 
						 | 
					@ -15,3 +17,8 @@ services:
 | 
				
			||||||
      - "traefik.http.routers.infobeamer.rule=Host(`infobeamer.montage2.de`)"
 | 
					      - "traefik.http.routers.infobeamer.rule=Host(`infobeamer.montage2.de`)"
 | 
				
			||||||
      - "traefik.http.routers.infobeamer.entrypoints=web,websecure"
 | 
					      - "traefik.http.routers.infobeamer.entrypoints=web,websecure"
 | 
				
			||||||
      - "traefik.http.routers.infobeamer.tls.certresolver=default"
 | 
					      - "traefik.http.routers.infobeamer.tls.certresolver=default"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					networks:
 | 
				
			||||||
 | 
					  ingress:
 | 
				
			||||||
 | 
					    name: traefik
 | 
				
			||||||
 | 
					    external: true
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue