Giter Site home page Giter Site logo

fphammerle / docker-radicale Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 97 KB

Radicale CalDAV (calendars, todo-lists) and CardDAV (contacts) server โ˜Ž๏ธ ๐Ÿ“… ๐Ÿ“ฑ โ˜๏ธ ๐Ÿณ ๐Ÿ™

Home Page: https://hub.docker.com/r/fphammerle/radicale

Dockerfile 72.20% Shell 27.80%
caldav-server carddav-server radicale docker docker-compose sync cloud calendar contacts address-book

docker-radicale's Introduction

Radicale โ˜Ž๏ธ ๐Ÿ“… ๐Ÿ“ฑ โ˜๏ธ ๐Ÿณ

CalDAV (calendars, todo-lists) and CardDAV (contacts) server

https://radicale.org/

Setup

  1. Create config ( https://radicale.org/configuration/ )

    Example:

    [auth]
    type = htpasswd
    htpasswd_filename = /etc/radicale/htpasswd
    htpasswd_encryption = bcrypt
    
    [rights]
    type = authenticated
    
    [logging]
    level = info
    
  2. Store credentials

    htpasswd -cB htpasswd alice
    htpasswd -B htpasswd bob
  3. Test config

    docker run --rm \
        -v $PWD/config:/etc/radicale/config \
        -v $PWD/htpasswd:/etc/radicale/htpasswd \
        -p 5232:5232 fphammerle/radicale
  4. Start daemon

    docker run --name radicale \
        -v $PWD/config:/etc/radicale/config:ro \
        -v $PWD/htpasswd:/etc/radicale/htpasswd:ro \
        -v radicale-collections:/var/lib/radicale/collections:rw \
        --detach --restart unless-stopped \
        -p 5232:5232 \
        fphammerle/radicale

Image contains git and openssh-client for use in storage hooks.

Version 2.* to 3.* migration guide: https://github.com/Kozea/Radicale/blob/3.0.6/NEWS.md#upgrade-checklist

Docker Compose ๐Ÿ™

  1. git clone https://github.com/fphammerle/docker-radicale
  2. cd docker-radicale
  3. Adapt mount points in docker-compose.yml
  4. docker-compose up

docker-radicale's People

Contributors

dependabot[bot] avatar fphammerle avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

docker-radicale's Issues

Permission problem

When running your image with the following compose entry

radicale:
  image: fphammerle/radicale
  hostname: radicale
  container_name: radicale
  ports:
    - 5232:5232
  volumes:
    - ./radicale/config:/etc/radicale/config:ro
    - ./radicale/users:/etc/radicale/htpasswd:ro
    - ./radicale-data:/var/lib/radicale/collections:rw
  restart: "unless-stopped"

I get the following permissions problem

[2023-04-24 14:21:07 +0000] [1/Thread-3] [ERROR] An exception occurred during PROPFIND request on '/': [Errno 13] Permission denied: '/var/lib/radicale/collections/.Radicale.lock'

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.