1.0.0 • Published 5 years ago

stockshark v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago
  1. docker build -t ultra2/stockshark-bot:latest .

  2. docker run -p 8080:8080 ultra2/stockshark-bot

  3. docker push ultra2/stockshark-bot

OPENSHIFT Login ID: stockshark.0000 Email: stockshark.0000@gmail.com FirstName: StockShark LastName: 0000 Pass: StockShark.0000 AlphavantageKey: Z7WDIKZF07Q3HAY

OPENSHIFT Login ID: stockshark.0001 Email: stockshark.0001@gmail.com FirstName: StockShark LastName: 0001 Pass: StockShark.0001 AlphavantageKey: 6ARG1SKPJ1NHKX6U#

OPENSHIFT Login ID: stockshark.0003 Email: stockshark.0003@gmail.com FirstName: StockShark LastName: 0003 Pass: StockShark.0003 AlphavantageKey: VV6GCODMNLYB9LNA

OPENSHIFT Login ID: babyfish.3355 Email: babyfish.3355@hotmail.com FirstName: BabyFish LastName: 3355 Pass: BabyFish.3355 AlphavantageKey: NRPRE5OJ4JETJUFY

OPENSHIFT Login ID: babyfish.4141 Email: babyfish.4141@hotmail.com FirstName: BabyFish LastName: 4141 Pass: Alabama44 AlphavantageKey: O9539CKUSP6Z2NE2

OPENSHIFT Login ID: antoniodelacanza.82 Email: antoniodelacanza.82@hotmail.com FirstName: Antonio LastName: Canza Pass: Alabama44 AlphavantageKey: H618A2LOIA5X554X

OPENSHIFT Login ID: easyhunter.01 Email: easyhunter.01@hotmail.com FirstName: EasyHunter LastName: 01 Pass: Alabama44 AlphavantageKey: ABFR0ITZ3FUBUYAD

OPENSHIFT Login ID: zackforrester.55 Email: zackforrester.55@hotmail.com FirstName: Zack LastName: Forrester Pass: Alabama44 AlphavantageKey: SQHAWRGO6U5UD2D8

AZURE (azure container group == kubernetes pod) (azure container group != azure resource group)

az login

create resource group: az group create --name group1 --location eastus

create container: az container create --resource-group group1 --name stockshark-1 --image ultra2/stockshark-bot --restart-policy OnFailure --environment-variables 'environment'='production' 'ALPHAVANTAGE_API_KEY'='Z7WDIKZF07Q3HAY' az container create --resource-group group1 --name stockshark-2 --image ultra2/stockshark-bot --restart-policy OnFailure --environment-variables 'environment'='production' 'ALPHAVANTAGE_API_KEY'='6ARG1SKPJ1NHKX6U#' az container create -g group1 --name stockshark-3 --image ultra2/stockshark-bot:latest --os-type Linux --cpu 1 --memory 2 --restart-policy OnFailure --environment-variables 'environment'='production' 'ALPHAVANTAGE_API_KEY'='VV6GCODMNLYB9LNA' az container create -g group1 --file azure.yaml --location eastus

view logs: az container logs -g group1 --name stockshark-1 az container attach -g group1 --name stockshark-4

restart container az container restart --name stockshark-4 --resource-group group1 --no-wait --only-show-errors