Deployment admin platform (optional)
The feature of admin is still being iterated, and it is currently in the early trial version
We will continue to enrich the internal content in the future
Get the latest admin configuration from github:
wget https://raw.githubusercontent.com/msgbyte/tailchat/master/docker/admin.yml
Set the account and password of the admin in the environment variable docker-compose.env:
ADMIN_USER=tailchat
ADMIN_PASS=<Write the independent background password here, do not tell others>
Then use Multiple Files to start the application:
docker compose -f docker-compose.yml -f admin.yml up -d
Pay attention to the order, because admin.yml depends on docker-compose.yml, so it should be placed behind
At this time, add /admin/ after the access backend address to access:
https://tailchat.example.com/admin/
Note: don't forget to have a / at the end
Audit logs
The admin platform keeps an audit trail in the audit_logs collection. It can be searched from the Audit logs page and contains:
- every admin login attempt and every write request made through the admin platform, with the admin account, request path, request body, result, IP and User-Agent;
- group management actions made in Tailchat itself, such as role, member, panel, invite and group setting changes and messages deleted by moderators, with the operator's user id, the group id and the action parameters.
Audit records are append-only: they cannot be edited or deleted from the admin platform. Sensitive fields such as passwords and tokens are redacted before being stored. Records are kept until you remove them from MongoDB yourself.