Sign inSign up

shilazi/flydav

By shilazi

Updated over 1 year ago

https://github.com/pluveto/flydav

Image
0

404

shilazi/flydav repository overview

A simple image for flydav

Dockerfile

# syntax=docker/dockerfile:1.4

FROM alpine/curl:8.12.1

ARG TARGETARCH \
    TINI_VERSION=v0.19.0 \
    FLYDAV_VERSION=v0.2.56

RUN <<eot
#!/bin/sh -ex
curl -k -sfSL -o /tmp/tini \
    https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${TARGETARCH}

curl -k -sfSL -o flydav.zip \
   https://github.com/pluveto/flydav/releases/download/${FLYDAV_VERSION}/flydav-app-linux-${TARGETARCH}.zip
unzip flydav.zip -d flydav
cp -a flydav/flydav /tmp/flydav

chmod +x /tmp/flydav /tmp/tini
eot

COPY --from=docker.io/hacdias/webdav:v5.7.4 /bin/webdav /tmp/webdav

# ---------- 8< ----------

FROM busybox:1.37

COPY --from=0 /tmp/* /

EXPOSE 7086/tcp

ENTRYPOINT ["/tini", "--", "/flydav"]

Usage

services:
  flydav:
    image: shilazi/flydav:v0.2.56
    container_name: flydav
    #command: -c /flydav/config.yaml
    network_mode: host
    volumes:
    - ./data/:/flydav/
    restart: unless-stopped

Configuration

Bcrypt password
docker run --rm --entrypoint /webdav shilazi/flydav:v0.2.56 bcrypt [password]
Auth section
auth:
  user:
  - username: flydav
    password_hash: 'password_hash'
    password_crypt: bcrypt
    sub_path: /sub
    sub_fs_dir: sub
Other section

See README on official GitHub

Tag summary

Content type

Image

Digest

sha256:27bd54e3b

Size

10.3 MB

Last updated

over 1 year ago

docker pull shilazi/flydav