20 lines
590 B
Bash
20 lines
590 B
Bash
#!/bin/sh
|
|
# Helper para levantar LibreTime en macOS usando docker compose
|
|
|
|
set -eu
|
|
|
|
ROOT_DIR=$(cd "$(dirname "$0")/.." && pwd)
|
|
cd "$ROOT_DIR"
|
|
|
|
if [ ! -f .env ]; then
|
|
echo ".env not found — copying from .env.example"
|
|
cp .env.example .env
|
|
echo "Please edit .env and set secure passwords for POSTGRES_PASSWORD and RABBITMQ_DEFAULT_PASS, then re-run this script."
|
|
exit 1
|
|
fi
|
|
|
|
echo "Starting docker compose using docker-compose.easypanel.yml..."
|
|
docker compose -f docker-compose.easypanel.yml up -d
|
|
|
|
echo "Done. To see logs: docker compose -f docker-compose.easypanel.yml logs -f api"
|