Move resources to env file.
This commit is contained in:
		
							
								
								
									
										45
									
								
								Config/Gitea/env.example
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										45
									
								
								Config/Gitea/env.example
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,45 @@ | ||||
| # This file should be copied as `.env`. | ||||
|  | ||||
| ## Docker ## | ||||
|  | ||||
| COMPOSE_BAKE=true | ||||
|  | ||||
| ## Performance ## | ||||
|  | ||||
| # Micro Server | ||||
| CPU=0.20 | ||||
| MEM=0.20G | ||||
|  | ||||
| # Standard Server | ||||
| #CPU=1.00 | ||||
| #MEM=1.00G | ||||
|  | ||||
| ## Test Results | ||||
| # 0.05 CPU, 64MB RAM | ||||
| # : Minimum requirements for processes to start properly. | ||||
| # : Takes a while to start up and migrate projects, but does work. | ||||
| # - Migrate https://github.com/hyperling/ansible | ||||
| #   - Page: 10512ms Template: 2111ms | ||||
| # - Migrate https://github.com/hyperling/website | ||||
| #   - Page: 6514ms  Template: 807ms | ||||
| # - Migrate https://github.com/hyperling/docker | ||||
| #   - Page: 8105ms  Template: 1201ms | ||||
| # 0.10 CPU, 128MB RAM | ||||
| # : Production-quality performance. | ||||
| # - Migrate https://github.com/hyperling/ansible | ||||
| #   - Page: 2501ms Template: 294ms | ||||
| # - Migrate https://github.com/hyperling/website | ||||
| #   - Page: 786ms Template: 194ms | ||||
| # - Migrate https://github.com/hyperling/docker | ||||
| #   - Page: 1283ms Template: 87ms | ||||
| # 0.25 CPU, 192MB RAM | ||||
| # : Extra! Idles around 120M but exceeds 170M sometimes after busy. | ||||
| # - Migrate https://github.com/hyperling/ansible | ||||
| #   - Page: 439ms Template: 101ms | ||||
| # - Migrate https://github.com/hyperling/website | ||||
| #   - Page: 541ms Template: 2ms | ||||
| # - Migrate https://github.com/hyperling/docker | ||||
| #   - Page: 254ms Template: 86ms | ||||
| # 0.50 CPU, 192MB RAM | ||||
| # : Final thoughts after more production usage. | ||||
| ## | ||||
		Reference in New Issue
	
	Block a user