설치작업성공● speedtest - docker 설치 모니터링 설치방법 portainer stack 으로 설치 방법
컨텐츠 정보
- 6,664 조회
- 2 댓글
- 0 추천
- 목록
본문
설치작업● speedtest - docker 설치 모니터링 설치방법 portainer stack 으로 설치 방법
설치 방법 portainer로 접속 아래 명령어로 간단 설치 합니다.
참조 사이트
https://hub.docker.com/r/henrywhitaker3/speedtest-tracker
https://registry.hub.docker.com/r/henrywhitaker3/speedtest-tracker/
https://github.com/henrywhitaker3/Speedtest-Tracker/issues/421
redpill tinycore ,,,dsm3615xs 사용자 입니다
2단계 설치 해야 합니다
많은 버그 있네요...해결 했습니다
===================
성공) redpill tinycore ,,,dsm3615xs 사용자 입니다
많은 버그/호환성 문제가 많네요...
아래 밑에 해결 했습니다
기본 구성 준비는
사용자계정 speedtest-tracker 생성후 id speedtest-tracker 확인
mkdir -p /volume1/docker/speedtest-tracker/config/
chmod -R 777 /volume1/docker/speedtest-tracker/config/
------------------
1단계설치
potainer 의 stacks에 복사 실행
-------------
version: '3.3'
services:
speedtest:
container_name: speedtest
image: henrywhitaker3/speedtest-tracker
ports:
- "35080:80" ## 임의 포트 변경 하세요
volumes:
- /volume1/docker/speedtest-tracker/config:/config
environment:
- TZ=Europe/Berlin
- PUID=1032 ## 사용자계정 speedtest-tracker 생성후 id speedtest-tracker 확인
- PGID=100 ## 사용자계정 speedtest-tracker 생성후 id speedtest-tracker 확인
- OOKLA_EULA_GDPR=true
- BASE_PATH=/
- APP_URL=https://speedtest.domain.com
logging:
driver: "json-file"
options:
max-file: "10"
max-size: "200k"
restart: unless-stopped
--------------------
문제 의 로그 확인
-------------------------
...중략
sh: /config/www/app/Bin/speedtest: not found
sh: /config/www/app/Bin/speedtest: not found
...중략
해결은
2 단계 설치
==================
https://github.com/henrywhitaker3/Speedtest-Tracker/issues/421
===================== 에서 정보 확인 합니다 ===========
cd /volume1/docker/speedtest-tracker/config/
wget https://install.speedtest.net/app/cli/ookla-speedtest-1.0.0-x86_64-linux.tgz -O speedtest.tgz
tar zxvf speedtest.tgz
sudo chown 911 speedtest*
mv speedtest /volume1/docker/speedtest-tracker/config/www/app/Bin/
===================
와후,,,,,,,,,,,,,,,,,,,우리집 입니다
<potainer 사용방법>
설치 완료
실행 되고 에러 발생 합니다
정상 동작 로그 확인
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-envfile: executing...
[cont-init.d] 01-envfile: exited 0.
[cont-init.d] 10-adduser: executing...
-------------------------------------
_ ()
| | ___ _ __
| | / __| | | / \
| | \__ \ | | | () |
|_| |___/ |_| \__/
Brought to you by linuxserver.io
-------------------------------------
To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------
User uid: 1032
User gid: 100
-------------------------------------
[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 20-config: executing...
[cont-init.d] 20-config: exited 0.
[cont-init.d] 30-keygen: executing...
using keys found in /config/keys
[cont-init.d] 30-keygen: exited 0.
[cont-init.d] 40-config: executing...
Starting 2019/12/30, GeoIP2 databases require personal license key to download. Please manually download/update the GeoIP2 db and save as /config/geoip2db/GeoLite2-City.mmdb
[cont-init.d] 40-config: exited 0.
[cont-init.d] 50-speedtest: executing...
Copying latest site files to config
Database file exists
Env file exists
Updating packages
fetch http://dl-cdn.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz
(1/1) Installing composer (2.0.13-r0)
Executing busybox-1.32.1-r6.trigger
OK: 161 MiB in 175 packages
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Nothing to install, update or remove
Package fzaninotto/faker is abandoned, you should avoid using it. No replacement was suggested.
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
Discovered Package: barryvdh/laravel-ide-helper
Discovered Package: facade/ignition
Discovered Package: fideloper/proxy
Discovered Package: fruitcake/laravel-cors
Discovered Package: henrywhitaker3/laravel-actions
Discovered Package: laravel-notification-channels/telegram
Discovered Package: laravel/slack-notification-channel
Discovered Package: laravel/tinker
Discovered Package: laravel/ui
Discovered Package: nesbot/carbon
Discovered Package: nunomaduro/collision
Discovered Package: tymon/jwt-auth
Package manifest generated successfully.
90 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
Running database migrations
Nothing to migrate.
App key exists
JWT secret exists
Slack webhook is unset
Telegram chat id and bot token unset
Base path set, updating .env
AUTH variable not set. Disabling authentication
Disabling authentication
Clearing old jobs from queue
[cont-init.d] 50-speedtest: exited 0.
[cont-init.d] 99-custom-files: executing...
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-files: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
☞ https://11q.kr 에 등록된 자료 입니다. ♠ 정보찾아 공유 드리며 출처는 링크 참조 바랍니다♠
관련자료
-
링크
11qkr님의 댓글
https://mariushosting.com/how-to-install-speedtest-tracker-on-your-synology-nas/
[버그] Synology Docker #792 에 설치한 후 테스트가 실행되지 않음
https://github.com/henrywhitaker3/Speedtest-Tracker/issues/792
...설치 포기합니다
11qkr님의 댓글
====================================
cd /volume1/docker/speedtest-tracker/config/
wget https://install.speedtest.net/app/cli/ookla-speedtest-1.0.0-x86_64-linux.tgz -O speedtest.tgz
tar zxvf speedtest.tgz
sudo chown 911 speedtest*
mv speedtest /volume1/docker/speedtest-tracker/config/www/app/Bin/