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

Update image architecture to support NAS Synology run docker #7

Closed
dhhiep opened this issue Jul 19, 2024 · 1 comment
Closed

Update image architecture to support NAS Synology run docker #7

dhhiep opened this issue Jul 19, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@dhhiep
Copy link
Owner

dhhiep commented Jul 19, 2024

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](https://lscr.io/linuxserver/emulatorjs:latest)
    container_name: emulatorjs
    network_mode: bridge
    
    security_opt:
      - no-new-privileges:true
      - seccomp:unconfined
    healthcheck:
     test: curl -f https://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
Copy link
Owner Author

dhhiep commented Jul 22, 2024

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 [email protected] \
  -e FSHARE_PASSWORD=REPLACE_YOUR_KEY \
  -e FSHARE_APP_KEY=REPLACE_YOUR_KEY \
  -e FSHARE_USER_AGENT=REPLACE_YOUR_KEY \
  hoanghiepitvnn/fshare_tool:nas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant