forked from milsimdk/ots-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
35 lines (25 loc) · 812 Bytes
/
Makefile
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
# HELP
# This will output the help for each task
# thanks to https://marmelab.com/blog/2016/02/29/auto-documented-makefile.html
.PHONY: help
help: ## This help.
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)
.DEFAULT_GOAL := help
up: ## Start OpenTAKServer
docker compose up -d
stop: ## Stop OpenTAKServer
docker compose stop
down: ## Take down OpenTAKServer
docker compose down
pull: ## pull container images down
docker compose pull
restart: ## Restart OpenTAKServer
docker compose restart opentakserver
logs: ## Logs for OpenTAKServer
docker compose logs -f --tail=100
push:
git add .
git commit -m'Work-in-progress'
git push
dev-clean:
@find ./persistent/ots/ ! -name '.gitignore' ! -name 'mediamtx.template' -delete;