migrate mjolnir to draupnir
This commit is contained in:
parent
ddce7783db
commit
f7c3e2146d
12 changed files with 60 additions and 59 deletions
|
|
@ -499,7 +499,8 @@ keycloak.hosts IN AAAA 2a00:14b0:42:102::6
|
|||
onlyoffice.hosts IN AAAA 2a00:14b0:42:102::7
|
||||
renovate.hosts IN AAAA 2a00:14b0:42:102::8
|
||||
sunders.hosts IN AAAA 2a00:14b0:42:102::9
|
||||
mjolnir.hosts IN AAAA 2a00:14b0:42:102::a
|
||||
draupnir.hosts IN AAAA 2a00:14b0:42:102::a
|
||||
mjolnir.hosts IN CNAME draupnir.hosts
|
||||
netbox.hosts IN AAAA 2a00:14b0:42:102::b
|
||||
tickets.hosts IN AAAA 2a00:14b0:42:102::c
|
||||
zammad.hosts IN AAAA 2a00:14b0:42:102::d
|
||||
|
|
|
|||
11
resources/chaosknoten/draupnir/docker_compose/compose.yaml
Normal file
11
resources/chaosknoten/draupnir/docker_compose/compose.yaml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# Links & Resources
|
||||
# https://github.com/matrix-org/mjolnir/blob/main/docs/setup_docker.md
|
||||
|
||||
services:
|
||||
draupnir:
|
||||
image: ghcr.io/the-draupnir-project/draupnir:v3.1.0
|
||||
command: [ "bot", "--draupnir-config", "/etc/draupnir/production.yaml" ]
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./draupnir_data:/data
|
||||
- ./configs/config.yaml:/etc/draupnir/production.yaml:ro
|
||||
22
resources/chaosknoten/draupnir/docker_compose/config.yaml.j2
Normal file
22
resources/chaosknoten/draupnir/docker_compose/config.yaml.j2
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# https://github.com/the-draupnir-project/Draupnir/blob/main/config/default.yaml
|
||||
|
||||
homeserverUrl: "https://matrix.hamburg.ccc.de"
|
||||
rawHomeserverUrl: "https://matrix.hamburg.ccc.de"
|
||||
accessToken: "{{ secret__draupnir_matrix_user_token }}"
|
||||
|
||||
dataPath: "/data/storage"
|
||||
logLevel: "INFO"
|
||||
recordIgnoredInvites: true
|
||||
managementRoom: "#moderation-management:hamburg.ccc.de"
|
||||
experimentalRustCrypto: true
|
||||
automaticallyRedactForReasons:
|
||||
- "spam"
|
||||
- "advertising"
|
||||
- "porn"
|
||||
- "harassmet"
|
||||
|
||||
# currently not working because /_synapse is not routed via reverse proxy
|
||||
pollReports: false
|
||||
|
||||
# this knob can turn of moderation action temporarily
|
||||
noop: false
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
# Links & Resources
|
||||
# https://github.com/matrix-org/mjolnir/blob/main/docs/setup_docker.md
|
||||
|
||||
services:
|
||||
mjolnir:
|
||||
image: docker.io/matrixdotorg/mjolnir:v1.12.1
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./mjolnir_data:/data
|
||||
- ./configs/config.yaml:/data/config/production.yaml:ro
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
# https://github.com/matrix-org/mjolnir/blob/main/config/default.yaml
|
||||
|
||||
homeserverUrl: "https://matrix.hamburg.ccc.de"
|
||||
rawHomeserverUrl: "https://matrix.hamburg.ccc.de"
|
||||
# Mjolnir should be able to retrieve an access token itself
|
||||
encryption:
|
||||
use: true
|
||||
username: "moderation"
|
||||
password: {{ secret__mjolnir_matrix_user_password }}
|
||||
dataPath: "/data/storage"
|
||||
autojoinOnlyIfManager: true
|
||||
recordIgnoredInvites: true
|
||||
# The native encryption backend doesn't seem to support v12 rooms yet.
|
||||
# https://github.com/matrix-org/mjolnir/issues/641
|
||||
managementRoom: "#moderation-management-v11:hamburg.ccc.de"
|
||||
forwardMentionsToManagementRoom: false
|
||||
verboseLogging: false
|
||||
logLevel: "INFO"
|
||||
syncOnStartup: true
|
||||
verifyPermissionsOnStartup: true
|
||||
noop: false
|
||||
fasterMembershipChecks: false
|
||||
protectAllJoinedRooms: true
|
||||
Loading…
Reference in a new issue