Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
@ -630,7 +630,7 @@ compose:container:service() {
export -f compose:container:service
compose:psql() {
local project_name="$1" dbname="$2"
local project_name="$1" dbname="$2" container_id
container_id=$(compose:charm:container_one "$project_name" "postgres") || return 1
docker exec -i "${container_id}" psql -U postgres "$dbname"
}