Skip to content
Discussion options

You must be logged in to vote
services:
  folderhost:
    image: mertjsx/folderhost:latest
    # You can't access /mnt without some permissions. This is the easiest way to do it.
    privileged: true 
    ports:
      - "5000:5000"
    volumes:
      - folderhost_data:/app
      - /mnt/NAS/folderhost_hostdir:/app/host
      
    restart: unless-stopped

volumes:
  folderhost_data:

I think this should work. Please, create some backups in first try. That way you can use /mnt directory to access your files. You will need root privileges because only root users can access /mnt directory. If you see a folder named /host in folderhost_data volume don't use it! Use only /mnt/NAS/folderhost_hostdir to access host directory, b…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@WarrentyExpired
Comment options

@MertJSX
Comment options

Answer selected by WarrentyExpired
@WarrentyExpired
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants