mirror of
https://github.com/brmlab/brmkan.git
synced 2025-10-29 07:24:02 +01:00
Wekan for brmlab
| nginx | ||
| docker-compose.yml | ||
| LICENSE | ||
| README.md | ||
brmkan
Test
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.
Useful links
- wekan-mongo in AWS
- wekan-mongo repository
- example nginx conf
- letsencrypt certbot
- test SSL configuratioon
Install
- Install docker-compose.
- Clone this repo:
git clone https://github.com/brmlab/brmkan.git cd brmkan - Checkout
brmkan-testbranch: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
Maitenance
Check the logs
docker ps
docker logs CONTAINER-ID-OF-Wekan-or-MongoDB-HERE
Data save/restore
Upgrading wekan
- 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
Upgrading MonmgoDB
- 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