Docker – Using replicas to scale multiple web server instances
I'm developing a web server in Rust, and it works fine using just Docker and defining two services in compose. As follows: x-common_auth_service: &common_auth_service container_name: auth build: context: ./auth dockerfile: Dockerfile network_mode: host restart: always deploy: resources: limits: memory: 40M…