mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-28 00:38:46 +03:00
8 lines
187 B
Bash
Executable file
8 lines
187 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
# Run docker containers if they are not up yet
|
|
if ! [[ $(docker ps | grep shlink) ]]; then
|
|
docker-compose up -d
|
|
fi
|
|
|
|
docker exec -it shlink_swoole /bin/sh -c "$*"
|