NathanVaughn / powerpanel-business-docker

Docker image for CyberPower PowerPanel Business
https://hub.docker.com/r/nathanvaughn/powerpanel-business
MIT License
25 stars 15 forks source link

linked data directories into /data #23

Closed snorre-k closed 1 year ago

snorre-k commented 1 year ago

I tried to overcome the problem with the whole installation being copied into the volume. To solve this I did:

This works for the following assets:

Unfortunately the assets cert/ and extcmd/ as links give massive Java errors and prevent the application from starting.

Now also the bind mounts to host directories work :)

Please have a look

CU Snorre

snorre-k commented 1 year ago

I was to fast - found some bugs in my scripts. I will do a new pull request, when I fixed them.