2024-04-07 09:04:32 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								include : 
 
							 
						 
					
						
							
								
									
										
										
										
											2024-11-12 14:59:41 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								   - ./docker-compose-base.yml 
 
							 
						 
					
						
							
								
									
										
										
										
											2024-07-26 10:52:56 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2024-04-07 09:04:32 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								services : 
 
							 
						 
					
						
							
								
									
										
										
										
											2024-02-28 15:01:12 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								   ragflow : 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								     depends_on : 
 
							 
						 
					
						
							
								
									
										
										
										
											2024-02-28 18:57:43 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								       mysql : 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								         condition :   service_healthy 
 
							 
						 
					
						
							
								
									
										
										
										
											2024-09-29 18:24:24 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								     image :   ${RAGFLOW_IMAGE} 
 
							 
						 
					
						
							
								
									
										
										
										
											2024-02-28 15:01:12 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								     container_name :   ragflow-server 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								     ports : 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								       - ${SVR_HTTP_PORT}:9380 
 
							 
						 
					
						
							
								
									
										
										
										
											2024-02-28 18:57:43 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								       - 80 : 80 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								       - 443 : 443 
 
							 
						 
					
						
							
								
									
										
										
										
											2024-02-28 15:01:12 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								     volumes : 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								       - ./ragflow-logs:/ragflow/logs 
 
							 
						 
					
						
							
								
									
										
										
										
											2024-02-29 12:50:01 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								       - ./nginx/ragflow.conf:/etc/nginx/conf.d/ragflow.conf 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								       - ./nginx/proxy.conf:/etc/nginx/proxy.conf 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								       - ./nginx/nginx.conf:/etc/nginx/nginx.conf 
 
							 
						 
					
						
							
								
									
										
										
										
											2024-11-12 14:59:41 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								     env_file :   .env 
 
							 
						 
					
						
							
								
									
										
										
										
											2024-03-05 12:08:41 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								     environment : 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								       - TZ=${TIMEZONE} 
 
							 
						 
					
						
							
								
									
										
										
										
											2024-09-23 10:00:44 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								       - HF_ENDPOINT=${HF_ENDPOINT} 
 
							 
						 
					
						
							
								
									
										
										
										
											2024-06-14 10:33:59 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								       - MACOS=${MACOS} 
 
							 
						 
					
						
							
								
									
										
										
										
											2024-02-28 15:01:12 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								     networks : 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								       - ragflow 
 
							 
						 
					
						
							
								
									
										
										
										
											2024-11-12 14:59:41 +08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								     restart :   on -failure 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								     # https://docs.docker.com/engine/daemon/prometheus/#create-a-prometheus-configuration 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								     # If you're using Docker Desktop, the --add-host flag is optional. This flag makes sure that the host's internal IP gets exposed to the Prometheus container.  
 
							 
						 
					
						
							
								
									
										
										
										
											2024-10-23 01:43:21 -07:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								     extra_hosts : 
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								       - "host.docker.internal:host-gateway"