- set WEB_CONCURRENCY env var to configure number of backend api workers for both docker and k8s - set via 'backend_workers' in values.yaml - also add 'rwp_base_url' to values.yaml - update containers to use public webrecorder/browsertrix-backend and webrecorder/browsertrix-frontend containers - make liveness, readiness and startup health checks more tolerant
		
			
				
	
	
		
			13 lines
		
	
	
		
			191 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			191 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
| FROM python:3.9
 | |
| 
 | |
| WORKDIR /app
 | |
| 
 | |
| ADD requirements.txt /app
 | |
| 
 | |
| RUN pip install -r requirements.txt
 | |
| 
 | |
| ADD . /app
 | |
| 
 | |
| CMD uvicorn main:app --host 0.0.0.0 --root-path /api --access-log --log-level info
 | |
| 
 |