mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-28 11:34:11 -06:00
9 lines
202 B
Bash
Executable File
9 lines
202 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Run docker containers if they are not up yet
|
|
if ! [[ $(docker ps | grep shlink_roadrunner) ]]; then
|
|
docker compose up -d
|
|
fi
|
|
|
|
docker exec -it shlink_roadrunner /bin/sh -c "$*"
|