#!/bin/bash

BASE_DIR="/opt/docker"

SERVICES=(
    "synapse"
    "filebrowser"
    "schoolmc"
    "uptimekuma"
    "jellyfin"
    "radarr"
    "sonarr"
    "searxng"
    "bazarr"
    "roundcube"
    "wireguard"
    "transmission"
    "jackett"
    "mchardcore"
)

for SERVICE in "${SERVICES[@]}"; do
    echo "Starting Docker Compose in $SERVICE..."
    cd "$BASE_DIR/$SERVICE" || { echo "Failed to enter $SERVICE"; continue; }
    docker compose up -d
done

echo "All services have been started."

