blob: f93a4402f02d5d01e9dad9652d44cb6878b758ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
services:
pagerparser:
build: .
image: pagerparser
restart: on-failure:10
ports:
- 5000:8080
depends_on:
- postgres
links:
- 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:
- 5432:5432
volumes:
- db:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=A4ocHfq4XXww7MV9
- POSTGRES_USER=pagerparser
- POSTGRES_DB=PagerParser
volumes:
db:
driver: local
|