Skip to content

Instantly share code, notes, and snippets.

View dimkk's full-sized avatar
💭
poking around

Dima v dimkk

💭
poking around
View GitHub Profile
@dimkk
dimkk / blog.ts
Created August 19, 2020 20:10 — forked from nonken/blog.ts
Ghost Blog with CDK - Note: This has some security issues which would need to be addressed on a production environment.
import {App, Duration} from '@aws-cdk/core';
import {
ApplicationListener,
ApplicationListenerRule,
ApplicationLoadBalancer,
ApplicationProtocol,
ApplicationTargetGroup,
InstanceTarget
} from "@aws-cdk/aws-elasticloadbalancingv2";
@dimkk
dimkk / README.md
Created August 21, 2020 10:02 — forked from dkurzaj/README.md
Docker compose Kafka, Zookeeper and Kafka manager

Docker compose Kafka, Zookeeper and Kafka manager

Gist inspired by this one intending to be an updated version of it : https://gist.github.com/17twenty/d619f922ab209f750630824f7c6836e3

Install

  • Create the environment variable that contains our host name (IP address) :
$ export EXPOSED_HOSTNAME=$(ip addr | grep 'state UP' -A2 | tail -n1 | awk '{print $2}' | cut -f1  -d'/')
  • Create the folders :