fix(deploy): docker compose restart → up -d で .env 変更を確実に反映

This commit is contained in:
posimai 2026-04-22 12:56:58 +09:00
parent 4f6be0a21e
commit 6b05fc961d
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ echo ""
echo "→ Step 2: コンテナ再起動..."
ssh -i "$VPS_KEY" -o BatchMode=yes "$VPS_HOST" "
cd $APP_DIR && \
docker compose restart api && \
docker compose up -d api && \
echo ' 再起動完了。ログを確認中...' && \
sleep 5 && \
docker compose logs api --tail 15