mirror of
				https://github.com/avatao-content/baseimage-tutorial-framework
				synced 2025-11-04 07:12:54 +00:00 
			
		
		
		
	Make supervisor uncontrollable for now
Enabling to stop and start services on a container the user will possibly gain shell access isn't the best idea.
This commit is contained in:
		@@ -4,15 +4,6 @@ logfile = /tmp/supervisord.log
 | 
				
			|||||||
loglevel = DEBUG
 | 
					loglevel = DEBUG
 | 
				
			||||||
pidfile = /tmp/supervisord.pid
 | 
					pidfile = /tmp/supervisord.pid
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[unix_http_server]
 | 
					 | 
				
			||||||
file=/tmp/supervisor.sock
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
[rpcinterface:supervisor]
 | 
					 | 
				
			||||||
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
[supervisorctl]
 | 
					 | 
				
			||||||
serverurl=unix:///tmp/supervisor.sock
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
[program:app]
 | 
					[program:app]
 | 
				
			||||||
directory=%(ENV_TFW_APP_DIR)s
 | 
					directory=%(ENV_TFW_APP_DIR)s
 | 
				
			||||||
command=env python app.py
 | 
					command=env python app.py
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user