-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
Right now I am running openspeedtest using docker compose and was wondering if it is possible to configure it using environment variables to log the tests to a database instead of having to change or mount the index.html file in the container.
Current docker-compose file:
services:
speedtest:
restart: unless-stopped
container_name: openspeedtest
image: openspeedtest/latest
networks:
- traefik-public
labels:
- "traefik.enable=true"
- "traefik.http.services.speedtest.loadbalancer.server.port=3000"
- "traefik.http.routers.speedtest.priority=100"
- "traefik.http.routers.speedtest.tls=true"
- "traefik.http.routers.speedtest.rule=Host(`netbox.local`) && PathPrefix(`/speedtest`)"
- "traefik.http.routers.speedtest.middlewares=strip-prefix"
- "traefik.http.middlewares.strip-prefix.stripprefix.prefixes=/speedtest"
- "traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=35000000"
- "traefik.http.middlewares.limit.buffering.memRequestBodyBytes=35000000"
- "traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=35000000"
- "traefik.http.middlewares.limit.buffering.memResponseBodyBytes=35000000"
## FIXES found here: https://github.com/openspeedtest/Docker-Image/issues/9
networks:
traefik-public:
external: true
Metadata
Metadata
Assignees
Labels
No labels