Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The following items and now configurable at runtime.
Command Switch/Environment variable - Description
These changes are primarily of use to help with Development environments. However, they may be useful to other users e.g. overriding the default directory location, can help manage space, e.g., on Windows the default location is the system drive. Overriding individual directories can also allow sharing directories between multiple instances, eg developers could override the Video Preview directory to share a single preview directory between multiple development instances.
The Web Service port is now configurable to allow multiple instances of XBVR on a platform, eg Windows, not really required if using Dockers. Overriding the default APPDIR also helps run multiple instances.
All switches are Optional. Run Command take priority over Environment variables, which take priority over database settings (where applicable)
Example run command: c:\xbvr\xbvr.exe -app_dir "D:\xbvr_dev1" -web_port 9980 -ws_addr 0.0.0.0:9981 -database_url "mysql://root:password@192.168.1.1:3306/xbvr_dev1?charset=utf8mb4&parseTime=True&loc=Local"