dhhiep / fshare_tool

Fshare Tool is an utility for get direct link download/play upstream video (via VLC).
MIT License
19 stars 1 forks source link

Update image architecture to support NAS Synology run docker #7

Closed dhhiep closed 2 months ago

dhhiep commented 3 months ago
Unable to find image 'hoanghiepitvnn/fshare_tool:latest' locally
latest: Pulling from hoanghiepitvnn/fshare_tool
Digest: sha256:39b3b1d248fa2400fe1061ec5d5954cd562654e44e6d137be28f8419bd801905
Status: Image is up to date for hoanghiepitvnn/fshare_tool:latest
WARNING: image with reference hoanghiepitvnn/fshare_tool was found but does not match the specified platform: wanted linux/amd64, actual: linux/arm64/v8
docker: Error response from daemon: image with reference hoanghiepitvnn/fshare_tool:latest was found but does not match the specified platform: wanted linux/amd64, actual: linux/arm64/v8.
See 'docker run --help'.

Example docker compose worked on NAS Synology

version: "3.9"
services:
  kodi-mariadb:
    image: linuxserver/mariadb
    container_name: kodi-mariadb
    environment:
      - PUID=100
      - PGID=1026
      - MYSQL_ROOT_PASSWORD=xxx
      - TZ=Asia/Ho_Chi_Minh
    volumes:
      - ./mariadb:/config
    ports:
      - 3306:3306
    restart: unless-stopped

  emulatorjs:
    image: [lscr.io/linuxserver/emulatorjs:latest](http://lscr.io/linuxserver/emulatorjs:latest)
    container_name: emulatorjs
    network_mode: bridge

    security_opt:
      - no-new-privileges:true
      - seccomp:unconfined
    healthcheck:
     test: curl -f http://localhost:3000/ || exit 1
    environment:
      - PUID=911
      - PGID=911
      - TZ=Asia/Ho_Chi_Minh
      - SUBFOLDER=/ #optional
    volumes:
      - /volume1/docker/emulatorjs/config:/config:rw
      - /volume1/docker/emulatorjs/data:/data:rw
    ports:
      - 3000:3000
      - 80:80
      - 4001:4001 #optional
    restart: unless-stopped
dhhiep commented 2 months ago
docker run -d --name fshare_tool \
  --restart unless-stopped \
  -p 7777:3000 \
  -v ~/fshare_tool_dbs:/var/workspace/db/sqlite_dbs \
  -v ./log:/var/workspace/log \
  -v ~/.config/rclone/rclone.conf:/var/workspace/.config/rclone/rclone.conf \
  -e VLC_RC_HOST=host.docker.internal \
  -e VLC_RC_PORT=7654 \
  -e FSHARE_USER_EMAIL=REPLACE_YOUR_KEY@gmail.com \
  -e FSHARE_PASSWORD=REPLACE_YOUR_KEY \
  -e FSHARE_APP_KEY=REPLACE_YOUR_KEY \
  -e FSHARE_USER_AGENT=REPLACE_YOUR_KEY \
  hoanghiepitvnn/fshare_tool:nas