Sign inSign up

12abcloud/collect-candles

By 12abcloud

Updated over 6 years ago

Image
0

946

12abcloud/collect-candles repository overview

collect-candles

collect-candles is a small container, that is collecting candles from all crypto currencies from binanace to feed later on a KI  

Pre requirements

 

How to run

docker-compose

for starting the collect-candles container you could use the following ´docker-compose.yml´

version: '3'
services:
  collect-candles:
    image: "12abcloud/collect-candles:latest"
    build:
      dockerfile: Dockerfile
      context: ./
    volumes:
      - /data/collect-data/db:/data/collect-data/db
    environment:
      # DEBUG: "True"
      INTERVAL: "30m"
      CANDLE_INTERVAL: "15m"
      DATABASE_PATH: "/data/collect-data/db/"
    restart: always

 

Environment variables

VariableDescriptionDefault
DEBUGactivate the debug loggingfalse
INTERVALinterval for fetching data10m
CANDLE_INTERVALinterval of the candles15m
DATABASE_PATHpath to database directory/data/collect-data/db/

 

Tag summary

Content type

Image

Digest

Size

15.5 MB

Last updated

over 6 years ago

docker pull 12abcloud/collect-candles