Skip to content

Commit

Permalink
Merge pull request #3419 from AlexsLemonade/ark/update-api-instance-u…
Browse files Browse the repository at this point in the history
…ser-data

Explicitly remove existing API containers
  • Loading branch information
arkid15r authored Oct 16, 2023
2 parents 3007d7d + b3adda4 commit 06511fa
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,11 @@ chmod a+rwx /tmp/volumes_static
# Pull the API image.
docker pull "${dockerhub_repo}/${api_docker_image}"

# shellcheck disable=SC2046
docker rm -f $(docker ps --quiet --all) || true

# These database values are created after TF
# is run, so we have to pass them in programatically
# is run, so we have to pass them in programatically.
docker run \
--detach \
--env DATABASE_HOST="${database_host}" \
Expand Down

0 comments on commit 06511fa

Please sign in to comment.