mirror of
https://github.com/shlinkio/shlink.git
synced 2026-02-28 12:13:13 +08:00
10 lines
199 B
Bash
Executable File
10 lines
199 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Run docker containers if they are not up yet
|
|
if [[ $(docker ps | grep shlink_swoole) ]]; then :
|
|
else
|
|
docker-compose up -d
|
|
fi
|
|
|
|
docker exec -it shlink_swoole /bin/sh -c "$*"
|