Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

use compose exec variable

Markus Kahlda1a30bd8d9c
diff --git a/bin/compose b/bin/compose
index 0a69985a641..76861cedbb4 100755
--- a/bin/compose
+++ b/bin/compose
@@ -58,7 +58,7 @@ elif [[ "$1" = "reset" ]]; then
$DOCKER_COMPOSE -f $COMPOSE_FILE down && docker volume rm `docker volume ls -q | grep ${PWD##*/}_`
elif [[ "$1" = "rspec" ]]; then
function get-container-name() {
- name=`docker-compose ps backend-test | tail -n1 | cut -d ' ' -f1`
+ name=`$DOCKER_COMPOSE ps backend-test | tail -n1 | cut -d ' ' -f1`
if [ "$name" = 'NAME' ]; then
return 1;