Skip to content

Instantly share code, notes, and snippets.

View prayagsingh's full-sized avatar
:octocat:
Working from home

Prayag Singh prayagsingh

:octocat:
Working from home
View GitHub Profile
@prayagsingh
prayagsingh / docker-explorer.yaml
Last active March 2, 2020 10:33
traefik with dashboard, bchain api and explorer with letsencrypt
version: '3.7'
volumes:
pgdata:
walletstore:
networks:
testchain-network:
external: true
name: testchain-network
@prayagsingh
prayagsingh / docker-compose-traefik.yaml
Created February 25, 2020 08:25
Treaefik with file provider and with letsencrypt and custom tls certs
# Providers :- discover the services that live on your infrastructure (their IP, health, ...)
# Entrypoints :- listen for incoming traffic (ports, ...)
# Routers :- analyse the requests (host, path, headers, SSL, ...). A router is in charge of connecting incoming requests to the services that can handle them.
# Services :- forward the request to your services (load balancing, ...). The Services are responsible for configuring how to reach the actual services that will eventually handle the incoming requests.
# Middlewares :- may update the request or make decisions based on the request (authentication, rate limiting, headers, ...)
version: "3.7"
networks:
@prayagsingh
prayagsingh / traefik-manual-ssl.yml
Created February 25, 2020 08:02 — forked from ohnotnow/traefik-manual-ssl.yml
Traefik v2 with manual SSL certs
version: "3.7"
services:
traefik:
image: traefik:v2.1.3
restart: always
container_name: traefik
ports:
- target: 80
published: 80
@prayagsingh
prayagsingh / docker-traefik.yaml
Last active February 20, 2020 13:42
Traefik with go application server
# Providers :- discover the services that live on your infrastructure (their IP, health, ...)
# Entrypoints :- listen for incoming traffic (ports, ...)
# Routers :- analyse the requests (host, path, headers, SSL, ...). A router is in charge of connecting incoming requests to the services that can handle them.
# Services :- forward the request to your services (load balancing, ...). The Services are responsible for configuring how to reach the actual services that will eventually handle the incoming requests.
# Middlewares :- may update the request or make decisions based on the request (authentication, rate limiting, headers, ...)
version: "3.7"
networks:
#
# Copyright SecureKey Technologies Inc. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
#
# The network connection profile provides client applications the information about the target
# blockchain network that are necessary for the applications to interact with it. These are all
# knowledge that must be acquired from out-of-band sources. This file provides such a source.
#
@prayagsingh
prayagsingh / git_cheat-sheet.md
Created July 8, 2019 05:38 — forked from davfre/git_cheat-sheet.md
git commandline cheat-sheet