1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-21 01:27:01 +02:00

update wekan

This commit is contained in:
kev 2021-01-08 11:48:21 +08:00
parent e83671fe35
commit 68d06a3038
2 changed files with 33 additions and 41 deletions

View File

@ -6,34 +6,11 @@ wekan
[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
$ curl http://localhost:8080
```
## Admin Panel » Settings

View File

@ -1,18 +1,33 @@
wekan:
image: wekanteam/wekan
ports:
- "8081:80"
links:
- mongo
environment:
- MONGO_URL=mongodb://mongo/wekan
- ROOT_URL=https://todo.easypi.pro
restart: always
#
# https://raw.githubusercontent.com/wekan/wekan/master/docker-compose.yml
#
mongo:
image: mongo
ports:
- "27017:27017"
volumes:
- ./data:/data/db
restart: always
version: "3.8"
sevices:
wekan:
image: wekanteam/wekan
ports:
- "8080:8080"
environment:
- MONGO_URL=mongodb://mongo/wekan
- ROOT_URL=https://wekan.easypi.pro
- MAIL_URL=smtp://user:pass@mailserver.example.com:25/
- MAIL_FROM=noreply.wekan@mydomain.com
- WITH_API=true
- RICHER_CARD_COMMENT_EDITOR=false
- CARD_OPENED_WEBHOOK_ENABLED=false
- BIGEVENTS_PATTERN=NONE
- BROWSER_POLICY_ENABLED=true
depends_on:
- mongo
restart: unless-stopped
mongo:
image: mongo
ports:
- "27017:27017"
volumes:
- ./data:/data/mongo
restart: unless-stopped