Skip to content

Commit

Permalink
fix scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
hanshino authored May 15, 2024
1 parent 94e8c56 commit 0ada7ae
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion docker-compose.traefik.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.5"
services:
frontend:
image: hanshino/redive_frontend
Expand Down
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: "3.5"
services:
mysql:
image: mysql
Expand Down
3 changes: 2 additions & 1 deletion scripts/run-tasks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ PARENT_DIR="$(cd "${PARENT_DIR}" && cd ../ && pwd)"
export TASK_SECTION="${1}"
export PROJECT_NAME="${PROJECT_NAME:-}"

export COMPOSE_CMD=("docker-compose")
export DOCKER_CMD=("docker")
export COMPOSE_CMD=("${DOCKER_CMD[@]}" "compose")

if [[ ! -z "${PROJECT_NAME}" ]]; then
COMPOSE_CMD+=("-p" "${PROJECT_NAME}")
Expand Down

0 comments on commit 0ada7ae

Please sign in to comment.