I am developing an application (please see image) where users can register. When a user registers, then a service is created inside a docker for this user. The service must be reached under a subdomain also created for this user (user1.example.com) and a fixed port xyz (the port is always the same). All this must happen without restarting the server.
- How can I do this?
- Does anyone know of a guide where I can read about this?
- Is my approach ok?
My main application 1 (where users first register) is done with django. I was thinking of doing this using nginx and docker.
Thank you very much.