I hope I explain this OK - just looking for some help guidance on what I think is probably a permissions issue (but I can't solve it).
I have a letsencrypt docker on OMV that automatically renews a ssl certificate for my duckdns domain for my home server. Working fine.
I need to use this ssl certificate for my homeassistant (HA) server that is running on omv as another docker.
So I created a folder in my HA config directory and then added a volume in my HA compose that points to the letsencrypt docker/volume that has the ssl certificate (see below)
and it works - HA uses the certificate and when it renews HA uses the new certificate without me doing anything. Happy Days!
My issue is that when i try to browse the HA config folder with the ssl certificate - it is empty (but HA can see it and use the certificate) - see screen shots...
What is going on?
using winSCP to browse - it's empty
using docker exec to view files at the CLI - it is there!
services:
homeassistant:
container_name: homeassistant
image: "ghcr.io/home-assistant/home-assistant:stable"
volumes:
- /etc/localtime:/etc/localtime:ro
- /omv-system/appdata/homeassistant/config:/config
- /omv-system/appdata/letsencrypt:/config/ssl/letsencrypt:ro
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
restart: unless-stopped
privileged: true
network_mode: host
Alles anzeigen