mirror of
				https://github.com/Frooodle/Stirling-PDF.git
				synced 2025-10-25 11:17:28 +02:00 
			
		
		
		
	APP_ROOT_PATH
This commit is contained in:
		
							parent
							
								
									fd918ef15f
								
							
						
					
					
						commit
						d2a4cf74e8
					
				| @ -84,6 +84,7 @@ docker run -d \ | |||||||
|   -e APP_HOME_DESCRIPTION="Your locally hosted one-stop-shop for all your PDF needs." \ |   -e APP_HOME_DESCRIPTION="Your locally hosted one-stop-shop for all your PDF needs." \ | ||||||
|   -e APP_NAVBAR_NAME="Stirling PDF" \ |   -e APP_NAVBAR_NAME="Stirling PDF" \ | ||||||
|   -e ALLOW_GOOGLE_VISABILITY="true" \ |   -e ALLOW_GOOGLE_VISABILITY="true" \ | ||||||
|  |   -e APP_ROOT_PATH="/" \ | ||||||
|   -e APP_LOCALE="en_GB" \ |   -e APP_LOCALE="en_GB" \ | ||||||
| ``` | ``` | ||||||
| Docker Compose | Docker Compose | ||||||
| @ -102,6 +103,7 @@ services: | |||||||
| #      APP_HOME_NAME: Stirling PDF | #      APP_HOME_NAME: Stirling PDF | ||||||
| #      APP_HOME_DESCRIPTION: Your locally hosted one-stop-shop for all your PDF needs. | #      APP_HOME_DESCRIPTION: Your locally hosted one-stop-shop for all your PDF needs. | ||||||
| #      APP_NAVBAR_NAME: Stirling PDF | #      APP_NAVBAR_NAME: Stirling PDF | ||||||
|  | #      APP_ROOT_PATH: / | ||||||
| #      ALLOW_GOOGLE_VISABILITY: true | #      ALLOW_GOOGLE_VISABILITY: true | ||||||
| 
 | 
 | ||||||
| ``` | ``` | ||||||
| @ -131,6 +133,7 @@ If running Java directly, you can also pass these as properties using -D argumen | |||||||
| Using the same method you can also change  | Using the same method you can also change  | ||||||
| - The default language by providing APP_LOCALE with values like de-DE fr-FR or ar-AR to select your default language (Will always default to English on invalid locale) | - The default language by providing APP_LOCALE with values like de-DE fr-FR or ar-AR to select your default language (Will always default to English on invalid locale) | ||||||
| - Enable/Disable search engine visablility with ALLOW_GOOGLE_VISABILITY with true / false values. Default disable visability. | - Enable/Disable search engine visablility with ALLOW_GOOGLE_VISABILITY with true / false values. Default disable visability. | ||||||
|  | - Change root URI for Stirling-PDF ie change server.com/ to server.com/pdf-app by running APP_ROOT_PATH as pdf-app | ||||||
| 
 | 
 | ||||||
| ## API | ## API | ||||||
| For those wanting to use Stirling-PDFs backend API to link with their own custom scripting to edit PDFs you can view all existing API documentation | For those wanting to use Stirling-PDFs backend API to link with their own custom scripting to edit PDFs you can view all existing API documentation | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user