D🐈
Size: a a a
D🐈
D🐈
AS
D🐈
AS
D🐈
AS
AS
depends_on:
postgres:
condition: service_healthy
mongo:
condition: service_started
clickhouse:
condition: service_started
D🐈
D🐈
AS
D🐈
D🐈
AS
AS
AS
D🐈
#! /bin/bash
if [[ $1 == "up" ]]; then
# runs "docker-compose up" and then "docker-compose down"
docker-compose up "${@:2}"; docker-compose down
elif [[ $1 == "run" ]]; then
# "d-c run" automatically adds the --rm flag
docker-compose run --rm "${@:2}"
else
# any other d-c command runs docker-compose normally
docker-compose "${@:1}"
fi
D🐈
AS