update alerter config to use docker configuration

This commit is contained in:
midas@devnull 2025-06-15 18:40:47 +02:00
parent 47f11d8c1f
commit 403b8fbfd4

View file

@ -92,6 +92,7 @@ Now that we laid out the justifications for this setup, let's set it up on our s
environment:
- USER_UID=1000
- USER_GID=1000
- FORGEJO__webhook__ALLOWED_HOST_LIST="alerter" # add this to enable the alerter
restart: always
networks:
- forgejo
@ -399,8 +400,21 @@ As there is no way to send emails in a secure, anonymous way ForgeJo can be conf
- Using the [simpleX](../simplexalerts/index.md) alerter tutorial, set up an instance listening on localhost:7897, configured with a group to receive your alerts. For the next part
of this tutorial we will be using a group called "forgejotest"
#### Docker-compose configuration
add the following service entry:
alerter:
image: simplex-alerter:latest
restart: always
volumes:
- /my/alerter/data/folder:/simplex
- /my/alerter/data/folder:/alerterconfig
### Forgejo Configuration
First, brows to the repository you want to activate notification for, then go to settings:
![](new_notif.png)