Skip to content

Commit

Permalink
refactor : file path
Browse files Browse the repository at this point in the history
  • Loading branch information
heesane committed Nov 28, 2024
1 parent 8d8d002 commit d1a6ab6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-build.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#!/bin/bash

FILE_PATH="/home/$USER/server"
FILE_PATH="/home/$USER/server/docker"

if [ $# -lt 1 ]; then
echo "사용법: $0 <parameter 1> example) back"
exit 1
fi

if [ "$1" = "mq" ]; then
sudo docker compose -f "$FILE_PATH/mq/docker-compose.mq.yml" up -d --build
sudo docker compose -f "$FILE_PATH/message_queue/docker-compose.mq.yml" up -d --build
elif [ "$1" = "database" ]; then
sudo docker compose -f "$FILE_PATH/database/docker-compose.database.yml" up -d --build
elif [ "$1" = "devops" ]; then
Expand Down

0 comments on commit d1a6ab6

Please sign in to comment.