Docker swarm to manage python microservices "farm"

Hi !

I read since days without finding what I want ..

I built python microservices “farm” where I can deploy autonomous microservice in container with shell script including input specific parameters

I build specific image for each deployed microservice with dockerfile..

  • each service has one dockerfile in a dedicated directory and one dedicated image
  • each container is launched depending of the input stream
  • each service listen to a webhook
  • each webhook is served by nginx reverse proxy mode .

I can deploy hundred of containers with my project .. number of running services can move across time (new vs stopped one)

but I struggling to see if swarm can help in this architecture. It would be nice to benefits of load balancing system btw..

I search and read a lot of docker-compose.yaml examples without founding one that meet my requirements ..

any help appreciated :slight_smile: