Skip to content

Commit

Permalink
add scripts to repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexejhero committed Jun 10, 2024
1 parent 66f7d4b commit efb9371
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/access_db.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env bash
sudo docker exec -it swarm-control-db-1 /bin/mysql
3 changes: 3 additions & 0 deletions scripts/attach_ebs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash
git pull
sudo docker compose up --build
4 changes: 4 additions & 0 deletions scripts/run_ebs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
git pull
sudo docker compose up -d --build
sudo docker compose logs -f -t --since 1m

0 comments on commit efb9371

Please sign in to comment.