mirror of
				https://github.com/livebook-dev/livebook.git
				synced 2025-11-04 10:26:08 +08:00 
			
		
		
		
	* Serve iframes from another local port when running on http * Use relative hostname in local iframe URL * Simplify server start check * Use random iframe port when Livebook runs on a random port * Rename space/ to iframe/ * LivebookWeb.IframePlug -> LivebookWeb.IframeEndpoint
		
			
				
	
	
		
			24 lines
		
	
	
	
		
			370 B
		
	
	
	
		
			TOML
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
	
		
			370 B
		
	
	
	
		
			TOML
		
	
	
	
	
	
app = "livebook-space"
 | 
						|
 | 
						|
kill_signal = "SIGTERM"
 | 
						|
kill_timeout = 5
 | 
						|
 | 
						|
[env]
 | 
						|
 | 
						|
[[services]]
 | 
						|
  internal_port = 4000
 | 
						|
  protocol = "tcp"
 | 
						|
 | 
						|
  [[services.ports]]
 | 
						|
    handlers = ["http"]
 | 
						|
    port = 80
 | 
						|
 | 
						|
  [[services.ports]]
 | 
						|
    handlers = ["tls", "http"]
 | 
						|
    port = 443
 | 
						|
 | 
						|
  [[services.tcp_checks]]
 | 
						|
    grace_period = "30s"
 | 
						|
    interval = "15s"
 | 
						|
    restart_limit = 6
 | 
						|
    timeout = "2s"
 |