From 685ee51e1fbfaedf8b675e6b333eada4e82d3112 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Wed, 7 Aug 2019 11:05:21 +0200 Subject: [PATCH] Made commands run indocker to use the shlink_php container instead of the shlink_swoole --- indocker | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indocker b/indocker index 789386ac..9b535ec7 100755 --- a/indocker +++ b/indocker @@ -1,8 +1,8 @@ #!/usr/bin/env bash # Run docker containers if they are not up yet -if ! [[ $(docker ps | grep shlink_swoole) ]]; then +if ! [[ $(docker ps | grep shlink_php) ]]; then docker-compose up -d fi -docker exec -it shlink_swoole /bin/sh -c "$*" +docker exec -it shlink_php /bin/sh -c "cd /home/shlink/www && $*"