2020-02-26 05:56:15 +00:00
|
|
|
all: gen
|
|
|
|
|
|
|
|
.PHONY : gen
|
|
|
|
|
2020-02-27 00:46:29 +00:00
|
|
|
gen: dev
|
|
|
|
|
|
|
|
build:
|
2020-02-26 05:56:15 +00:00
|
|
|
cd ../weed; GOOS=linux go build; mv weed ../docker/
|
2020-03-02 02:23:07 +00:00
|
|
|
docker build --no-cache -t chrislusf/seaweedfs:local -f Dockerfile.local .
|
2020-02-27 00:46:29 +00:00
|
|
|
rm ./weed
|
|
|
|
|
|
|
|
dev: build
|
2020-02-26 05:56:15 +00:00
|
|
|
docker-compose -f local-dev-compose.yml -p seaweedfs up
|
2020-02-27 00:46:29 +00:00
|
|
|
|
2020-11-11 10:02:30 +00:00
|
|
|
dev_registry: build
|
|
|
|
docker-compose -f local-registry-compose.yml -p seaweedfs up
|
|
|
|
|
2020-02-27 00:46:29 +00:00
|
|
|
cluster: build
|
|
|
|
docker-compose -f local-cluster-compose.yml -p seaweedfs up
|
|
|
|
|
|
|
|
clean:
|
2020-02-26 05:56:15 +00:00
|
|
|
rm ./weed
|