Skip to content

Instantly share code, notes, and snippets.

Avatar

Frederico Medeirosd Quaggio fmquaggio

View GitHub Profile
@fmquaggio
fmquaggio / README.md
Last active May 27, 2020 — forked from bvis/README.md
Docker Env Vars expanded with secrets content
View README.md

Variables by Secrets

Sample script that allows you to define as environment variables the name of the docker secret that contains the secret value. It will be in charge of analyze all the environment variables searching for the placeholder to substitute the variable value by the secret.

Usage

You can define the next environment variables:

@fmquaggio
fmquaggio / ca.md
Created Mar 10, 2020 — forked from soarez/ca.md
How to setup your own CA with OpenSSL
View ca.md

How to setup your own CA with OpenSSL

For educational reasons I've decided to create my own CA. Here is what I learned.

First things first

Lets get some context first.