[nextcloud] Add internal network
This commit is contained in:
		
							parent
							
								
									9ace5ec0c4
								
							
						
					
					
						commit
						441c3c31f8
					
				
					 1 changed files with 7 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -9,6 +9,8 @@ services:
 | 
			
		|||
      - POSTGRES_PASSWORD=postgres
 | 
			
		||||
    volumes:
 | 
			
		||||
      - postgres_data:/var/lib/postgresql/data
 | 
			
		||||
    networks:
 | 
			
		||||
      - nextcloud
 | 
			
		||||
 | 
			
		||||
  app:
 | 
			
		||||
    image: nextcloud:${nextcloud_version:-latest}
 | 
			
		||||
| 
						 | 
				
			
			@ -24,11 +26,13 @@ services:
 | 
			
		|||
      - db
 | 
			
		||||
    networks:
 | 
			
		||||
      - webproxy
 | 
			
		||||
      - nextcloud
 | 
			
		||||
      
 | 
			
		||||
networks:
 | 
			
		||||
 webproxy:
 | 
			
		||||
   external:
 | 
			
		||||
     name: webproxy
 | 
			
		||||
  nextcloud:
 | 
			
		||||
  webproxy:
 | 
			
		||||
   external: true
 | 
			
		||||
   name: webproxy
 | 
			
		||||
 | 
			
		||||
volumes:
 | 
			
		||||
  postgres_data:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue