chore: Create docker-compose.yml
This commit is contained in:
		
							parent
							
								
									9fb704dcb7
								
							
						
					
					
						commit
						cdd4b8e8f6
					
				
							
								
								
									
										16
									
								
								docker-compose.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								docker-compose.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,16 @@
 | 
			
		||||
version: '3.8'
 | 
			
		||||
 | 
			
		||||
services:
 | 
			
		||||
  searxng:
 | 
			
		||||
    container_name: searxng
 | 
			
		||||
    build: 
 | 
			
		||||
      context: .
 | 
			
		||||
      dockerfile: Dockerfile
 | 
			
		||||
    ports:
 | 
			
		||||
      - "8888:8888"
 | 
			
		||||
    environment:
 | 
			
		||||
      SEARXNG_SETTINGS_PATH: "/etc/searxng/settings.yml"
 | 
			
		||||
    volumes:
 | 
			
		||||
      - ./settings.yml:/etc/searxng/settings.yml
 | 
			
		||||
      - ./requirements.txt:/app/requirements.txt
 | 
			
		||||
    command: ["sh", "-c", "source /usr/local/searxng/searx-pyenv/bin/activate && python searx/webapp.py"]
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user