From fd0d388b038459cf9b2ca9e943c7aae062b08227 Mon Sep 17 00:00:00 2001 From: Umputun Date: Sat, 12 May 2018 18:13:18 -0500 Subject: [PATCH] add info about admin users --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 0f1caec8..00d6cc7f 100644 --- a/README.md +++ b/README.md @@ -96,6 +96,20 @@ _instructions for google oauth2 setup borrowed from [oauth2_proxy](https://githu 2. Move this file to your remark42 host within `.var` and unzip, i.e. `gunzip .xml.gz`. 3. Run import command - `docker-compose exec remark /srv/import-disqus.sh .xml ` + +#### Admin users + +Admins/moderators should be defined in `docker-compose.yml` as a list of user IDs or passed in the command line. + +``` + environment: + - ADMIN=github_ef0f706a79cc24b17bbbb374cd234a691a034128,github_dae9983158e9e5e127ef2b87a411ef13c891e9e5 +``` + +To get user id just login and click on your username or any other user you want to promote to admins. +It will expand login info and show full user ID. + + ### Frontend Frontend part is building automatically along with backend if you use `docker-compose`.