Skip to content

Instantly share code, notes, and snippets.

View Shashankreddysunkara's full-sized avatar
🏠
Working from home

Shashank Reddy Sunkara Shashankreddysunkara

🏠
Working from home
View GitHub Profile
# Maintainer: Jakub Hajek, jakub.hajek@cometari.com
#
# docker stack deploy -c stack-elastic.yml elastic
#
# The stack creates Elasticsearch cluster consiting of
# - 3 dedicated master nodes in order to keep quorum
# - 4 dedicated data nodes to manage CRUD,
#
# Docker compose file to easily deploy Elasticsearch cluster 7.x on Docker Swarm cluster.
@Shashankreddysunkara
Shashankreddysunkara / stack-nfs.yml
Created December 11, 2021 05:16 — forked from jakubhajek/stack-nfs.yml
Docker Swarm, an example stack file with NFS volume
# docker stack deploy -c stack-nfs.yml nfs
#
# This is an example compose file with data volume mounted from remote server via NFS protocol
version: "3.7"
services:
nginx:
image: nginx:1.17
# Maintainer: Jakub Hajek, jakub.hajek@cometari.com
#
# docker stack deploy -c stack-elastic.yml elastic
#
# The stack creates Elasticsearch cluster consiting of
# - 3 dedicated master nodes in order to keep quorum
# - 4 dedicated data nodes to manage CRUD,
# - 2 coordination node acting like kind of load balancer in multi instance environments
#
#
@Shashankreddysunkara
Shashankreddysunkara / comlog.nginx.conf
Created July 22, 2021 12:48 — forked from jegj/comlog.nginx.conf
Basic provision script for node js server(expressif) + nginx + postgres 10.x
upstream comlog {
server unix:/tmp/comlog.socket;
}
server {
listen 80;
listen 443 ssl;
ssl_certificate /etc/nginx/certs/dev.comlog.crt;
ssl_certificate_key /etc/nginx/certs/dev.comlog.key;