Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "How to change speedtest interval" to README #16

Open
gleniat opened this issue Oct 29, 2020 · 1 comment
Open

Add "How to change speedtest interval" to README #16

gleniat opened this issue Oct 29, 2020 · 1 comment

Comments

@gleniat
Copy link

gleniat commented Oct 29, 2020

This is how docker-compose.yml looks like:

speedtest:
    restart: always
    image: frdmn/speedtest-grafana:latest
    container_name: speedtest
    environment:
      - "SPEEDTEST_INTERVAL=${SPEEDTEST_SPEEDTEST_INTERVAL}"
      - "SPEEDTEST_HOST=${SPEEDTEST_HOST}"
    depends_on:
      - influxdb
  1. Where does ${SPEEDTEST_SPEEDTEST_INTERVAL} come from? (.env file?)
  2. How can I change the values while running via docker-compose up? Is it possible to change the interval without stopping and deleting everything and (with edited .env file) starting from scratch?

Great work by the way
Thanks

@maxiride
Copy link

maxiride commented Dec 28, 2020

Where does ${SPEEDTEST_SPEEDTEST_INTERVAL} come from? (.env file?)

Yes

How can I change the values while running via docker-compose up? Is it possible to change the interval without stopping and deleting everything and (with edited .env file) starting from scratch?

Edit the .env files and run docker-compose up -d, compose will recognize the changes and re-create the container without touching volumes.


These are Docker issues\questions by the way, search better on the net as there are plenty of guides on the subjects you asked about.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants