mirror of
https://github.com/engineer-man/piston.git
synced 2025-07-12 00:38:45 +02:00
Compare commits
2 commits
21fe3eefc2
...
8c3d4cb77f
Author | SHA1 | Date | |
---|---|---|---|
|
8c3d4cb77f | ||
|
5004635c55 |
1 changed files with 9 additions and 7 deletions
2
piston
2
piston
|
@ -23,6 +23,7 @@ case $1 in
|
||||||
echo " start Starts piston"
|
echo " start Starts piston"
|
||||||
echo " stop Stops piston"
|
echo " stop Stops piston"
|
||||||
echo " restart Restarts piston"
|
echo " restart Restarts piston"
|
||||||
|
echo " bash Opens a bash shell for the piston_api container"
|
||||||
echo
|
echo
|
||||||
echo " update Fetches and applies latest updates"
|
echo " update Fetches and applies latest updates"
|
||||||
echo
|
echo
|
||||||
|
@ -51,6 +52,7 @@ case $1 in
|
||||||
restart) docker_compose restart ;;
|
restart) docker_compose restart ;;
|
||||||
start) docker_compose up -d ;;
|
start) docker_compose up -d ;;
|
||||||
stop) docker_compose down ;;
|
stop) docker_compose down ;;
|
||||||
|
bash) docker_compose exec api /bin/bash ;;
|
||||||
|
|
||||||
update)
|
update)
|
||||||
git pull
|
git pull
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue