evertramos / docker-portainer-letsencrypt

Portainer docker container over SSL Certificate using Let's Encrypt automated by our webproxy docker-compose-letsencrypt-nginx-proxy
GNU Lesser General Public License v3.0
189 stars 52 forks source link

Portainer goes down when using Docker API #7

Closed catalinroweb closed 4 years ago

catalinroweb commented 4 years ago

Error description:

So, i connected to my docker env using TLS config Domain:Port (not IP, i used domain because IP is dynamic) As example i will use "example.com:1234" After i add a container ("nginx:alpine in my case) which points to my domain ("example.com"), the Portainer endpoint is no more accesible, is down.

Steps to reproduce

Connect to a docker machine using Docker API using Domain:Port. Add nginx container which points to used domain and deploy it. Refresh portainer

Expected result

Portained endpoints will be accesible in order to show all my running images, volumesc, etc

Error result

Portainer endpoint is "down"

Comments

evertramos commented 4 years ago

Dont know how to help you sorry...

This probably has nothing to do with this proxy.

catalinroweb commented 4 years ago

Ok, thanks. I will fill a bug report to Portainer.

catalinroweb commented 4 years ago

If i use the real ip, is working. I still think is a proxy problem.

evertramos commented 4 years ago

@catalinroweb

I didn´t get it...

please post your compose file for proxy, for portainer, show some logs on the request on the nginx-proxy.. and logs on portainer I might be able to help you with. I could not reproduce what you post in first place... didn´t even understand. sorry