aboutsummaryrefslogtreecommitdiff
path: root/docker/Makefile
blob: fe278f9b42fe6684ded0270c615a23e4a40e20b3 (plain)
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
all: gen

.PHONY : gen

gen: dev

build:
	cd ../weed; GOOS=linux go build; mv weed ../docker/
	docker build --no-cache -t chrislusf/seaweedfs:local -f Dockerfile.local .
	rm ./weed

dev: build
	docker-compose -f local-dev-compose.yml -p seaweedfs up

dev_mount: build
	docker-compose -f local-mount-compose.yml -p seaweedfs up

k8s: build
	docker-compose -f local-k8s-compose.yml -p seaweedfs up

dev_registry: build
	docker-compose -f local-registry-compose.yml -p seaweedfs up

cluster: build
	docker-compose -f local-cluster-compose.yml -p seaweedfs up

2clusters: build
	docker-compose -f local-clusters-compose.yml -p seaweedfs up

clean:
	rm ./weed