docker-freescout icon indicating copy to clipboard operation
docker-freescout copied to clipboard

Edit files

Open maticboncina opened this issue 1 year ago • 2 comments

Hello,

How does one edit HTML/PHP and other installation files? I can't seem to find where they are stored after installing with docker. I am using all default settings.

Any help is much appreciated.

Best, Matic

maticboncina avatar Sep 08 '22 05:09 maticboncina

You would need to expose /www/freescout and not expose /data as a volume if you wanted to edit the html files. However, this will lock you into using that version and upgrades will stop working. Are you trying to make a couple small mods? I do similar for my organization and have a seperate git repository that I use to overrwrite the source code files each start of the container to give me the customizations that I want. I drop all my files into /assets/custom and upon container startup it will copy the files into /www/freescout for you.

tiredofit avatar Sep 11 '22 23:09 tiredofit

Hi Dave,

Thank you for your reply. Yes, that’s exactly what I’m looking to do :)

This “hack” you described is really cool idea. I will implement it that way. Thank you again so much.

All the best, Matic

maticboncina avatar Sep 12 '22 04:09 maticboncina