Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Docker Nginx-proxy and letsencrypt not working
Hi, I’m writing this out of frustration, after reading all available tutorials and docs, but apparently I’m missing something important.
I want to revamp my website [MYDOMAIN] using docker and create a static website, a POSTGRES container, and some Dockerized apps.
I started out registering MYDOMAIN on Digital Ocean Network section with www and without.
I cloned and started https://github.com/jwilder/nginx-proxy
I cloned https://github.com/evertramos/docker-compose-letsencrypt-nginx-proxy-companion
Create a .env with my Digital Ocean IP:
Set the IP address of the external access Interface
After that if I run
And I get “it works” results then I run ./test_stop.sh
After that I registered a subdomain portainer.MYDOMAIN
I cloned https://github.com/evertramos/docker-portainer-letsencrypt
And updated the following parameters:
DOMAINS= MYDOMAIN.com,www. MYDOMAIN.com,portainer. MYDOMAIN.com
Then I try to visit all my domain and portainer domain always with different errors
Can somebody point me in the right direction or suggest a tutorial?