Skip to content

Instantly share code, notes, and snippets.

View jay-johnson's full-sized avatar

Jay jay-johnson

View GitHub Profile
@jay-johnson
jay-johnson / Using Docker Compose to deploy Spring XD 1.3 with a RabbitMQ Cluster.md
Last active November 26, 2015 08:57
Using Docker Compose to deploy Spring XD 1.3 with a RabbitMQ Cluster

Using Docker Compose to deploy Spring XD 1.3 with a RabbitMQ Cluster

  1. Create a compose.env file with the contents:
XD_TRANSPORT=rabbit
HSQL_SERVER_HOST=hsqldb
SPRING_REDIS_HOST=redis1
SPRING_RABBITMQ_ADDRESSES=rabbit1:5672
@jay-johnson
jay-johnson / example compose.env
Created November 27, 2015 07:46
example compose.env
XD_TRANSPORT=rabbit
HSQL_SERVER_HOST=hsqldb
SPRING_REDIS_HOST=redis1
SPRING_RABBITMQ_ADDRESSES=rabbit1:5672
ZK_CLIENT_CONNECT=zookeeper1:2181
@jay-johnson
jay-johnson / Travis Build Status Badge in README.md
Last active November 27, 2015 07:52
Travis Build Status Badge in README.md

Travis

@jay-johnson
jay-johnson / Docker Containers for Spring XD 1.3 with Travis CI and Docker Hub Container Images.md
Created November 27, 2015 08:02
Docker Containers for Spring XD 1.3 with Travis CI and Docker Hub Container Images
@jay-johnson
jay-johnson / Local Distributed Spring XD 1.3 running in Docker.md
Created November 27, 2015 16:02
Local Distributed Spring XD 1.3 running in Docker
$ docker ps
CONTAINER ID        IMAGE                             COMMAND                  CREATED             STATUS              PORTS                                                                                                                                                                                                                                                                                                NAMES
d2d9793f958d        jayjohnson/springxd-container     "/opt/spring-xd/start"   19 minutes ago      Up 19 minutes       0.0.0.0:8080-8081->8080-8081/tcp                                                                                                                                                                                                                                                                     container1
a0bb0439ac81        jayjohnson/springxd-admin         "/opt/spring-xd/start"   22 minutes ago      Up 21 minutes       0.0.0.0:9393->9393/tcp                          
@jay-johnson
jay-johnson / Connect the XD Shell to XD Admin running in Docker.md
Last active November 27, 2015 20:47
Connect the XD Shell to XD Admin running in Docker
spring-xd-1.3.0.RELEASE$ ./shell/bin/xd-shell
 _____                           __   _______
/  ___|          (-)             \ \ / /  _  \
\ `--. _ __  _ __ _ _ __   __ _   \ V /| | | |
 `--. \ '_ \| '__| | '_ \ / _` |  / ^ \| | | |
/\__/ / |_) | |  | | | | | (_| | / / \ \ |/ /
\____/| .__/|_|  |_|_| |_|\__, | \/   \/___/
      | |                  __/ |
      |_|                 |___/
@jay-johnson
jay-johnson / Spring XD 1.3 Shell Dockerfile
Created November 28, 2015 00:43
Spring XD 1.3 Shell Dockerfile
FROM jayjohnson/springxd-base
MAINTAINER Jay Johnson jay.p.h.johnson@gmail.com
CMD ["shell/bin/xd-shell"]
@jay-johnson
jay-johnson / Find the Docker Container's IP Address
Created November 28, 2015 00:58
Find the Docker Container's IP Address
spring-xd-1.3.0.RELEASE$ docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' container1
172.17.0.9
spring-xd-1.3.0.RELEASE$
@jay-johnson
jay-johnson / Travis Build Environment Variables for Docker Hub Integration
Created November 28, 2015 00:45
Travis Build Environment Variables for Docker Hub Integration
DOCKER_EMAIL Your Docker Hub Email
DOCKER_USERNAME Your Docker Hub User Name
DOCKER_PASSWORD Your Docker Hub Password
@jay-johnson
jay-johnson / Starting the Docker Schema Prototyper Composition - MySQL + PhpMyAdmin + SQLAlchemy.md
Last active April 11, 2016 05:06
Starting the Docker Schema Prototyper Composition - MySQL + PhpMyAdmin + SQLAlchemy
$ ./start_composition.sh 
Starting with Docker Compose
Pulling db (jayjohnson/schemaprototyping:latest)...
latest: Pulling from jayjohnson/schemaprototyping
a3ed95caeb02: Pull complete
5989106db7fb: Pull complete
75e2f0ff048c: Pull complete
98d3fe0e5a2b: Pull complete
cb2b06526018: Pull complete