Closed xBlaz3kx closed 3 months ago
Thank you for your contribution!
What do you think about putting certificates in /var/opt/docker/
folder like:
volumes:
- /var/opt/docker/alpr-system/database:/app/backend/database
# Bind volume with certificates at runtime
- /var/opt/docker/alpr-system/backend/certs:/app/backend/certs
for example.
I personally feel that it would be better to take a more appropriate and systematic approach.
Thank you for your contribution!
What do you think about putting certificates in
/var/opt/docker/
folder like:volumes: - /var/opt/docker/alpr-system/database:/app/backend/database # Bind volume with certificates at runtime - /var/opt/docker/alpr-system/backend/certs:/app/backend/certs
for example.
I personally feel that it would be better to take a more appropriate and systematic approach.
Since you have included the cert
folders in each component's subdirectory, I assumed that's where the TLS/SSL certificates will be generated. Otherwise, I'd recommend creating a script, that will automatically generate all certificates in /var/opt/docker
and we can fix this inconvenience.
This PR should fix issue I mentioned (#1). I've also added some optimizations to your Dockerfiles.
Please test this solution before you merge the PR, as I don't have the Jetson Nano to fully test this setup. Let me know if there are any issues, and I'll help you debug and fix them.