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 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=" #- "PagerParser__MessageInclude__1=" #- "PagerParser__MessageInclude__2=" # Regex patterns to exclude globally #- "PagerParser__MessageExclude__0=" #- "PagerParser__MessageExclude__1=" #- "PagerParser__MessageExclude__2=" #- "PagerParser__DiscordBot__Token=" #- "PagerParser__HomeAssistant__Servers__0__Host=example.com" #- "PagerParser__HomeAssistant__Servers__0__ApiKey=" # optional event_type to use for the generated event #- "PagerParser__HomeAssistant__Servers__0__EventType=" # 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=" #- "PagerParser__HomeAssistant__Servers__1__EventType=" #- "PagerParser__JobCounter__RefreshInterval=300" #- "PagerParser__JobCounter__CountOffsets__=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