aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 8f6cd99db1aa0a6bdaaf7f8b7a2aeb713b9a3aee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.PHONY: build

help:
	@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'

build: ## Build the Docker image
	docker-compose -p transmission build

up: build ## Bring the container up
	docker-compose -p transmission up -d

down: ## Stop the container
	docker-compose -p transmission stop

enter: ## Enter the running container
	docker-compose -p transmission exec nordvpnd /bin/bash

clean: down ## Remove stoped containers
	docker-compose -p transmission rm -f