sipcapture / homer7-docker

HOMER 7 Docker Images
92 stars 85 forks source link

Installing homer on Synology NAS docker #140

Open OtoKiroo opened 1 year ago

OtoKiroo commented 1 year ago

Hi, im having issues getting homer7 to work on Synology NAS docker. Their official rep only has HOMER 5 which is too old for us. image Here is an image of the current error. I have tried to find a way to compose from the synology GUI but cannot seem to get it to work.

Our user has root privileges but it seems like it does not have permission and/or access to certain directories and cannot write to them.

Has anyone found a way to setup HOMER7 docker on Synology ?

thanks

lmangani commented 1 year ago

Hello @OtoKiroo I honestly have no idea what you're referring to. Is there a guide or some instructions you're specifically referencing? Mind there's nothing special at all about HOMER 7 and/or postgres other than they run in containers and need permissions.

Feel free to share further details about your setup and pay attention to the permissions of the folders in the process.

adubovikov commented 1 year ago

@OtoKiroo you have to install Postgresql separate on this box

OtoKiroo commented 1 year ago

@lmangani Thanks for the quick reply. Our company bought a Synology NAS server which comes with its own GUI and packages. They have docker integrated in their GUI, making it easier to install and manage docker containers. I was not able to clone the github repo using their GUI, but was able to do so in CLI, however when i docker-compose from the yaml i get the errors from the screenshot provided above. I guess Synology have their own user who executes command when we create a container from their GUI, however when accessing the CLI using our root user it seems to block us from accessing certain directories and writing to them.

Was just curious to see if anyone had encountered the same problem as me and if they had found a way to work around it.

OtoKiroo commented 1 year ago

@adubovikov Could you elaborate abit further? Thanks !

lmangani commented 1 year ago

@OtoKiroo I guess you could write a simplified compose file without volumes and it should just work.

adubovikov commented 1 year ago

https://github.com/sipcapture/homer7-docker/blob/d05e513d41023feada56211386e6d221d4edcd30/heplify-server/hom7-prom-all/docker-compose.yml#L192