You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
740 B

4 years ago
  1. all: gen
  2. .PHONY : gen
  3. gen: dev
  4. build:
  5. cd ../weed; GOOS=linux go build; mv weed ../docker/
  6. docker build --no-cache -t chrislusf/seaweedfs:local -f Dockerfile.local .
  7. rm ./weed
  8. dev: build
  9. docker-compose -f local-dev-compose.yml -p seaweedfs up
  10. dev_mount: build
  11. docker-compose -f local-mount-compose.yml -p seaweedfs up
  12. k8s: build
  13. docker-compose -f local-k8s-compose.yml -p seaweedfs up
  14. dev_registry: build
  15. docker-compose -f local-registry-compose.yml -p seaweedfs up
  16. dev_replicate: build
  17. docker-compose -f local-replicate-compose.yml -p seaweedfs up
  18. cluster: build
  19. docker-compose -f local-cluster-compose.yml -p seaweedfs up
  20. 2clusters: build
  21. docker-compose -f local-clusters-compose.yml -p seaweedfs up
  22. clean:
  23. rm ./weed