Skip to content

Instantly share code, notes, and snippets.

View lcbm's full-sized avatar
🏴‍☠️

Leonardo Castelo Branco de Melo lcbm

🏴‍☠️
View GitHub Profile
@lcbm
lcbm / .env
Last active December 19, 2019 18:42
cs-biblioteca-service's docker-compose file.
# Orion variables
ORION_PORT=1026
ORION_VERSION=2.2.0
# IoT Agent Ultralight Variables
IOTA_NORTH_PORT=4041
IOTA_SOUTH_PORT=7896
ULTRALIGHT_VERSION=1.9.0
# MongoDB variables
@lcbm
lcbm / DOCKERFILE
Last active March 18, 2020 14:06
Multi-stage Dockerfiles for Golang
# Using "go proxy"
# TODO: how do I separate the build from download
# using goproxy?
########################################
## FIRST STAGE: build the application ##
########################################
FROM golang:1.14-alpine AS builder
@lcbm
lcbm / deprecated-knot-cloud-install.sh
Last active May 24, 2020 15:52
My Old Bash Scripts
#!/usr/bin/env bash
#### HEADER ####
# Description : KNoT bash script for installing 'knot-cloud-source'.
# Install order: Mongo DB, NodeJS, KNoT Cloud, Update Configuration,
# Run Mongo Service, Run KNoT Cloud.
# Written by : KNoT Scientific Initiation Team 2018.2.
# Last updated : 2019 February 4th.
#### GLOBAL VARIABLES ####