-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml.example
More file actions
43 lines (37 loc) · 1.29 KB
/
config.yaml.example
File metadata and controls
43 lines (37 loc) · 1.29 KB
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
# ReCal - Generic Configuration
# Copy this file to config.yaml and customize for your needs
#
# For Par Bricole specific configuration, see: config-parbricole.yaml.example
server:
port: 8080
read_timeout: 15s
write_timeout: 15s
idle_timeout: 60s
# Base URL for generating filter URLs in the web UI
base_url: "http://localhost:8080"
upstream:
# REQUIRED: Replace with your iCal feed URL (Google Calendar, Outlook, etc.)
default_url: "https://calendar.google.com/calendar/ical/YOUR_CALENDAR_ID%40group.calendar.google.com/public/basic.ics"
timeout: 30s
cache:
max_size: 100
max_memory: 20971520 # 20MB
default_ttl: 5m
min_output_cache: 15m
max_ttl: 72h
regex:
max_execution_time: 1s
# Custom filter definitions
# Define your own special filters here that expand to regex patterns
#
# Basic filter usage (no custom definitions needed):
# /filter?pattern=Meeting
# /filter?field=SUMMARY&pattern=urgent
#
filters: {}
# Named feeds configuration (optional)
# Allows creating persistent feed URLs that can be updated without changing the URL
feeds:
storage_path: "./data/feeds" # Directory to store feed configurations
cache_max_age: 15m # How long to cache feed configs in memory
retention_days: 0 # Auto-delete inactive feeds after N days (0 = never)