-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (38 loc) · 985 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (38 loc) · 985 Bytes
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
version: '3.8'
services:
kestrel:
build: .
container_name: kestrel
restart: unless-stopped
ports:
- "8080:8080"
environment:
- LISTEN_ADDR=:8080
- STORAGE_TYPE=valkey
- VALKEY_ADDR=valkey:6379
- SQLITE_PATH=/data/kestrel.db
- API_KEY_PREFIX=kestrel_
- ENABLE_VALIDATION=true
# Uncomment for production with external key provider:
# - KEY_PROVIDER_URL=https://example.com/api/subscribers
# - KEY_REFRESH_INTERVAL=10m
# Uncomment for TLS/HTTPS:
# - ENABLE_TLS=true
# - TLS_DOMAIN=feeds.example.com
# - CLOUDFLARE_API_TOKEN=${CLOUDFLARE_API_TOKEN}
volumes:
- ./data:/data
- ./certs:/.certmagic
depends_on:
- valkey
valkey:
image: valkey/valkey:7
container_name: kestrel-valkey
restart: unless-stopped
ports:
- "6379:6379"
volumes:
- valkey-data:/data
command: valkey-server --appendonly yes
volumes:
valkey-data: