Samagra-Development / devops

0 stars 0 forks source link

Remove container name from compose services #6

Closed singhalkarun closed 6 months ago

singhalkarun commented 6 months ago

Using container_name has a downside that when we try to run replicas using docker inbuilt replicas keyword, the service fails to start as unique container name is needed for each replica.

Reference: https://stackoverflow.com/a/71829251