feat: æ 添加dokuwiki,ghost和radicale服务器资料

This commit is contained in:
2018-01-01 23:56:55 +08:00
parent ffe186cba3
commit d8f743a6ff
11 changed files with 139 additions and 4 deletions

14
radicale/radicale.yaml Normal file
View File

@@ -0,0 +1,14 @@
version: '3'
services:
radicale:
build: ./radicale
image: radicale
ports:
- 5232:5232
deploy:
placement:
constraints: [node.role == manager]
volumes:
- radicale:/home/radicale
volumes:
radicale:

View File

@@ -0,0 +1,16 @@
FROM debian:9
MAINTAINER shaojj@139.com
ENV LANG C.UTF-8
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' > /etc/timezone
RUN apt-get update -q && apt-get -y upgrade
RUN apt-get install python3-pip -y
RUN pip3 install radicale
ADD radicale.conf /home/radicale/
ADD users /home/radicale/
RUN mkdir /home/radicale/data
WORKDIR /home/radicale
EXPOSE 5232
ENTRYPOINT ["radicale","--config=/home/radicale/radicale.conf"]

View File

@@ -0,0 +1,10 @@
[auth]
type = htpasswd
htpasswd_filename = /home/radicale/users
htpasswd_encryption = plain
[server]
hosts = 0.0.0.0:5232
[storage]
filesystem_folder = /home/radicale/data

View File

@@ -0,0 +1,2 @@
# radicale caledav服务器容器
## base debian:9

1
radicale/radicale/users Normal file
View File

@@ -0,0 +1 @@
shaojj:shaojunjie

15
radicale/readme.md Normal file
View File

@@ -0,0 +1,15 @@
# caldav服务器
## 项目背景
- 近段时间接待,外出和会议太多,经常会忘记时间,所以想着能在一个地方同步所有设备的日程管理
- 由于gmail被墙手机联系人和日程同步不太方便想自己搭建一个服务器能方便同步不同设备之间的联系人和日程安排
- 最好科达的所有会议通知能通过这个服务器自动推送到个人手机
## 项目思路
- 服务器端选型,经过一周选型,暂定[radicale](http://radicale.org)作为服务器
- 问题
- 1.创建的collection为本地目录且为UUID格式估计是作者怕重名而设定的机制对于动手能力弱的人比较麻烦