From 2ffe272e9534e19d32c271c514d8b85fa3580b39 Mon Sep 17 00:00:00 2001 From: Benjamin Dos Santos Date: Mon, 4 Nov 2024 15:32:39 +0100 Subject: [PATCH] chore: move radicale docker-compose setup here --- docker-compose.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 04e55bc..7b0a782 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -161,6 +161,19 @@ services: networks: - anki restart: always + radicale: + image: bdossantos/radicale:3.3.0-c1734bc + container_name: radicale + volumes: + - /etc/localtime:/etc/localtime:ro + - /volume1/docker_datas/radicale/data:/data + - /volume1/docker_datas/radicale/users:/config/users:ro + shm_size: 8M + ports: + - 5232:5232/tcp + networks: + - radicale + restart: always networks: home-assistant: @@ -187,3 +200,9 @@ networks: config: - subnet: 172.13.0.0/16 gateway: 172.13.0.1 + radicale: + ipam: + driver: default + config: + - subnet: 172.14.0.0/16 + gateway: 172.14.0.1