aboutsummaryrefslogtreecommitdiff
path: root/compose.yaml
diff options
context:
space:
mode:
authorJake Mannens <jake@asger.xyz>2024-10-25 12:59:31 +1100
committerJake Mannens <jake@asger.xyz>2024-10-29 13:02:11 +1100
commit89924a72b904c3751fda9f49768c021361918783 (patch)
treec4ce68253ba8294f533b8f58fc2832838fe9b100 /compose.yaml
parent09ade38700ae3795c47826cf4c80c65f9c3338f3 (diff)
Added configuration examples to Docker Compose filev0.4-dev
Diffstat (limited to 'compose.yaml')
-rw-r--r--compose.yaml27
1 files changed, 27 insertions, 0 deletions
diff --git a/compose.yaml b/compose.yaml
index 821479d..f93a440 100644
--- a/compose.yaml
+++ b/compose.yaml
@@ -11,6 +11,33 @@ services:
- postgres
environment:
- "ConnectionStrings__DefaultConnection=Host=postgres;Database=PagerParser;Username=pagerparser;Password=A4ocHfq4XXww7MV9"
+ # Configuration options
+ #
+ # Any text denoted with <example> syntax must be replaced with appropriate values.
+ # For options where one or more item may be specified, create new lines and ensure
+ # array indices are incremented (e.g. "__0__" or "__0")
+ #- "PagerParser__ReparseAllOnStartup=false"
+ #- "PagerParser__ReparseFailedOnStartup=true"
+ # Regex patterns to include globally
+ #- "PagerParser__MessageInclude__0=<pattern>"
+ #- "PagerParser__MessageInclude__1=<pattern>"
+ #- "PagerParser__MessageInclude__2=<pattern>"
+ # Regex patterns to exclude globally
+ #- "PagerParser__MessageExclude__0=<pattern>"
+ #- "PagerParser__MessageExclude__1=<pattern>"
+ #- "PagerParser__MessageExclude__2=<pattern>"
+ #- "PagerParser__DiscordBot__Token=<bot token>"
+ #- "PagerParser__HomeAssistant__Servers__0__Host=example.com"
+ #- "PagerParser__HomeAssistant__Servers__0__ApiKey=<api key>"
+ # optional event_type to use for the generated event
+ #- "PagerParser__HomeAssistant__Servers__0__EventType=<event type>"
+ # Second Home Assistant server configuration. As many configurations may be created
+ # as required as long as item indices (__0__) are updated correctly.
+ #- "PagerParser__HomeAssistant__Servers__1__Host=example.com"
+ #- "PagerParser__HomeAssistant__Servers__1__ApiKey=<api key>"
+ #- "PagerParser__HomeAssistant__Servers__1__EventType=<event type>"
+ #- "PagerParser__JobCounter__RefreshInterval=300"
+ #- "PagerParser__JobCounter__CountOffsets__<brig>=500"
postgres:
image: postgres:16-alpine
ports: