Hello, i am lost in addon creation. I can run hello word but i have no idea hot docker and container works.
I found interesting project which build docker container but i have no idea how to use it in addon. I am using HAOS.
Pojekt is: https://hub.docker.com/r/immybot/remotely
Can you some one push me the correct way?
Thank you
Lordrak
Yes i did. I manage it to start i hope it is ok.
But it as no pesisstent data storage, all settings are deleted when update occurs.
Original run command is like ```
docker run -d --name remotely --restart unless-stopped -p 5000:5000 -v /var/www/remotely:/remotely-data
I have no idea how to use it in home assistant. As i understand, HA automatically mount /data. How to convert it from the -v parameter?
Thank you
Hi, i figured it out.
I have copied docker file from vendor and customize it. I have to create intermediate container to download compiled code, unpack it and copy to main container.
Lordrak
Ok, Addon workign i have found problem access it data.
I cant figure it out. I am using “map” with addon_config in config.jaml file for the addon.
docker command to map files out is: docer run -v /var/www/remotely:/remotely-data
do /remotely-data is mapper to /var/www/remotely in docker files system where user can access it. How to map it to addon_config folder?