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 nginx | |
ADD default.conf /etc/nginx/conf.d/default.conf |
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
{ | |
"Blueprints": { | |
"stack_name": "HDP", | |
"stack_version": "2.3", | |
"blueprint_name": "zeppelin" | |
}, | |
"host_groups": [ | |
{ | |
"name": "master_3", | |
"components": [ |
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
$ cat /etc/debian_version | |
8.2 | |
$ cat /etc/os-release | |
PRETTY_NAME="Debian GNU/Linux 8 (jessie)" | |
NAME="Debian GNU/Linux" | |
VERSION_ID="8" | |
VERSION="8 (jessie)" |
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
private static final String SLAVE = 'slave_' | |
def slaves = groups.findAll { it.name.toLowerCase().startsWith(SLAVE) } | |
if (slaves) { | |
int k = 0 | |
for (int j = i; j < hostSize; j++) { | |
result[slaves[k].name] = result[slaves[k].name] ?: [] | |
result[slaves[k].name] << hostNames[j] | |
result << [(slaves[k].name): result[slaves[k++].name]] | |
k = k == slaves.size ? 0 : k |
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
$ export PARAMETERIZED_TOKEN=$(curl -s https://webtask.it.auth0.com/api/tokens/issue -H "Authorization: Bearer eyJhbxxx" \ | |
-H "Content-Type: application/json" \ | |
--data-binary '{"url":"http://bit.ly/1wT1DOi","ectx":{"secret":"abc!123"}}') |
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 java:openjdk-7-jdk | |
MAINTAINER Masato Shimizu <ma6ato@gmail.com> | |
ENV SBT_VERSION 0.13.9 | |
ENV PATH ${PATH}:/usr/local/sbt/bin | |
WORKDIR /app | |
RUN wget -O- http://dl.bintray.com/sbt/native-packages/sbt/$SBT_VERSION/sbt-$SBT_VERSION.tgz | tar xz -C /usr/local |
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
{ | |
"default": { | |
"url": "https://webtask.it.auth0.com", | |
"container": "{アカウントのコンテナ名}", | |
"token": "{アカウントのwebtask token}" | |
} | |
} |
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
proxy: | |
image: couchbase:enterprise | |
environment: | |
- constraint:node==minion-3 |
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
seed: | |
image: rethinkdb:2 | |
ports: | |
- "8088:8080" | |
command: rethinkdb -n seed --bind all | |
worker: | |
image: rethinkdb:2 | |
environment: | |
- "affinity:container!=rethink_worker_*" |
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
#DOCKER_OPTS="--cluster-store=consul://localhost:8500 --cluster-advertise=eth0:2376" | |
DOCKER_OPTS="--cluster-store=consul://localhost:8500 --cluster-advertise=eth0:2376 -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock" |
NewerOlder