Integrating an FTP image into the stack with TLS, etc

Hello everyone

I have a LAMP stack with Docker and would like to integrate an FTP server (stilliard/pure-ftpd) into this stack.

I have multiple instances of this stack on my server, so I want to use the appropriate stack each time I connect to the FTP server.

I've been trying this for two days, but it works without Traefik, but only without TLS.

I would like to have the complete package. Has anyone implemented something like this before and can help me?

Should I post all my configurations directly, or can someone link me to a good Docker image that worked for them, so I could try it myself first?

FTP is an old protocol, browsers have removed support, because it's not really modern infrastructure compatible, as it uses multiple dynamic UDP ports and not plain TLS connections. So it doesn't really work well with reverse proxies like Traefik.

You could try to setup Traefik to work with plain TCP for the control connection, but then you would need to use a different port for every target service. Someone else tried to make additional ports available (post).

May I recommend to use WebDAV instead, which uses http?