i am using torizon with sdcard being used to store data. i am using docker-compose file placed in /var/sota/storage/docker-compose/docker-compose.yml
to automatically start the containers. i am using bind mount /media/card
to pass the folder to docker container. To automatically mount the sd card i have added it to the fstab
/dev/mmcblk1p1 /media/card auto defaults,sync,auto,nofail,uid=1000,gid=1000 0 0
i wanted to know if this the recommended way to achieve mounting the sd card automatically or is there a better way ? i want the system to still be able to boot incase the sdcard is not present. therefore i have added the nofail option.