mirror of
https://github.com/bitwarden/server
synced 2025-12-15 07:43:54 +00:00
Feature/self hosted development (#1921)
* Add self-host option to migration runner * Add Self-host launch options * Add self-hosted settings override Let's a single secrets/env config file control both cloud and self-hosted settings by allowing overrides to cloud settings with self-hosted * Allow dev-signed licenses on dev self-hosted * Allow setting bitwarden cloud api url Useful for testing api integration between installations and cloud * Remove testing echoes * Remove run config property groups * Use `getopts` for options * Pass in full environment
This commit is contained in:
@@ -424,6 +424,7 @@ namespace Bit.Core.Settings
|
||||
public class InstallationSettings
|
||||
{
|
||||
private string _identityUri;
|
||||
private string _apiUri;
|
||||
|
||||
public Guid Id { get; set; }
|
||||
public string Key { get; set; }
|
||||
@@ -432,6 +433,10 @@ namespace Bit.Core.Settings
|
||||
get => string.IsNullOrWhiteSpace(_identityUri) ? "https://identity.bitwarden.com" : _identityUri;
|
||||
set => _identityUri = value;
|
||||
}
|
||||
public string ApiUri
|
||||
{
|
||||
get => string.IsNullOrWhiteSpace(_apiUri) ? "https://api.biwarden.com" : _apiUri;
|
||||
}
|
||||
}
|
||||
|
||||
public class AmazonSettings
|
||||
|
||||
Reference in New Issue
Block a user