shlink/indocker

9 lines
202 B
Text
Raw Normal View History

2017-01-20 00:56:45 +03:00
#!/usr/bin/env bash
2018-12-02 21:13:49 +03:00
# Run docker containers if they are not up yet
2024-02-17 01:02:46 +03:00
if ! [[ $(docker ps | grep shlink_roadrunner) ]]; then
docker compose up -d
2018-12-02 21:13:49 +03:00
fi
2024-02-17 01:02:46 +03:00
docker exec -it shlink_roadrunner /bin/sh -c "$*"