Test instace is currently running on AWS EC2 instance: https://brmkan.malanius.net/ managed by malanius. Content of this branch reflects that instance and it's settings.
- wekan-mongo in AWS
- wekan-mongo repository
- example nginx conf
- letsencrypt certbot
- test SSL configuratioon
- Install docker-compose.
- Clone this repo:
git clone https://github.com/brmlab/brmkan.git cd brmkan
- Checkout
brmkan-test
branch:git checkout brmkan
- Generate letsencrypt certificate with certbot.
- Generate SSL dhparam
sudo openssl dhparam -out /etc/ssl/dh_param.pem 2048
- Copy nginx configuration files.
- Create a dedicated user for Wekan, for example:
sudo useradd -d /home/wekan -m -s /bin/bash wekan
- Add this user to the docker group:
sudo usermod -aG docker wekan
- Switch login as user wekan:
sudo su - wekan
- Copy docker-compose.yml file to /home/wekan/docker-compose.yml
- Modify the ROOT_URL and MAIL_* parameters as required.
- Run in detached mode:
docker-compose up -d
docker ps
docker logs CONTAINER-ID-OF-Wekan-or-MongoDB-HERE
- Always backup the db before upgrading (see above)!
- In brmkan directory, stop the running services:
docker-compose stop
- Remove wekan container:
docker-compose rm wekan
- Update the wekan image
docker-compose pull wekan
- Start it again:
docker-compose up -d
- Always backup the db before upgrading (see above)!
- In brmkan directory, stop the running services:
docker-compose stop
- Remove wekan container:
docker-compose rm wekandb
- Update the MongoDB image
docker-compose pull wekandb
- Start it again:
docker-compose up -d
- Restore the data from created backup