epaper-station icon indicating copy to clipboard operation
epaper-station copied to clipboard

Where to put the images with docker

Open smitterer opened this issue 2 years ago • 3 comments

Hi!

I'm very new to docker but usually had to map some folders. I don't see such here. Does there need to be some mapping so the program can find the images? Should there be some log outputs except "Station started"?

Thanks

smitterer avatar Jan 24 '23 05:01 smitterer

You can specify directory variable and map it from host:

https://github.com/danielkucera/epaper-station/blob/master/station.py#L18

danielkucera avatar Jan 24 '23 07:01 danielkucera

Thanks!

Should this hold something like /docker/epaperstation/ or the complete path /volume1/docker/epaperstation (I'm running docker on a Synology. Normally I would run a docker container via the GUI and there I only set /docker/epaperstation/ as the path.

Should there be any other log output except "Station started"? For example when a connection to a price tag was accomplished.

smitterer avatar Jan 24 '23 08:01 smitterer

You should see logs when the display requests some data. You can choose the path however you want, I am not familiar with synology Docker.

danielkucera avatar Jan 24 '23 09:01 danielkucera