docker-compose help scale - Set number of containers to run for a service.



  • Set number of containers to run for a service.
    
    Numbers are specified in the form `service=num` as arguments.
    For example:
    
        $ docker-compose scale web=2 worker=3
    
    This command is deprecated. Use the up command with the `--scale` flag
    instead.
    
    Usage: scale [options] [SERVICE=NUM...]
    
    Options:
      -t, --timeout TIMEOUT      Specify a shutdown timeout in seconds.
    			     (default: 10)
    

 

© Lightnetics 2019