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
<profile> | |
<id>docker</id> | |
<activation> | |
<file> | |
<exists>${basedir}/.docker</exists> | |
</file> | |
</activation> | |
<build> | |
<plugins> | |
<plugin> |
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
<groupId>sk.seges.acris</groupId> | |
<articleId>acris-tomcat-support</articleId> | |
<version>2.0.0</version> |
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
<Listener className="sk.seges.acris.jeesupport.tomcat.ImqBrokerListener"/> |
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
CATALINA_OPTS="$CATALINA_OPTS -Dimq.imqhome=$CATALINA_HOME/mq -Dimq.varhome=$CATALINA_HOME/mq/var -Dimq.name=imqEmbedded -Dimq.port=7676" | |
export IMQ_HOME="$CATALINA_HOME/mq" |
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
<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"/> |
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
<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> |
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
<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> --> |
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
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; |
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
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 |
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
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" | |
} |
OlderNewer