mirror of
https://github.com/shlinkio/shlink.git
synced 2025-03-27 12:01:49 +03:00
Made commands run indocker to use the shlink_php container instead of the shlink_swoole
This commit is contained in:
parent
8407fee96d
commit
685ee51e1f
1 changed files with 2 additions and 2 deletions
4
indocker
4
indocker
|
@ -1,8 +1,8 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Run docker containers if they are not up yet
|
# 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
|
docker-compose up -d
|
||||||
fi
|
fi
|
||||||
|
|
||||||
docker exec -it shlink_swoole /bin/sh -c "$*"
|
docker exec -it shlink_php /bin/sh -c "cd /home/shlink/www && $*"
|
||||||
|
|
Loading…
Add table
Reference in a new issue