-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun-prod.sh
More file actions
executable file
Β·27 lines (23 loc) Β· 799 Bytes
/
run-prod.sh
File metadata and controls
executable file
Β·27 lines (23 loc) Β· 799 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
echo "π Starting Task Manager API in Production Mode"
echo "==============================================="
if [ ! -f .env ]; then
echo "β .env file not found. Please create it first."
exit 1
fi
set -a
source .env
set +a
docker-compose -f docker-compose.scalable.yml up -d --build
echo "β
Production environment is running!"
echo "π Application: http://localhost"
echo "π HTTPS: https://localhost"
echo "π Grafana: http://localhost:3001 (admin/admin)"
echo "π Prometheus: http://localhost:9090"
echo "π Health Check: http://localhost/health"
echo ""
echo "π Port Configuration:"
echo "β’ PostgreSQL: ${POSTGRES_PORT:-5432}"
echo "β’ Redis: ${REDIS_PORT:-6379}"
echo "β’ Backend: ${BACKEND_PORT:-8080}"
echo "β’ Frontend: ${FRONTEND_PORT:-3000}"