mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
add filer.toml for rocksdb to docker image for rocksdb
This commit is contained in:
parent
21aaa4c1f1
commit
13cb609f60
|
@ -29,7 +29,7 @@ FROM alpine AS final
|
||||||
LABEL author="Chris Lu"
|
LABEL author="Chris Lu"
|
||||||
COPY --from=builder /go/bin/weed /usr/bin/
|
COPY --from=builder /go/bin/weed /usr/bin/
|
||||||
RUN mkdir -p /etc/seaweedfs
|
RUN mkdir -p /etc/seaweedfs
|
||||||
COPY --from=builder /go/src/github.com/chrislusf/seaweedfs/docker/filer.toml /etc/seaweedfs/filer.toml
|
COPY --from=builder /go/src/github.com/chrislusf/seaweedfs/docker/filer_rocksdb.toml /etc/seaweedfs/filer.toml
|
||||||
COPY --from=builder /go/src/github.com/chrislusf/seaweedfs/docker/entrypoint.sh /entrypoint.sh
|
COPY --from=builder /go/src/github.com/chrislusf/seaweedfs/docker/entrypoint.sh /entrypoint.sh
|
||||||
RUN apk add fuse snappy gflags
|
RUN apk add fuse snappy gflags
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ EXPOSE 8333
|
||||||
# webdav server http port
|
# webdav server http port
|
||||||
EXPOSE 7333
|
EXPOSE 7333
|
||||||
|
|
||||||
RUN mkdir -p /data/filerldb2
|
RUN mkdir -p /data/filer_rocksdb
|
||||||
|
|
||||||
VOLUME /data
|
VOLUME /data
|
||||||
|
|
||||||
|
|
3
docker/filer_rocksdb.toml
Normal file
3
docker/filer_rocksdb.toml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[rocksdb]
|
||||||
|
enabled = true
|
||||||
|
dir = "/data/filer_rocksdb"
|
Loading…
Reference in a new issue