diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..4515376 --- /dev/null +++ b/CHANGELOG.md @@ -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. diff --git a/LICENSE b/LICENSE index 0096459..1d8b251 100644 --- a/LICENSE +++ b/LICENSE @@ -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 diff --git a/README.md b/README.md new file mode 100644 index 0000000..ac0b022 --- /dev/null +++ b/README.md @@ -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 + diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..fd533e1 --- /dev/null +++ b/docker-compose.yml @@ -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