migrate mjolnir to draupnir
This commit is contained in:
parent
ddce7783db
commit
f7c3e2146d
12 changed files with 60 additions and 59 deletions
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
|
||||
Loading…
Reference in a new issue