private void RegisterDependencies(IServiceCollection services)
        {
            services.AddSimpleIdentityServerWebSite(opt =>
            {
                opt.IsHttpsAuthentication   = true;
                opt.IsCertificateSelfSigned = true;
                opt.Certificate             = CertificateProvider.Get();
                opt.DockerApiUri            = new Uri(_simpleIdentityServerOptions.DockerApiUrl);
            });
            var endPointConfiguration = new EndPointConfiguration(_simpleIdentityServerOptions.InstancePatternUrl);

            services.AddInstance <IEndPointConfiguration>(endPointConfiguration);
            services.AddSimpleIdentityServerEf(_simpleIdentityServerOptions.ConnectionString);
        }