/// <summary> /// Configure resource options /// </summary> /// <param name="builder"></param> public override void Configure(ContainerResourceBuilder builder) { builder .Name("ravendb") .Image("ravendb/ravendb:ubuntu-latest") .InternalPort(8080); }
/// <summary> /// Configure resource options /// </summary> /// <param name="builder"></param> public override void Configure(ContainerResourceBuilder builder) { builder .Name("redis") .Image("redis:latest") .InternalPort(6379); }
public override void Configure(ContainerResourceBuilder builder) { base.Configure(builder); builder .Name("graphql") .InternalPort(80) .Image("nginx"); }
public override void Configure(ContainerResourceBuilder builder) { builder .Name("neo4j") .Image("neo4j:4.2.0") .InternalPort(7687) .AddEnvironmentVariable("NEO4J_AUTH=none") .WaitTimeout(120); }
/// <summary> /// Configure resource options /// </summary> /// <param name="builder"></param> public override void Configure(ContainerResourceBuilder builder) { var name = "azurite_blob"; builder .Name(name) .Image("mcr.microsoft.com/azure-storage/azurite") .InternalPort(10000); }
/// <summary> /// Configure resource options /// </summary> /// <param name="builder"></param> public override void Configure(ContainerResourceBuilder builder) { builder .Name("rabbit") .Image("rabbitmq:3") .WaitTimeout(60) .InternalPort(5672) .Username("guest") .Password("guest"); }
public override void Configure(ContainerResourceBuilder builder) { base.Configure(builder); builder .Name("http-bin") .InternalPort(80) .Image("kennethreitz/httpbin"); ConfigureHttpStatusChecker("status/200"); }
/// <summary> /// Configure resource options /// </summary> /// <param name="builder"></param> public override void Configure(ContainerResourceBuilder builder) { var name = "elastic"; builder .Name(name) .Image("docker.elastic.co/elasticsearch/elasticsearch:7.17.2") .InternalPort(9200) .WaitTimeout(60) .AddEnvironmentVariable("discovery.type=single-node") .AddEnvironmentVariable($"cluster.name={name}"); }
public override void Configure(ContainerResourceBuilder builder) { base.Configure(builder); builder .Name("selenium-firefox") .WaitTimeout(30) .InternalPort(4444) .ExternalPort(4444) .Image("selenium/standalone-firefox:latest") .AddVolume("/dev/shm:/dev/shm") .AddNetwork("identity-net"); }
public override void Configure(ContainerResourceBuilder builder) { base.Configure(builder); builder .Name("identity") .WaitTimeout(30) .PreferLocalImage() .InternalPort(80) //.ExternalPort(5880) .AddNetwork("magic-api-net") .Image("magic-media-identity:dev"); }
/// <summary> /// Configure resource options /// </summary> /// <param name="builder"></param> public override void Configure(ContainerResourceBuilder builder) { var password = "******" + Guid.NewGuid().ToString("N"); builder .Name("mssql") .Image("mcr.microsoft.com/mssql/server:2019-latest") .InternalPort(1433) .Username("sa") .Password(password) .AddEnvironmentVariable("ACCEPT_EULA=Y") .AddEnvironmentVariable($"SA_PASSWORD={password}"); }
public override void Configure(ContainerResourceBuilder builder) { IConfiguration config = IdentityTestContext.BuildConfiguration(); string passwordKey = "ECall:Password"; string fromKey = "ECall:From"; base.Configure(builder); builder .Name("identity") .WaitTimeout(30) .PreferLocalImage() .InternalPort(80) .ExternalPort(80) .AddNetwork("identity-net") .AddEnvironmentVariable( $"{passwordKey}={config.GetValue<string>(passwordKey)}") .AddEnvironmentVariable( $"{fromKey}={config.GetValue<string>(fromKey)}") .Image("magic-media-identity:dev"); }