docker-compose 模板
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

11 lines
180 B

#!/bin/bash
docker-compose up -d app_backup
sleep 15
docker-compose stop app
docker-compose up -d app
sleep 20
docker-compose stop app_backup worker
docker-compose up -d worker