Skip to content

Commit

Permalink
added openspeedtest
Browse files Browse the repository at this point in the history
  • Loading branch information
BladeWDR committed Nov 30, 2023
1 parent 745c8de commit be18f3e
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions services-available/openspeedtest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
version: '3'

networks:
traefik:
external: true

services:
openspeedtest:
image: openspeedtest:${OPENSPEEDTEST_DOCKER_TAG:-latest}
container_name: ${OPENSPEEDTEST_CONTAINER_NAME:-openspeedtest}
restart: ${OPENSPEEDTEST_RESTART:-unless-stopped}
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
environment:
- PUID=${PUID:-1000}
- PGID=${PGID:-1000}
- TZ=${TZ}
labels:
- joyride.host.name=${OPENSPEEDTEST_CONTAINER_NAME:-openspeedtest}.${HOST_DOMAIN}
- traefik.enable=true
- traefik.http.routers.openspeedtest.entrypoints=websecure
- traefik.http.routers.openspeedtest.rule=Host(`${OPENSPEEDTEST_CONTAINER_NAME:-openspeedtest}.${HOST_DOMAIN}`)
#- traefik.http.services.openspeedtest.loadbalancer.server.scheme=https # enable if the service wants to connect over https
- traefik.http.services.openspeedtest.loadbalancer.server.port=8096
- traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=10000000000
- traefik.http.routers.openspeedtest.middlewares=limit
- com.centurylinklabs.watchtower.enable=true
- autoheal=true

# Flame dashboard labels

- flame.type=application # "app" works too
- flame.name=${OPENSPEEDTEST_FLAME_NAME:-openspeedtest}
- flame.url=https://${OPENSPEEDTEST_CONTAINER_NAME:-openspeedtest}.${HOST_DOMAIN}
- flame.icon=${OPENSPEEDTEST_FLAME_ICON:-docker} # optional, default is "docker"

0 comments on commit be18f3e

Please sign in to comment.