Generated configs out of the repo: *.example.* templates only; configure.py refuses to apply over CHANGEME placeholders

A deploy copied mediamtx.yml (template) over the server's generated file and the next apply
wiped all streamers. Generated files are now gitignored so scp -r cannot clobber them.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
2026-10-31 00:32:30 -05:00
parent 50d2f1c21d
commit b2869c3740
8 changed files with 23 additions and 5 deletions

View File

@@ -6,12 +6,13 @@
# The Authentik groups must already exist (Directory -> Groups). Role IDs: Discord Developer Mode ->
# Server Settings -> Roles -> right-click a role -> Copy Role ID.
GUILD_ID = "000000000000000000" # <- your Discord server ID
GUILD_ID = "1387203044084551690" # <- your Discord server ID
ROLE_TO_GROUP = { # <- Discord role id : Authentik group name
"111111111111111111": "bot-users",
"222222222222222222": "streamers",
"333333333333333333": "editors",
"444444444444444444": "admins",
"1387239222070612110": "bot-users",
"1515901670943490129": "bot-users",
# "222222222222222222": "streamers",
# "333333333333333333": "editors",
# "444444444444444444": "admins",
}
from authentik.core.models import Group