Closed Xenomes closed 6 months ago
From @Xenomes On a clean install, running in the Python venv, SSL works. Running it in Docker (Dockerfile) results in an error.
Maybe need to add a volume for ssl cert and keys in dockerfile or put the cert and keys in config folder?
Yes, that is a good idea to put them there. Then the issue is resolved; I am testing it right now.
Update: Putting the files in the config and changing the path to /config/, the SSL is running in the Docker. Also the ${USER}, ${HOME} or ~ is not working in the docker yaml file. When hard coding the path to /home/pi/DZGA-Flask the volumes where working.
Are running with docker compose? ${USER} works for me with composer
Yes, I use Docker Compose.
sudo docker-compose -f dzga-compose.yaml up -d
The Docker starts, but the volumes weren't used.
Issue with SSL was fixed, volumes is a docker or Ubuntu issue,
Hi, I just updated to the latest version 23.8. I'm attempting to enable SSL using the same certificate and key that I successfully used with the previous version (DZGA), but it doesn't seem to be working for me. The message I'm encountering after the boot is: