1c1750e6be
On satellite, remove all references to free_bandwidth column in nodes table. On storage node, remove references to AllocatedBandwidth and MinimumBandwidth and mark as deprecated. Protobuf message, NodeCapacity, is left intact for backwards compatibility. Once this is released to all satellites, we can drop the column from the DB. Change-Id: I2ff6c6537fc9008a0c5588e951afea58ede85838
20 lines
509 B
Docker
20 lines
509 B
Docker
ARG DOCKER_ARCH
|
|
FROM ${DOCKER_ARCH:-amd64}/alpine
|
|
ARG TAG
|
|
ARG GOARCH
|
|
ENV GOARCH ${GOARCH}
|
|
EXPOSE 28967
|
|
WORKDIR /app
|
|
VOLUME /root/.local/share/storj/storagenode
|
|
COPY resources/certs.pem /etc/ssl/certs/ca-certificates.crt
|
|
COPY release/${TAG}/storagenode_linux_${GOARCH:-amd64} /app/storagenode
|
|
COPY cmd/storagenode/entrypoint /entrypoint
|
|
COPY cmd/storagenode/dashboard.sh /app/dashboard.sh
|
|
ENTRYPOINT ["/entrypoint"]
|
|
|
|
# Remove after the alpha
|
|
ENV ADDRESS="" \
|
|
EMAIL="" \
|
|
WALLET="" \
|
|
STORAGE="2.0TB"
|