Skip to content

JoseFilipeFerreira/docker-radicale

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

20 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“† docker-radicale

docker container for radicale

docker-compose.yml

radicale:
  image: josefilipeferreira/docker-radicale
  container_name: radicale
  ports:
    - "5232:5232"
  # add git versioning to calendar database
  # environment:
    # GIT_AUTHOR_NAME: "your-user-name"
    # EMAIL: "[email protected]"
  volumes:
    - ./radicale/users:/users
    - ./radicale/collections:/collections
    - ./radicale/config:/config
  restart: unless-stopped

example config

[auth]
type = htpasswd
htpasswd_filename = /users
htpasswd_encryption = md5
delay=1

[server]
hosts = 0.0.0.0:5232, [::]:5232
max_connections = 5
max_content_length = 100000000

[storage]
filesystem_folder = /collections
# add git versioning to calendar database
# hook = git add -A && (git diff --cached --quiet || git commit -m "Changes by "%(user)s)

NGINX setup

location /radicale/ {
    proxy_pass        http://127.0.0.1:5232/;
    proxy_set_header  X-Script-Name /radicale;
    proxy_set_header  X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header  Host $http_host;
    proxy_pass_header Authorization;
}

About

๐Ÿ—“๏ธ docker container for radicale

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published