Skip to content

Commit

Permalink
enable restart
Browse files Browse the repository at this point in the history
  • Loading branch information
robatipoor committed Dec 12, 2023
1 parent d2c1def commit 9326736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/init_db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ DB_NAME="${DATABASE_NAME:=database_name}"
DB_PORT="${DATABASE_PORT:=5432}"
DB_HOST="${DATABASE_HOST:=localhost}"
CONTAINER_NAME="${DATABASE}_container"
RESTART_CONTAINER="${RESTART_CONTAINER:=false}"
RESTART_CONTAINER="${RESTART_CONTAINER:=true}"
RUNNING_CONTAINER=$(docker ps --filter "name=$CONTAINER_NAME" --format '{{.Names}}')

function run_container() {
Expand Down

0 comments on commit 9326736

Please sign in to comment.