Skip to content

Commit

Permalink
refactored bat to shell #14
Browse files Browse the repository at this point in the history
  • Loading branch information
aj-he committed Jul 4, 2023
1 parent 3b9e85a commit a08cb99
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 10 deletions.
2 changes: 0 additions & 2 deletions template/_6.x_6.1_6.2_/docker_down.bat

This file was deleted.

3 changes: 0 additions & 3 deletions template/_6.x_6.1_6.2_/docker_up.bat

This file was deleted.

2 changes: 2 additions & 0 deletions template/_6.x_6.1_6.2_/helper_scripts/docker_down.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
cd .. && docker-compose -f docker-compose.yml -p {{project}} down
docker-compose -f docker-compose-dependencies.yml -p {{project}} down
4 changes: 4 additions & 0 deletions template/_6.x_6.1_6.2_/helper_scripts/docker_up.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
cd .. && docker-compose -f docker-compose-dependencies.yml -p {{project}} up -d
sleep 30s
# NOTE: --build option can be excluded below if the image does not need rebuilding.
docker-compose -f docker-compose.yml -p {{project}} up -d --build
2 changes: 0 additions & 2 deletions template/_7.x_7.3_7.4_/docker_down.bat

This file was deleted.

3 changes: 0 additions & 3 deletions template/_7.x_7.3_7.4_/docker_up.bat

This file was deleted.

2 changes: 2 additions & 0 deletions template/_7.x_7.3_7.4_/helper_scripts/docker_down.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
cd .. && docker-compose -f docker-compose.yml -p {{project}} down
docker-compose -f docker-compose-dependencies.yml -p {{project}} down
4 changes: 4 additions & 0 deletions template/_7.x_7.3_7.4_/helper_scripts/docker_up.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
cd .. && docker-compose -f docker-compose-dependencies.yml -p {{project}} up -d
sleep 30s
# NOTE: --build option can be excluded below if the image does not need rebuilding.
docker-compose -f docker-compose.yml -p {{project}} up -d --build

0 comments on commit a08cb99

Please sign in to comment.