Switch Dockerfiles to use Pebble datastore backend

LevelDB was set for reasons that I don't remember. It might have been related
to reduce the amount of space used by cluster. Pebble is most likely a better
choice for Docker containers.
This commit is contained in:
Hector Sanjuan 2023-01-27 22:57:53 +01:00
parent 95e215c852
commit 34d49e73ee
3 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@ ENV GOPATH /go
ENV SRC_PATH /go/src/github.com/ipfs-cluster/ipfs-cluster
ENV IPFS_CLUSTER_PATH /data/ipfs-cluster
ENV IPFS_CLUSTER_CONSENSUS crdt
ENV IPFS_CLUSTER_DATASTORE leveldb
ENV IPFS_CLUSTER_DATASTORE pebble
EXPOSE 9094
EXPOSE 9095

View File

@ -29,7 +29,7 @@ ENV GOPATH /go
ENV SRC_PATH /go/src/github.com/ipfs-cluster/ipfs-cluster
ENV IPFS_CLUSTER_PATH /data/ipfs-cluster
ENV IPFS_CLUSTER_CONSENSUS crdt
ENV IPFS_CLUSTER_DATASTORE leveldb
ENV IPFS_CLUSTER_DATASTORE pebble
EXPOSE 9094
EXPOSE 9095

View File

@ -31,7 +31,7 @@ ENV GOPATH /go
ENV SRC_PATH /go/src/github.com/ipfs-cluster/ipfs-cluster
ENV IPFS_CLUSTER_PATH /data/ipfs-cluster
ENV IPFS_CLUSTER_CONSENSUS crdt
ENV IPFS_CLUSTER_DATASTORE leveldb
ENV IPFS_CLUSTER_DATASTORE pebble
ENV IPFS_CLUSTER_RESTAPI_HTTPLISTENMULTIADDRESS /ip4/0.0.0.0/tcp/9094
ENV IPFS_CLUSTER_IPFSPROXY_LISTENMULTIADDRESS /ip4/0.0.0.0/tcp/9095