bin bash echo Run at date usr local bin docker-compose up -d --scale i

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
#!/bin/bash
echo "Run at $(date)"
/usr/local/bin/docker-compose up -d \
--scale instance_manager=6 \
--scale activity=6 \
--scale simulation_manager=6 \
--scale sync_manager=6
# some additional
/usr/bin/docker cp /var/mosaic-service-engine/config/.htpasswd enginecompose_http_node_1:/usr/local/bin
/usr/bin/docker restart mosaic-service-engine