Move mapping of port 80 to docker-compose.override.yml
Moving the port mapping to override file makes it possible to easy use an reverse proxy for production. This is necessary because it is not possible to remove a property with an override file. See https://docs.docker.com/compose/extends/#understanding-multiple-compose-files Resolves: #51
This commit is contained in:
		
							parent
							
								
									14c391edb7
								
							
						
					
					
						commit
						334f605bde
					
				
							
								
								
									
										6
									
								
								docker-compose.override.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								docker-compose.override.yml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,6 @@ | ||||
| version: '3.3' | ||||
| services: | ||||
| 
 | ||||
|   zammad-nginx: | ||||
|     ports: | ||||
|       - "80:80" | ||||
| @ -34,8 +34,6 @@ services: | ||||
|     links: | ||||
|       - zammad-railsserver | ||||
|       - zammad-websocket | ||||
|     ports: | ||||
|       - "80:80" | ||||
|     restart: always | ||||
|     volumes: | ||||
|       - data-zammad:/home/zammad | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user