added env file
This commit is contained in:
		
							
								
								
									
										7
									
								
								openwebui/.env
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								openwebui/.env
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					# For production you should set this to match the proxy configuration (127.0.0.1)
 | 
				
			||||||
 | 
					FORWARDED_ALLOW_IPS='127.0.0.1'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# DO NOT TRACK
 | 
				
			||||||
 | 
					SCARF_NO_ANALYTICS=true
 | 
				
			||||||
 | 
					DO_NOT_TRACK=true
 | 
				
			||||||
 | 
					ANONYMIZED_TELEMETRY=false
 | 
				
			||||||
@@ -5,9 +5,13 @@
 | 
				
			|||||||
services:
 | 
					services:
 | 
				
			||||||
  openwebui:
 | 
					  openwebui:
 | 
				
			||||||
    image: ghcr.io/open-webui/open-webui:main
 | 
					    image: ghcr.io/open-webui/open-webui:main
 | 
				
			||||||
 | 
					    mem_limit: 1.5g
 | 
				
			||||||
 | 
					    cpus: 0.5
 | 
				
			||||||
    ports:
 | 
					    ports:
 | 
				
			||||||
      - 127.0.0.1:3022:8080
 | 
					      - 127.0.0.1:3022:8080
 | 
				
			||||||
    volumes:
 | 
					    volumes:
 | 
				
			||||||
      - open-webui:/app/backend/data
 | 
					      - open-webui:/app/backend/data
 | 
				
			||||||
 | 
					    env_file:
 | 
				
			||||||
 | 
					      - .env
 | 
				
			||||||
volumes:
 | 
					volumes:
 | 
				
			||||||
  open-webui:
 | 
					  open-webui:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user