Skip to main content

Docker Compose

Docker Compose mode deploy a full environnement with a pre-configured Prometheus and Grafana.

Requirements

  • Windows, Linux or macOS
  • Docker (> 19.03)
  • Docker-Compose

Steps

  1. Download the source code of the project from the latest release and extract it.

  2. Move to the downloaded folder and go to docker-compose folder

  3. Edit config.yaml file following this doc

  4. To start the stack, execute this command in your shell:

docker-compose up -d

Environment variables

Env variables can be used to override some default parameters :

ENVDescriptionDefault Value
SB_SCRAPING_INTERVALInterval in seconds where app gets data from Yahoo! Finance API120
LOG_LEVELApp log levelINFO

Edit .env file in the docker-compose folder to set environment variables.