add wekan

This commit is contained in:
kev 2017-05-19 13:29:40 +08:00
parent 4ea3c052c9
commit e6ba392b11
4 changed files with 98 additions and 0 deletions

View File

@ -256,6 +256,7 @@ A collection of delicious docker recipes.
- [ ] node-firefox
- [x] standalone-firefox
- [x] tutum/builder
- [x] wekanteam/wekan
## auto-completion

55
wekan/README.md Normal file
View File

@ -0,0 +1,55 @@
wekan
=====
![](https://wekan.github.io/wekan-logo.png)
[Wekan][1] is an open-source kanban board which allows a card-based task and
to-do management, similar to tools like WorkFlowy or Trello.
## docker-compose.yml
```yaml
wekan:
image: wekanteam/wekan
ports:
- "8081:80"
links:
- mongo
environment:
- MONGO_URL=mongodb://mongo/wekan
- ROOT_URL=https://todo.easypi.pro
restart: always
mongo:
image: mongo
ports:
- "27017:27017"
volumes:
- ./data:/data/db
restart: always
```
## Up and Running
```bash
$ docker-compose up -d
$ curl http://localhost:8081
```
## Admin Panel » Settings
```yaml
Registration:
Disable Self-Registration: yes
Invite People: []
Email:
SMTP Host: smtp.gmail.com
SMTP Port: 465
Username: username
Password: ********
TLS support: yes
From: username@gmail.com
```
[1]: https://wekan.github.io/

18
wekan/docker-compose.yml Normal file
View File

@ -0,0 +1,18 @@
wekan:
image: wekanteam/wekan
ports:
- "8081:80"
links:
- mongo
environment:
- MONGO_URL=mongodb://mongo/wekan
- ROOT_URL=https://todo.easypi.pro
restart: always
mongo:
image: mongo
ports:
- "27017:27017"
volumes:
- ./data:/data/db
restart: always

24
wekan/nginx.conf Normal file
View File

@ -0,0 +1,24 @@
server {
listen 80 default_server;
server_name _;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
server_name todo.easypi.pro;
ssl_certificate ssl/easypi.pro/fullchain.pem;
ssl_certificate_key ssl/easypi.pro/privkey.pem;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers HIGH:!aNULL:!MD5;
location / {
proxy_pass http://127.0.0.1:8081;
proxy_http_version 1.1;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}