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
-
Download the source code of the project from the latest release and extract it.
-
Move to the downloaded folder and go to docker-compose folder
-
Edit
config.yaml
file following this doc -
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 :
ENV | Description | Default Value |
---|---|---|
SB_SCRAPING_INTERVAL | Interval in seconds where app gets data from Yahoo! Finance API | 120 |
LOG_LEVEL | App log level | INFO |
Edit .env file in the docker-compose folder to set environment variables.