-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
69 lines (55 loc) · 1.68 KB
/
justfile
File metadata and controls
69 lines (55 loc) · 1.68 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
default:
@just --list
# =============================================================================
# Orchestration
# =============================================================================
# Start all services
[group('Orchestration')]
up:
docker compose up -d
# Start a specific service
[group('Orchestration')]
up-service service:
docker compose up -d {{service}}
# Stop all services
[group('Orchestration')]
down:
docker compose down
# Restart a specific service
[group('Orchestration')]
restart service:
docker compose restart {{service}}
# Show status of all services
[group('Orchestration')]
status:
docker compose ps
# =============================================================================
# Logs
# =============================================================================
# Follow logs for all services (or a specific one)
[group('Logs')]
logs service="":
docker compose logs -f {{service}}
# =============================================================================
# Maintenance
# =============================================================================
# Pull latest images for all services
[group('Maintenance')]
pull:
docker compose pull
# Remove stopped containers and unused images
[group('Maintenance')]
prune:
docker compose down --remove-orphans
docker image prune -f
# =============================================================================
# Development
# =============================================================================
# Start the web frontend in dev mode
[group('Development')]
dev:
pnpm --filter @atl.tools/web dev
# Build the web frontend
[group('Development')]
build:
pnpm turbo build