jlesage / docker-nginx-proxy-manager

Docker container for Nginx Proxy Manager
MIT License
784 stars 177 forks source link

Configurations were removed when NPM was updated by Watchtower! #226

Closed yeungon closed 2 years ago

yeungon commented 2 years ago

Hi there,

I love NPM. It helps me to avoid lots of headaches when configuring proxies for different domains.

FYI, I use Portainer to deploy NPM. Everything is perfect. Yet, when Watchtower silently updated NPM, all of my data/configurations were gone. There must be something wrong with my way of using NPM or Watchtower.

I would love to hear from you.

Cheer.

jlesage commented 2 years ago

Persistent data should be saved on the host, not inside the container. So I don't think Watchtower removed the data from the host. Did you have a volume mapping configured for the /config folder ?

yeungon commented 2 years ago

Thanks for your comment @jlesage

The persistent data should be kept on the host, I know that. So there could be something wrong with the way I run NPM. I often use Portainer to manage docker. I think I have already configured it correctly as in the image attached:

Screenshot from 2022-01-05 08-24-11

jlesage commented 2 years ago

Which Docker image are you using?

yeungon commented 2 years ago

I am using this one https://hub.docker.com/r/jc21/nginx-proxy-manager

jlesage commented 2 years ago

Ok, for this image, you should report the issue at https://github.com/jc21/nginx-proxy-manager/issues instead.

yeungon commented 2 years ago

thanks @jlesage .