Dear community of Allura developers, My name is Iacopo Ciampa and I’m new to Allura and Docker so I hope that my question isn’t too naive.
I am using Allura 1.16.0 installed with docker desktop 4.25.2 on a Macbook M2. I am writing to you about the services nginx-proxy and letsencrypt-nginx-proxy-companion, used in the production version of Allura. The derived containers run successfully locally, but I can’t run the images independently or deploy them on AWS EC2 because I obtain the errors: 2023-11-25 15:19:45 Info: running nginx-proxy version 1.3.1-40-g67ab97e 2023-11-25 15:19:45 ERROR: you need to share your Docker host socket with a volume at /tmp/docker.sock 2023-11-25 15:19:45 Typically you should run your nginxproxy/nginx-proxy with: `-v /var/run/docker.sock:/tmp/docker.sock:ro` 2023-11-25 15:19:45 See the documentation at: https://github.com/nginx-proxy/nginx-proxy/#usage And: 2023-11-25 15:38:45 Info: running acme-companion version v2.2.8-14-g9fbd668 2023-11-25 15:38:45 Error: you need to share your Docker host socket with a volume at /var/run/docker.sock 2023-11-25 15:38:45 Typically you should run your container with: '-v /var/run/docker.sock:/var/run/docker.sock:ro' These suggestions can’t solve my problem as the volumes are already mounted in the correct way in docker-compose-prod.yml and that link only contains general setup advice. I suspect that since the containers run successfully but the images alone don’t the issue could indicate that the images are not self contained, but I could be wrong. Could you help me to solve this problem? Thank you very much in advance, Kind regards, Iacopo Ciampa