Sign inSign up

legsplits/hydrus-server

By legsplits

Updated over 7 years ago

Image
0

398

legsplits/hydrus-server repository overview

Created from the releases

45870: Admin port

45871: First tag repo port that will be created

compose.yml

version: '2'
hydrusserver:
  image: legsplits/hydrus-server:latest
  container_name: hydrusserver
  restart: unless-stopped
  volumes:
    - PATHTODBFOLDER:/opt/hydrus/db
  tmpfs:
    - /tmp
  ports:
    - 45870:45870
    - 45871:45871

Dockerfile:

FROM ubuntu:bionic as builder
ARG HYV=354
RUN apt-get update && apt-get install -y curl && mkdir -p /opt/hydrus && curl -s -L https://github.com/hydrusnetwork/hydrus/releases/download/v${HYV}/Hydrus.Network.${HYV}.-.Linux.-.Executable.tar.gz | tar xzf - --strip-components=1 -C /opt/hydrus


FROM ubuntu:bionic
HEALTHCHECK --interval=1m --timeout=10s --retries=3 CMD /bin/bash -c "exec 3 <> /dev/tcp/127.0.0.1/45870"
CMD ["/opt/hydrus/server"]
VOLUME /opt/hydrus/db
WORKDIR /opt/hydrus
COPY --from=builder /opt/hydrus /opt/hydrus

&lt;&gt; are <>, thanks docker.

Tag summary

Content type

Image

Digest

Size

204.2 MB

Last updated

over 7 years ago

docker pull legsplits/hydrus-server