This file contains hidden or 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
| #!/bin/sh | |
| CLUSTER_ID=$1 | |
| (mkdir $CLUSTER_ID || true) && cd $CLUSTER_ID | |
| aws s3 cp s3://bworks-bi-emr-logs/prod/spark/$CLUSTER_ID . --recursive --profile blastworks |
This file contains hidden or 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
| echo "exclude.internal.topics=false" > /tmp/consumer.config | |
| ./kafka-console-consumer.sh --consumer.config /tmp/consumer.config --formatter "kafka.coordinator.group.GroupMetadataManager\$OffsetsMessageFormatter" --zookeeper 177.31.0.243:2181 --topic __consumer_offsets --from-beginning |
This file contains hidden or 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
| set nocompatible " be iMproved | |
| " --------------------------------------------------------------------------- | |
| " Plugins | |
| " --------------------------------------------------------------------------- | |
| silent! runtime bundles.vim | |
| " --------------------------------------------------------------------------- | |
| " General |
This file contains hidden or 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
| --- | |
| apiVersion: v1 | |
| kind: Service | |
| metadata: | |
| name: odoo-db | |
| labels: | |
| app: odoo-shop | |
| spec: | |
| ports: | |
| - port: 5432 |
This file contains hidden or 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
| apiVersion: v1 | |
| kind: Service | |
| metadata: | |
| namespace: observer | |
| labels: | |
| io.kompose.service: api | |
| name: api | |
| spec: | |
| ports: | |
| - name: http |
This file contains hidden or 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
| version: "3" | |
| services: | |
| php: | |
| build: "./dockerfiles/php/" | |
| ports: | |
| - "9000:9000" | |
| volumes: | |
| - ../your_php/:/var/www/:rw |
This file contains hidden or 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 php:7.1.7-fpm-alpine | |
| RUN ln -fsn /usr/local/bin/php /usr/bin/php | |
| RUN ln -fsn /usr/local/bin/php-config /usr/bin/php-config | |
| ARG LIBRDKAFKA_GIT_SHA1=1f7417d4796e036b8c19f17373f8290ff5c7561f | |
| RUN apk add --update --no-cache alpine-sdk bash python autoconf && \ | |
| git clone -o ${LIBRDKAFKA_GIT_SHA1} https://github.com/edenhill/librdkafka.git /tmp/librdkafka && \ | |
| cd /tmp/librdkafka/ && \ | |
| ./configure && \ |
This file contains hidden or 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
| version: "3" | |
| services: | |
| zookeeper: | |
| image: confluent/zookeeper | |
| ports: | |
| - "2181:2181" | |
| environment: | |
| zk_id: "1" | |
| networks: |
This file contains hidden or 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
| apk add --no-cache build-base ruby ruby-dev |
This file contains hidden or 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 mhart/alpine-node:base-0.12 | |
| RUN apk update \ | |
| && apk add curl \ | |
| && apk add tar \ | |
| && rm -rf /var/cache/apk/* | |
| RUN curl -L https://npmjs.org/install.sh -o - | clean=yes npm_install=2.15.11 sh | |
| WORKDIR /app |