Skip to content

Commit

Permalink
Update yugabyte-db.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mofahsan authored Jan 1, 2025
1 parent abd28f7 commit 649a223
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/yugabyte-db.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ jobs:
- name: Deploy yugabyte db
run: |
ssh -o StrictHostKeyChecking=no ${{ secrets.USER }}@${{ secrets.HOST }} bash -c "
ssh -o StrictHostKeyChecking=no ${{ secrets.USER }}@${{ secrets.HOST }} << 'EOF'
# Deploy yugabyte container with the ACL file
docker pull yugabytedb/yugabyte:latest
sudo docker stop yugabyte-db || true && sudo docker rm yugabyte-db || true &&
docker run -d --name yugabyte-db \
-p7000:7000 -p9000:9000 -p15433:15433 -p5433:5433 -p9042:9042 \
Expand All @@ -31,4 +33,4 @@ jobs:
yugabytedb/yugabyte:latest bin/yugabyted start \
--base_dir=/home/yugabyte/yb_data \
--background=false --ysql_enable_auth=true
"
EOF

0 comments on commit 649a223

Please sign in to comment.