1
0
Fork 0
mirror of https://github.com/shlinkio/shlink.git synced 2025-03-02 22:25:41 +03:00
shlink/indocker
2022-10-12 18:23:36 +02:00

8 lines
194 B
Bash
Executable file

#!/usr/bin/env bash
# Run docker containers if they are not up yet
if ! [[ $(docker ps | grep shlink_swoole) ]]; then
docker-compose up -d
fi
docker exec -it shlink_swoole /bin/sh -c "$*"