-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
For additional information, here's my fstab, (I mounted /data to /media hence why it's called media in the widgets.yaml:
|
Beta Was this translation helpful? Give feedback.
-
I'll answer this myself, as I ended up going to a docker version of Homepage in a Proxmox LXC. This assumes you have a media share via CIFS/SMB (e.g., OMV), that you've shared a folder called
Step 1: Mount the share to your LXC Add the mount to, Add the following, making sure to use your own OMV IP #media
//[Media share IP]/data /mnt/media cifs ro,noperm,iocharset=utf8,rw,credentials=/root/.storage_credentials,uid=1000,gid=1000,file_mode=0660,dir_mode=0770 0 0 note, I added Add your credentials (i.e., your SMB user and password) to username=[username] #type it in as-is, without the []
password=[your password] #type it in as-is, without the [] Reboot the system Step 2: Mount the share to your Homepage docker compose version: "3.3"
services:
homepage:
image: ghcr.io/benphelps/homepage:latest
container_name: homepage
ports:
- 3000:3000
volumes:
- /opt/appdata/homepage/config:/app/config # Make sure your local config directory exists
- /var/run/docker.sock:/var/run/docker.sock # (optional) For docker integrations, see alternative methods
- /mnt/media:/media #this is my mounted media share
restart: unless-stopped #this is added from the initial instructions
environment:
PUID: 1000
PGID: 1000 Step 3: Define the drive in your widgets.yaml Add /media to your disks to show your shared storage that we defined above as 'media'. I ended up removing the default container disk - resources:
cpu: true
memory: true
expanded: true
disk:
- /
- /media |
Beta Was this translation helpful? Give feedback.
-
This discussion has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns. |
Beta Was this translation helpful? Give feedback.
I'll answer this myself, as I ended up going to a docker version of Homepage in a Proxmox LXC.
This assumes you have a media share via CIFS/SMB (e.g., OMV), that you've shared a folder called
data
, and that you have a username and login for this share.apt install cifs-utils
Step 1: Mount the share to your LXC
Add the mount to,
nano /etc/fstab
Add the following, making sure to use your own OMV IP
#media //[Media share IP]/data /mnt/media cifs ro,noperm,iocharset=utf8,rw,credentials=/root/.storage_credentials,uid=1000,gid=1000,file_mode=0660,dir_mode=0770 0 0
note, I added
ro,
here to be read-only, I'm …