Skip to content

Commit

Permalink
Merge pull request #7305 from NoahTheDuke/nb/docker-binstubs
Browse files Browse the repository at this point in the history
Docker binstubs
  • Loading branch information
NoahTheDuke authored Mar 19, 2024
2 parents 0a6b6e6 + b615a44 commit 1cf0a5b
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/build
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
set -eux -o pipefail

docker-compose build
4 changes: 4 additions & 0 deletions bin/down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
set -eux -o pipefail

docker-compose down --remove-orphans
4 changes: 4 additions & 0 deletions bin/logs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
set -eux -o pipefail

docker-compose logs --tail=500 --no-log-prefix --follow server
4 changes: 4 additions & 0 deletions bin/restart
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh

set -eux -o pipefail
bin/down && bin/up
4 changes: 4 additions & 0 deletions bin/up
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh

docker-compose build
docker-compose up -d

0 comments on commit 1cf0a5b

Please sign in to comment.