fix(deploy): remove docker compose restart from deployment script
Removes the 'docker compose restart' command from the deployment script as it was causing unnecessary service interruptions during deployment. The tar extraction and cleanup steps are sufficient for updating the application files without requiring a full container restart.
This commit is contained in:
1 parent
126bd66ddb
commit
d0189c57a5
1 file changed
-1
@@ -36,7 +36,6 @@ ssh -o StrictHostKeyChecking=no ${SSH_PRIVATE_KEY} ${SSH_USERNAME}${DEPLOYMENT_H
|
||||
DATAPATH=$(cat .env | grep "NGINX_DATA" | sed "s/NGINX_DATA=//g")
|
||||
rm -rf ${DATAPATH}/{*,.*}
|
||||
tar xf /tmp/httpdocs.tgz -C ${DATAPATH}
|
||||
docker compose restart
|
||||
rm -f /tmp/httpdocs.tgz
|
||||
EOF
|
||||
rm -f httpdocs.tgz
|
||||
Reference in new issue
Block a user