Docker: Wekan <=> MongoDB
Clone or download
xet7 - Add optional Nginx reverse proxy config.
Thanks MyTheValentinus !
Latest commit 770fe74 Dec 28, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
nginx Create .gitkeep Dec 28, 2018
CHANGELOG.md - Add optional Nginx reverse proxy config. Dec 28, 2018
LICENSE License to year 2018 Feb 12, 2018
README.md Remove extra text. Dec 22, 2018
docker-compose.yml Add optional nginx reverse proxy Dec 28, 2018

README.md

Docker: Wekan <=> MongoDB

Screenshot

Screenshot of Wekan

Install

  1. Install docker-compose.

  2. Clone this repo.

git clone https://github.com/wekan/wekan-mongodb.git
cd wekan-mongodb

3a) Detached mode:

docker-compose up -d

3b) Running attached to console, so Ctrl-c stops it:

docker-compose up
  1. Wekan is at http://localhost (port 80)

  2. MongoDB is at 127.0.0.1:27017

  3. 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.

  4. Restore your MongoDB data.

Backup before upgrading

Backup all data from MongoDB

Upgrading Wekan

  1. In wekan-mongodb directory, stop Wekan:
docker-compose stop
  1. Check what is CONTAINER ID of wekanteam/wekan:latest container. Then remove container.
docker ps
docker rm CONTAINER-ID-HERE
  1. Check Docker images, what is IMAGE ID of quay.io/wekan/wekan, and remove quay.io/wekan/wekan image:
docker images
docker rmi IMAGE-ID-HERE
  1. If you have made backups of MongoDB container to outside of Docker, and want to upgrade MongoDB, you could also delete MongoDB container and image.

  2. Start Wekan again in background:

docker-compose up -d
  1. You can also check container logs:
docker ps
docker logs CONTAINER-ID-OF-Wekan-or-MongoDB-HERE
  1. Restore MongoDB data if needed.

Feedback

Create GitHub issue