1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 03:48:44 +00: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

@ -6,34 +6,11 @@ wekan
[Wekan][1] is an open-source kanban board which allows a card-based task and [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. 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 ## Up and Running
```bash ```bash
$ docker-compose up -d $ docker-compose up -d
$ curl http://localhost:8081 $ curl http://localhost:8080
``` ```
## Admin Panel » Settings ## Admin Panel » Settings

@ -1,18 +1,33 @@
#
# https://raw.githubusercontent.com/wekan/wekan/master/docker-compose.yml
#
version: "3.8"
sevices:
wekan: wekan:
image: wekanteam/wekan image: wekanteam/wekan
ports: ports:
- "8081:80" - "8080:8080"
links:
- mongo
environment: environment:
- MONGO_URL=mongodb://mongo/wekan - MONGO_URL=mongodb://mongo/wekan
- ROOT_URL=https://todo.easypi.pro - ROOT_URL=https://wekan.easypi.pro
restart: always - 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: mongo:
image: mongo image: mongo
ports: ports:
- "27017:27017" - "27017:27017"
volumes: volumes:
- ./data:/data/db - ./data:/data/mongo
restart: always restart: unless-stopped