From d8313b634f7b4f96dfc2e7b750ab750aaa1d77a6 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 22 Nov 2021 04:23:48 +0200 Subject: [PATCH] Updated Raspberry Pi (markdown) --- Raspberry-Pi.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Raspberry-Pi.md b/Raspberry-Pi.md index 551f974..8b6584b 100644 --- a/Raspberry-Pi.md +++ b/Raspberry-Pi.md @@ -12,6 +12,11 @@ WeKan only requires: - [systemd service script](#6-running-wekan-as-service) - init.d script - any other script, that sets environment variables and in bundle directory does `node main.js` +- most important environment settings are: + - `ROOT_URL=http://192.168.0.200` for WeKan server IP address at local network or `ROOT_URL=https://kanban.example.com` if Caddy/Nginx/Apache2 proxies from HTTPS to WeKan http://127.0.0.1:4000 etc, see https://github.com/wekan/wekan/wiki/Settings + - `PORT=80` or `PORT=4000` or some other port where WeKan Nodejs runs. + - `MONGO_URL=mongodb://127.0.0.1:27017/wekan` where MongoDB server is, like localhost port 27017 using database name wekan. + - Some other settings are at start-wekan.sh above, and at https://github.com/wekan/wekan-snap/wiki/Supported-settings-keys#list-of-supported-keys but Snap settings have lowercase minus like `root-url`, where `.sh` scripts are uppercase underline like `ROOT_URL`. ## Bundle files