This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app-lb: | |
ports: | |
- 80:80 | |
labels: | |
io.rancher.scheduler.affinity:host_label: server=proxy | |
io.rancher.loadbalancer.target.result: result.app:80=80 | |
io.rancher.loadbalancer.target.vote: vote.app:80=80 | |
tty: true | |
image: rancher/load-balancer-service | |
links: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Web.Http; | |
using System.Web.Http.Tracing; | |
using System.Reflection; | |
using Owin; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class WindsorJobActivator : JobActivator | |
{ | |
private readonly IWindsorContainer _container; | |
public WindsorJobActivator(IWindsorContainer container) | |
{ | |
_container = container; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace ContainerTest | |
{ | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using Castle.Core; | |
using Castle.MicroKernel; | |
using Castle.MicroKernel.Context; | |
using Castle.MicroKernel.Lifestyle; | |
using Castle.MicroKernel.Registration; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Indexing2 | |
{ | |
using System; | |
using Nest; | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
var settings = new ConnectionSettings(new Uri("http://index:9200")); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cassandra: | |
labels: | |
io.rancher.scheduler.affinity:host_label: server=stateful | |
tty: true | |
image: mashape/cassandra | |
stdin_open: true | |
kong: | |
labels: | |
io.rancher.scheduler.affinity:host_label: server=application | |
tty: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DocumentLb: | |
ports: | |
- 5984:5984 | |
labels: | |
io.rancher.scheduler.affinity:host_label: server=proxy | |
tty: true | |
image: rancher/load-balancer-service | |
links: | |
- Document:Document | |
stdin_open: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blog-lb: | |
ports: | |
- 80:80 | |
labels: | |
io.rancher.scheduler.affinity:host_label: server=proxy | |
tty: true | |
image: rancher/load-balancer-service | |
links: | |
- blog:blog | |
stdin_open: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace ConfigBuilderTest | |
{ | |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Dynamic; | |
using System.Globalization; | |
using System.IO; | |
using System.Linq; | |
using Newtonsoft.Json; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace TestIndex | |
{ | |
using Nest; | |
class Program |