From 98ad0653815d1fcd69f5374056a8ff6a5dd2bdc0 Mon Sep 17 00:00:00 2001 From: Marvin Zhang Date: Tue, 14 Dec 2021 17:26:07 +0800 Subject: [PATCH] updated dockerfile --- Dockerfile | 2 +- Dockerfile.cn | 2 +- Dockerfile.local | 2 +- backend/conf/config.yml | 2 ++ 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index a9a462b7..5d43b839 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,7 +43,7 @@ RUN curl -OL https://golang.org/dl/go1.16.7.linux-amd64.tar.gz \ && ln -s /usr/local/go/bin/go /usr/local/bin/go # install seaweedfs -RUN wget https://github.com/chrislusf/seaweedfs/releases/download/2.76/linux_amd64.tar.gz \ +RUN wget https://github.com/crawlab-team/resources/raw/main/seaweedfs/2.79/linux_amd64.tar.gz \ && tar -zxf linux_amd64.tar.gz \ && cp weed /usr/local/bin diff --git a/Dockerfile.cn b/Dockerfile.cn index 72696d05..13dfecad 100644 --- a/Dockerfile.cn +++ b/Dockerfile.cn @@ -43,7 +43,7 @@ RUN curl -OL https://storage.googleapis.com/golang/go1.16.7.linux-amd64.tar.gz \ && ln -s /usr/local/go/bin/go /usr/local/bin/go # install seaweedfs -RUN wget https://github.com/chrislusf/seaweedfs/releases/download/2.76/linux_amd64.tar.gz \ +RUN wget https://github.com/crawlab-team/resources/raw/main/seaweedfs/2.79/linux_amd64.tar.gz \ && tar -zxf linux_amd64.tar.gz \ && cp weed /usr/local/bin diff --git a/Dockerfile.local b/Dockerfile.local index 40a76c83..c101b77f 100644 --- a/Dockerfile.local +++ b/Dockerfile.local @@ -43,7 +43,7 @@ RUN curl -OL https://golang.org/dl/go1.16.7.linux-amd64.tar.gz \ && ln -s /usr/local/go/bin/go /usr/local/bin/go # install seaweedfs -RUN wget https://github.com/chrislusf/seaweedfs/releases/download/2.76/linux_amd64.tar.gz \ +RUN wget https://github.com/crawlab-team/resources/raw/main/seaweedfs/2.79/linux_amd64.tar.gz \ && tar -zxf linux_amd64.tar.gz \ && cp weed /usr/local/bin diff --git a/backend/conf/config.yml b/backend/conf/config.yml index b4e90764..4143b2de 100644 --- a/backend/conf/config.yml +++ b/backend/conf/config.yml @@ -61,3 +61,5 @@ fs: proxy: http://localhost:8888 url: http://localhost:8000/filer authKey: Crawlab2021! +node: + master: Y