seaweedfs/docker/Makefile

38 lines
865 B
Makefile
Raw Normal View History

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
2021-02-03 21:09:28 +00:00
docker-compose -f compose/local-dev-compose.yml -p seaweedfs up
2020-02-27 00:46:29 +00:00
2021-01-23 06:47:23 +00:00
dev_mount: build
2021-02-03 21:09:28 +00:00
docker-compose -f compose/local-mount-compose.yml -p seaweedfs up
2021-01-23 06:47:23 +00:00
2020-12-21 15:58:41 +00:00
k8s: build
2021-02-03 21:09:28 +00:00
docker-compose -f compose/local-k8s-compose.yml -p seaweedfs up
2020-12-21 15:58:41 +00:00
2020-11-11 10:02:30 +00:00
dev_registry: build
2021-02-03 21:09:28 +00:00
docker-compose -f compose/local-registry-compose.yml -p seaweedfs up
2020-11-11 10:02:30 +00:00
2021-01-26 17:50:25 +00:00
dev_replicate: build
2021-02-03 21:09:28 +00:00
docker-compose -f compose/local-replicate-compose.yml -p seaweedfs up
2021-01-26 17:50:25 +00:00
2020-02-27 00:46:29 +00:00
cluster: build
2021-02-03 21:09:28 +00:00
docker-compose -f compose/local-cluster-compose.yml -p seaweedfs up
2020-02-27 00:46:29 +00:00
2021-01-24 08:00:42 +00:00
2clusters: build
2021-02-03 21:09:28 +00:00
docker-compose -f compose/local-clusters-compose.yml -p seaweedfs up
2021-01-24 08:00:42 +00:00
filer_etcd: build
2021-02-03 21:09:28 +00:00
docker stack deploy -c compose/swarm-etcd.yml fs
2020-02-27 00:46:29 +00:00
clean:
2020-02-26 05:56:15 +00:00
rm ./weed