Skip to content

Commit

Permalink
fix manage script variables
Browse files Browse the repository at this point in the history
Signed-off-by: pstlouis <[email protected]>
  • Loading branch information
PatStLouis committed Sep 7, 2024
1 parent e4bbb0f commit a62a35b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions demo/manage
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ usage () {
EOF
exit 1
}
. .env.demo

COMMAND=${1}

Expand All @@ -31,11 +30,11 @@ sudo docker compose --env-file .env.demo up --build
sudo docker compose --env-file .env.demo up --build -d
;;
restart)
sudo docker compose down -v
sudo docker compose --env-file .env.demo up down -v
sudo docker compose --env-file .env.demo up --build -d
;;
stop)
sudo docker compose down -v
sudo docker compose --env-file .env.demo up down -v
;;
*)
usage;;
Expand Down

0 comments on commit a62a35b

Please sign in to comment.