Coder Social home page Coder Social logo

keedav's Introduction

p0tter/keedav

Free cross-platform password manager compatible with KeeWeb (https://keeweb.info).

This image supports WebDAV, this makes it possible to store/sync password files on the same container.

Note: Over WebDAV, KeeWeb can update files but can't currently create them, the files must exist.

  • Alpine-based
  • now with TLS support!

Usage

Without TLS (HTTP)

First, start KeeWeb (/my/password-files must contain the password file):

docker run -d -p 80:80 -e WEBDAV_USERNAME=webdav -e WEBDAV_PASSWORD=secret -v /my/password-files:/var/www/html/webdav p0tter/keedav:1.3

With TLS (HTTPS)

The container will automatically generate the file /etc/lighttpd/ssl.pem for lighttpd from the given ssl.key and ssl.crt file:

docker run -d -p 443:443 -e WEBDAV_USERNAME=webdav -e WEBDAV_PASSWORD=secret -v /my/ssl.key:/certs/ssl.key:ro -v /my/ssl.crt:/certs/ssl.crt:ro -v /my/password-files:/var/www/html/webdav p0tter/keedav:1.3

Alternatively you can use an already generated ssl.pem file:

docker run -d -p 443:443 -e WEBDAV_USERNAME=webdav -e WEBDAV_PASSWORD=secret -v /my/ssl.pem:/etc/lighttpd/ssl.pem:ro -v /my/password-files:/var/www/html/webdav p0tter/keedav:1.3

Then, go to KeeWeb through your browser, click on More, click on WebDAV and enter your configuration:

URL: https://example.com/webdav/filenanme
Username: webdav
Password: secret

Docker-Compose

Without TLS (HTTP)

version: "3"

services:
  keeweb:
    image: p0tter/keedav:1.3
    restart: always
    ports:
      - "80:80"
    environment:
      - WEBDAV_USERNAME=webdav
      - WEBDAV_PASSWORD=secret
    volumes:
      - /my/password-files:/var/www/html/webdav

With TLS (HTTPS)

The container will automatically generate the file /etc/lighttpd/ssl.pem for lighttpd from the given ssl.key and ssl.crt file:

version: "3"

services:
  keeweb:
    image: p0tter/keedav:1.3
    restart: always
    ports:
      - "443:443"
    environment:
      - WEBDAV_USERNAME=webdav
      - WEBDAV_PASSWORD=secret
    volumes:
      - /my/password-files:/var/www/html/webdav
      - /my/ssl.key:/certs/ssl.key:ro
      - /my/ssl.crt:/certs/ssl.crt:ro

Alternatively you can use an already generated ssl.pem file:

version: "3"

services:
  keeweb:
    image: p0tter/keedav:1.3
    restart: always
    ports:
      - "443:443"
    environment:
      - WEBDAV_USERNAME=webdav
      - WEBDAV_PASSWORD=secret
    volumes:
      - /my/password-files:/var/www/html/webdav
      - /my/ssl.pem:/etc/lighttpd/ssl.pem:ro

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.