-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathcompose.yaml
More file actions
50 lines (49 loc) · 1.54 KB
/
compose.yaml
File metadata and controls
50 lines (49 loc) · 1.54 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
44
45
46
47
48
49
50
services:
tgfeed:
container_name: tgfeed
image: ghcr.io/ndmitry/tgfeed:latest
environment:
- TZ=Europe/Moscow
- HTTP_SERVER_PORT=8080
# Uncomment the variable if you want to keep cache in Redis
# - REDIS_HOST=redis
# You can specify a custom HTML message for cases when the scraper
# could not obtain the post content from t.me.
# Use {postDeepLink} and {postURL} as placeholders for post links.
# - UNSUPPORTED_MESSAGE_HTML=
# You can specify a custom title for image-only posts (default: "[🖼️ Image]")
# - IMAGE_POST_TITLE_TEXT=
# If you expirience problems with t.me access,
# try to change the UA and/or use an HTTP proxy
# - USER_AGENT=
# - HTTPS_PROXY=
# Restrict access to specific IPs (e.g., feed readers)
# - ALLOWED_IPS=10.0.0.0/24,192.168.1.1
# Enable if running behind a reverse proxy (nginx, Caddy, etc.)
# and using ALLOWED_IPS
# - REVERSE_PROXY=true
ports:
- 8080:8080
# Uncomment depends_on if you want to keep cache in Redis
# depends_on:
# - redis
restart: unless-stopped
# Uncomment everything below if you want to keep cache in Redis
# redis:
# container_name: redis
# image: redis:alpine
# environment:
# - TZ=Europe/Moscow
# ports:
# - 6379:6379
# volumes:
# - redis-data:/data
# healthcheck:
# test: ["CMD", "redis-cli", "ping"]
# interval: 30s
# timeout: 10s
# retries: 5
# start_period: 5s
# restart: unless-stopped
# volumes:
# redis-data: