Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Jinna Balu JinnaBalu

🏠
Working from home
Block or report user

Report or block JinnaBalu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@JinnaBalu
JinnaBalu / stack.yml
Created Aug 30, 2019
Kafka Confluence Docker Compose
View stack.yml
version: '2'
services:
zookeeper:
image: confluentinc/cp-zookeeper:5.3.0
environment:
ZOOKEEPER_CLIENT_PORT: 2181
ZOOKEEPER_TICK_TIME: 2000
ZOOKEEPER_SYNC_LIMIT: 2
ports:
- 2181:2181
@JinnaBalu
JinnaBalu / Jenkins-Supported-Time-Zones.md
Created Apr 30, 2019
Jenkins supported time zones depend on the Java runtime
View Jenkins-Supported-Time-Zones.md

The supported time zones depend on the Java runtime Jenkins is running on. The list of supported time zone IDs on this instance is:

  • Africa/Abidjan
  • Africa/Accra
  • Africa/Addis_Ababa
  • Africa/Algiers
  • Africa/Asmara
  • Africa/Asmera
  • Africa/Bamako
@JinnaBalu
JinnaBalu / nginx-docker-swarm.yaml
Created Mar 19, 2019
NGINX Docker swam service with SSL and and conf
View nginx-docker-swarm.yaml
version: '3'
services:
proxy:
image: nginx:latest
volumes:
- nginx-proxy-conf:/etc/nginx/
- nginx-proxy-ssl-certs:/etc/nginx/ssl
- nginx-proxy-html:/usr/share/nginx/html
ports:
- 80:80
@JinnaBalu
JinnaBalu / elasticsearch-simple-compose.yaml
Created Feb 26, 2019
elasticsearch 6.6* simple compose
View elasticsearch-simple-compose.yaml
version: '3.3'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.6.0
container_name: elasticsearch
ports:
- 9200:9200
- 9300:9300
environment:
ES_JAVA_OPTS: '-Xms256m -Xmx256m'
@JinnaBalu
JinnaBalu / elasticsearch-6.6.*-simple-compose-volume.yaml
Created Feb 26, 2019
elasticsearch 6.6.* simple compose with volume
View elasticsearch-6.6.*-simple-compose-volume.yaml
version: '3.3'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.6.0
container_name: elasticsearch
volumes:
- /var/db/data/elasticsearch:/usr/share/elasticsearch
ports:
- 9200:9200
- 9300:9300
@JinnaBalu
JinnaBalu / elasticsearch-6.6.0-cors-and-xpack-disabled-activated.yaml
Created Feb 26, 2019
Elasticsearch docker-compose file with CORS activated and XPack disabled
View elasticsearch-6.6.0-cors-and-xpack-disabled-activated.yaml
version: '3.3'
services:
elasticsearch1:
image: docker.elastic.co/elasticsearch/elasticsearch:6.6.0
environment:
ES_JAVA_OPTS: '-Xms256m -Xmx256m'
cluster.name: es-cluster
node.name: es1
network.bind_host: 0.0.0.0
discovery.zen.minimum_master_nodes: 1
@JinnaBalu
JinnaBalu / postgres-adminer.yml
Created Feb 24, 2019
Postgres with adminer UI
View postgres-adminer.yml
version: '3.1'
services:
postgres:
image: postgres
container_name: postgres
restart: always
environment:
- POSTGRES_USER=test
- POSTGRES_PASSWORD=test
View create-databases-dev.sql
DROP DATABASE IF EXISTS online_auction_bidding;
DROP USER IF EXISTS online_auction_bidding;
CREATE DATABASE online_auction_bidding;
CREATE USER online_auction_bidding WITH PASSWORD 'online_auction_bidding';
GRANT ALL PRIVILEGES ON DATABASE online_auction_bidding to online_auction_bidding;
View postgres.yml
version: '3.3'
services:
postgresql:
image: postgres:10.4
container_name: postgress-service
volumes:
- /var/db/data/postgresql:/var/lib/postgresql
environment:
- POSTGRES_USER=test
- POSTGRES_PASSWORD=test
View kafka-service.yaml
apiVersion: v1
kind: Service
metadata:
name: kaf1
spec:
type: LoadBalancer
ports:
- name: port-9092
port: 9092
protocol: TCP
You can’t perform that action at this time.