Merge branch 'main' of https://github.com/comfy-deploy/comfyui-deploy
This commit is contained in:
		
						commit
						d3e1ca1b0b
					
				@ -42,6 +42,9 @@ fly secrets set MODAL_TOKEN_SECRET=
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
## To deploy
 | 
					## To deploy
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					We have 2 `toml` files one for `production` and the other for `staging`
 | 
				
			||||||
 | 
					it will default to `staging` if you don't include the `-c` flag to choose your config file
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
// model-builder/fly.toml
 | 
					// model-builder/fly.toml
 | 
				
			||||||
app = <APP_NAME>
 | 
					app = <APP_NAME>
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										17
									
								
								builder/modal-builder/fly.production.toml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								builder/modal-builder/fly.production.toml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,17 @@
 | 
				
			|||||||
 | 
					# fly.toml app configuration file generated for modal-builder on 2024-01-03T22:29:34+08:00
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					app = "modal-builder"
 | 
				
			||||||
 | 
					primary_region = "sea"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[build]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[http_service]
 | 
				
			||||||
 | 
					  internal_port = 8080
 | 
				
			||||||
 | 
					  force_https = true
 | 
				
			||||||
 | 
					  auto_stop_machines = true
 | 
				
			||||||
 | 
					  auto_start_machines = true
 | 
				
			||||||
 | 
					  min_machines_running = 0
 | 
				
			||||||
 | 
					  processes = ["app"]
 | 
				
			||||||
@ -1,10 +1,10 @@
 | 
				
			|||||||
# fly.toml app configuration file generated for modal-builder on 2024-01-03T22:29:34+08:00
 | 
					# fly.toml app configuration file generated for modal-builder-preview on 2024-01-25T09:26:31Z
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
 | 
					# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
 | 
					
 | 
				
			||||||
app = "modal-builder"
 | 
					app = 'modal-builder-preview'
 | 
				
			||||||
primary_region = "sea"
 | 
					primary_region = 'sea'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[build]
 | 
					[build]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -14,4 +14,9 @@ primary_region = "sea"
 | 
				
			|||||||
  auto_stop_machines = true
 | 
					  auto_stop_machines = true
 | 
				
			||||||
  auto_start_machines = true
 | 
					  auto_start_machines = true
 | 
				
			||||||
  min_machines_running = 0
 | 
					  min_machines_running = 0
 | 
				
			||||||
  processes = ["app"]
 | 
					  processes = ['app']
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[[vm]]
 | 
				
			||||||
 | 
					  cpu_kind = 'shared'
 | 
				
			||||||
 | 
					  cpus = 1
 | 
				
			||||||
 | 
					  memory_mb = 1024
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user