Add: readme, changelog, docker-compose.yml. License: add Wekan team.

This commit is contained in:
Lauri Ojansivu 2017-02-13 19:29:08 +02:00
parent 57d3bc8651
commit 312c92e67e
4 changed files with 92 additions and 1 deletions

9
CHANGELOG.md Normal file
View file

@ -0,0 +1,9 @@
# v0.1 2017-02-13
This release adds following new features:
* Docker: Wekan <=> MongoDB
as separate repo.
Thanks to GitHub users mquandalle, stephenmoloney and xet7
for their contributions.

View file

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2017 Wekan
Copyright (c) 2017 Wekan team
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

42
README.md Normal file
View file

@ -0,0 +1,42 @@
# Docker: Wekan <=> MongoDB
* [Wekan kanban board, made with Meteor.js framework, running on
Node.js](https://wekan.io) -- [GitHub](https://github.com/wekan/wekan)
* [MongoDB NoSQL database](https://www.mongodb.com)
## Screenshot
![Screenshot of Wekan][screenshot]
## Install
1) Install docker-compose.
2) Clone this repo.
```bash
git clone https://github.com/wekan/wekan-mongodb.git
cd wekan-mongodb
```
3) Write:
```bash
docker-compose up
```
4) Wekan is at http://localhost (port 80)
5) MongoDB is at 127.0.0.1:27017
6) Wekan and databases bind to address 0.0.0.0 so could be also available to other
computers in network. I have not tested this.
7) [Restore your MongoDB data](https://github.com/wekan/wekan/wiki/Export-Docker-Mongo-Data).
## Feedback
[Create GitHub issue](https://github.com/wekan/wekan/issues)
[screenshot]: http://i.imgur.com/OCtpqb6.png

40
docker-compose.yml Normal file
View file

@ -0,0 +1,40 @@
version: '2'
services:
wekandb:
image: mongo:3.2.11
container_name: wekan-db
restart: always
command: mongod --smallfiles --oplogSize 128
networks:
- wekan-tier
expose:
- 27017
volumes:
- wekan-db:/data/db
- wekan-db-dump:/dump
wekan:
image: mquandalle/wekan:latest
container_name: wekan-app
restart: always
networks:
- wekan-tier
ports:
- 80:80
environment:
- MONGO_URL=mongodb://wekandb:27017/wekan
- ROOT_URL=http://localhost
depends_on:
- wekandb
volumes:
wekan-db:
driver: local
wekan-db-dump:
driver: local
networks:
wekan-tier:
driver: bridge