1
0
Fork 0
mirror of https://github.com/shlinkio/shlink.git synced 2025-01-22 11:23:48 +03:00
shlink/indocker
2024-02-16 23:02:46 +01:00

8 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 "$*"