This repository has been archived on 2026-07-30. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
docker/services-up.sh
T

23 lines
434 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
ENV="default-environment.env"
SECRETS="secrets/stack-secrets.env"
PROJECT="core"
FILES=(
-f default-network.yml
)
while IFS= read -r file; do
FILES+=(-f "$file")
done < <(
find apps monitoring core \
-type f \
\( -name 'docker-compose.yml' -o -name 'docker-compose.yaml' \) \
| sort
)
docker compose -p "$PROJECT" --env-file "$ENV" --env-file "$SECRETS" "${FILES[@]}" "$@"