🏴☠️
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 #### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |