-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart.sh
More file actions
38 lines (32 loc) · 1022 Bytes
/
start.sh
File metadata and controls
38 lines (32 loc) · 1022 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
28
29
30
31
32
33
34
35
36
37
38
#!/bin/bash
echo "============================================"
echo " Skopia Task Manager API - Docker Setup"
echo "============================================"
echo ""
# Stop and remove existing containers
echo "Stopping existing containers..."
docker-compose down -v
# Build and start containers
echo "Building and starting containers..."
docker-compose up --build -d
# Wait for SQL Server to be ready
echo "Waiting for SQL Server to be ready..."
sleep 15
# Check container status
echo ""
echo "Container status:"
docker-compose ps
echo ""
echo "============================================"
echo " Setup Complete!"
echo "============================================"
echo ""
echo "API is available at: http://localhost:5000"
echo "Swagger UI: http://localhost:5000/swagger"
echo "SQL Server: localhost:1433"
echo " Username: sa"
echo " Password: YourStrong@Passw0rd"
echo ""
echo "To view logs: docker-compose logs -f"
echo "To stop: docker-compose down"
echo "============================================"