I hereby claim:
- I am lgazo on github.
- I am ladislav (https://keybase.io/ladislav) on keybase.
- I have a public key ASAGCQvEgQm3x0F5nhFkuSWGh-f1EJFFBLmPWejZ9HisCQo
To claim this, I am signing this object:
| javascript:(function(){main = document.querySelector('#contentcolumn > div');main.style.left = '0%';main.style.width = '100%';left = document.querySelector('#leftPanels');left.style.right = '0%';left.style.display = 'none';})(); |
| javascript:(function(){main = document.querySelector('#contentcolumn > div');main.style.left = null;main.style.width = null;left = document.querySelector('#leftPanels');left.style.right = null;left.style.display = null;})(); |
I hereby claim:
To claim this, I am signing this object:
| shopdata: | |
| image: acme/shop-data | |
| shopservice: | |
| image: acme/shop | |
| environment: | |
| - SERVICE_NAME=shop | |
| - SERVICE_TAGS=fancy,api | |
| router: |
| consul = "consul.service.consul:8500" | |
| template { | |
| source = "/etc/consul-template/templates/shop.conf" | |
| destination = "/etc/nginx/conf.d/shop.conf" | |
| command = "/etc/init.d/nginx reload" | |
| } |
| FROM ubuntu:trusty | |
| VOLUME /etc/consul-template/templates | |
| VOLUME /etc/consul-template/conf | |
| COPY conf/* /etc/consul-template/conf/ | |
| COPY templates/* /etc/consul-template/templates/ | |
| CMD tail -f /dev/null |
| upstream shop { | |
| least_conn; | |
| {{range service "shop"}}server {{.Address}}:{{.Port}} max_fails=3 fail_timeout=60 weight=1; | |
| {{else}}server 127.0.0.1:65535; # force a 502{{end}} | |
| } | |
| server { | |
| listen 80; | |
| server_name api.shop.com; |
| <plugin> | |
| <groupId>net.alchim31.maven</groupId> | |
| <artifactId>scala-maven-plugin</artifactId> | |
| <version>3.1.7-SNAPSHOT</version> | |
| <!-- <configuration> --> | |
| <!-- <recompileMode>incremental</recompileMode> --> | |
| <!-- </configuration> --> | |
| <executions> | |
| <!-- <execution> --> | |
| <!-- <id>scala-compile-first</id> --> |
| <dependency> | |
| <groupId>org.scala-lang</groupId> | |
| <artifactId>scala-library</artifactId> | |
| <version>2.11.5</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>org.scalatest</groupId> | |
| <artifactId>scalatest_2.11</artifactId> | |
| <version>2.2.4</version> |
| <Resource auth="Container" factory="com.sun.messaging.naming.AdministeredObjectFactory" imqAddressList="mq://localhost/direct" imqReconnectAttempts="100" name="jms/acris/generalQCF" readOnly="true" type="com.sun.messaging.QueueConnectionFactory" version="3.0"/> |