mirror of
				https://git.sr.ht/~tsileo/microblog.pub
				synced 2025-06-05 21:59:23 +02:00 
			
		
		
		
	Add supervisord.conf file in misc
This commit is contained in:
		
							
								
								
									
										17
									
								
								misc/supervisord.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								misc/supervisord.conf
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | |||||||
|  | [supervisord] | ||||||
|  |  | ||||||
|  | [fcgi-program:uvicorn] | ||||||
|  | socket=tcp://localhost:8000 | ||||||
|  | command=%(ENV_VENV_DIR)s/bin/uvicorn app.main:app --no-server-header --fd 0 | ||||||
|  | numprocs=2 | ||||||
|  | process_name=uvicorn-%(process_num)d | ||||||
|  | stdout_logfile=/dev/stdout | ||||||
|  | stderr_logfile=/dev/stdout | ||||||
|  | stdout_logfile_maxbytes=0 | ||||||
|  |  | ||||||
|  | [program:worker] | ||||||
|  | command=%(ENV_VENV_DIR)s/bin/inv process-outgoing-activities | ||||||
|  | numproc=1 | ||||||
|  | stdout_logfile=/dev/stdout | ||||||
|  | stderr_logfile=/dev/stdout | ||||||
|  | stdout_logfile_maxbytes=0 | ||||||
		Reference in New Issue
	
	Block a user