Move request characters to the env file.
This commit is contained in:
		@@ -34,7 +34,7 @@ services:
 | 
				
			|||||||
    tty: true
 | 
					    tty: true
 | 
				
			||||||
    healthcheck:
 | 
					    healthcheck:
 | 
				
			||||||
      test: ['CMD-SHELL', './venv/bin/python scripts/healthcheck.py']
 | 
					      test: ['CMD-SHELL', './venv/bin/python scripts/healthcheck.py']
 | 
				
			||||||
    command: --req-limit 100 --char-limit 2000
 | 
					    command: --req-limit $REQUESTS --char-limit $CHARACTERS
 | 
				
			||||||
    environment:
 | 
					    environment:
 | 
				
			||||||
      # Allow the saving of API Keys. Requires volume libretranslate_api_keys.
 | 
					      # Allow the saving of API Keys. Requires volume libretranslate_api_keys.
 | 
				
			||||||
      - LT_API_KEYS=true
 | 
					      - LT_API_KEYS=true
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -12,6 +12,10 @@ COMPOSE_BAKE=true
 | 
				
			|||||||
CPU=2.00
 | 
					CPU=2.00
 | 
				
			||||||
RAM=4.0G
 | 
					RAM=4.0G
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# How much the users are able to utilize the server.
 | 
				
			||||||
 | 
					REQUESTS=100
 | 
				
			||||||
 | 
					CHARACTERS=2000
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Languages ###
 | 
					### Languages ###
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Check for language model updates on each run.
 | 
					## Check for language model updates on each run.
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user