-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
41 lines (31 loc) · 903 Bytes
/
Makefile
File metadata and controls
41 lines (31 loc) · 903 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
39
40
41
.DEFAULT_GOAL := help
.PHONY: help up down restart dev logs backup update setup
help:
@echo "Self-Hosted Automation Stack"
@echo ""
@echo "Usage: make <target>"
@echo ""
@echo " setup Interactive first-run setup (writes .env, starts stack)"
@echo " up Start the production stack"
@echo " down Stop and remove containers"
@echo " restart Restart all services"
@echo " dev Start in dev mode (direct ports, no Caddy)"
@echo " logs Follow logs for all services"
@echo " backup Back up all volumes to ./backups/"
@echo " update Pull latest images and redeploy"
setup:
bash scripts/setup.sh
up:
docker compose up -d
down:
docker compose down
restart:
docker compose restart
dev:
docker compose -f docker-compose.yml -f docker-compose.dev.yml up
logs:
docker compose logs -f
backup:
bash scripts/backup.sh
update:
bash scripts/update.sh