Set up Radicale

This commit is contained in:
coolneng 2019-11-08 14:14:32 +01:00
parent 902235cd58
commit 97a3a9baa2
3 changed files with 23 additions and 12 deletions

View File

@ -29,15 +29,17 @@
- [ ] VPN setup - [ ] VPN setup
*** TODO Wireguard [0/1] [0%] *** TODO Wireguard [0/1] [0%]
- [ ] Encrypted DNS - [ ] Encrypted DNS
** Data sync [0/2] [0%] ** Data sync [1/2] [50%]
*** IN-PROGRESS Syncthing [1/3] [33%] *** IN-PROGRESS Syncthing [2/3] [66%]
- [X] Basic configuration - [X] Basic configuration
- [ ] Relay server - [X] Relay server
- [ ] Discovery server - [ ] Discovery server
*** TODO Radicale *** DONE Radicale
CLOSED: [2019-11-08 Fri 13:51]
** Web stack [0/7] [0%] ** Web stack [0/7] [0%]
*** TODO Nginx [0/1] [0%] *** TODO Nginx [0/2] [0%]
- [ ] Radicale reverse proxy - [ ] Radicale reverse proxy
- [ ] Syncthing discovery reverse proxy
*** TODO PHP [0/1] [0%] *** TODO PHP [0/1] [0%]
- [ ] Php-fpm - [ ] Php-fpm
*** TODO PostgreSQL [0/1] [0%] *** TODO PostgreSQL [0/1] [0%]

View File

@ -41,20 +41,29 @@
Projects.path = "/vault/syncthing/Projects"; Projects.path = "/vault/syncthing/Projects";
}; };
}; };
#relay = { relay = {
#enable = true; enable = true;
#pools = ""; pools = [ "" ];
#}; listenAddress = "0.0.0.0";
};
}; };
# Enable Radicale # Enable Radicale
services.radicale = { services.radicale = {
enable = true; enable = true;
config = '' config = ''
[server]
hosts = 0.0.0.0:5232
max_connections = 20
max_content_length = 100000000
timeout = 30
[auth]
type = htpasswd
htpasswd_filename = /var/lib/radicale/radicale.users
htpasswd_encryption = plain
delay = 1
''; '';
}; };
} }

View File

@ -32,7 +32,7 @@
# Firewall configuration # Firewall configuration
networking.firewall = { networking.firewall = {
allowedTCPPorts = [ 631 6566 22067 8384 ]; allowedTCPPorts = [ 631 6566 22067 8384 5232 ];
autoLoadConntrackHelpers = true; autoLoadConntrackHelpers = true;
connectionTrackingModules = [ "sane" ]; connectionTrackingModules = [ "sane" ];
}; };