I need to use
docker stack deploy ... to start a SWAG container in a production environment. It fails due to the certbot timing out while waiting to validate. The
docker-compose.yml file I’m using works if I use
docker-compose up. And,
docker stack deploy works if the config already has certs in it. So, it seems like there’s some issue with the SWAG image’s
certbot trying to run in the Docker Stack environment.
I filed an issue here: `docker stack deploy` certbot fails to validate certs · Issue #88 · linuxserver/docker-swag · GitHub
The issue was summarily closed claiming that Docker Swarm port forwarding is the problem, even though the image can run in the swarm and both ports are being forwarded. Could someone please provide insight or re-open the issue.
(Posting here in General because Discourse won’t let newbie me post in LSIO Discussion)