Skip to content

Commit

Permalink
chore(dev): prune named volume after tearing down external services (#…
Browse files Browse the repository at this point in the history
…10875)

When we stop services (e.g. Postgres), we should remove named volumes
declared in the `volumes` section of the docker compose file and
anonymous volumes attached to containers, otherwise the next startup
would reuse garbage data.

FTI-5073
  • Loading branch information
outsinre authored May 17, 2023
1 parent f3e9de0 commit 7d4c074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/dependency_services/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ else
fi

if [ "$2" == "down" ]; then
$DOCKER_COMPOSE down
$DOCKER_COMPOSE down -v
exit 0
fi

Expand Down

1 comment on commit 7d4c074

@khcp-gha-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bazel Build

Docker image available kong/kong:7d4c0744a24e62f8cdba8add50b7c7d5e4326c9f
Artifacts available https://github.com/Kong/kong/actions/runs/5003996421

Please sign in to comment.