-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
47 lines (39 loc) · 1.31 KB
/
Copy pathTaskfile.yml
File metadata and controls
47 lines (39 loc) · 1.31 KB
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
39
40
41
42
43
44
45
46
47
version: '3'
tasks:
up:
desc: "Build and run development containers in detached mode"
cmds:
- docker-compose -f docker-compose.dev.yml up --build -d
- echo "Development containers started"
- docker-compose -f docker-compose.dev.yml logs -f
logs:
desc: "Show development container logs"
cmds:
- docker-compose -f docker-compose.dev.yml logs -f
down:
desc: "Stop development containers"
cmds:
- docker-compose -f docker-compose.dev.yml down
down-volumes:
desc: "Stop development containers and remove volumes"
cmds:
- docker-compose -f docker-compose.dev.yml down -v
down-hard:
desc: "Stop containers, remove volumes, and clean persistence folder"
cmds:
- task: down-volumes
- rm -rf persistence
- echo "Hard cleanup completed - removed persistence folder"
rebuild:
desc: "Rebuild and restart development containers"
cmds:
- docker-compose -f docker-compose.dev.yml down
- docker-compose -f docker-compose.dev.yml up --build -d
backend-logs:
desc: "Show logs for backend service only"
cmds:
- docker-compose -f docker-compose.dev.yml logs -f backend
frontend-logs:
desc: "Show logs for frontend service only"
cmds:
- docker-compose -f docker-compose.dev.yml logs -f frontend