-
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (39 loc) · 1.29 KB
/
docker-compose.yml
File metadata and controls
39 lines (39 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
services:
anchorr:
image: nairdah/anchorr:latest
container_name: anchorr
restart: unless-stopped
environment:
- WEBHOOK_PORT=8282
- NODE_ENV=production
- BIND_HOST=0.0.0.0
ports:
- "8282:8282"
volumes:
# Bind mount ensures config.json persists in a visible location
# The directory ./anchorr-data will be created automatically by Docker
# Change "./anchorr-data" to your preferred path
- ./anchorr-data:/usr/src/app/config
# The container starts as root, fixes ownership on the config volume, then drops to a non-root user.
labels:
- "com.example.description=Discord bot for Jellyfin media requests via Seerr"
- "com.example.version=1.4.9"
- "org.opencontainers.image.title=Anchorr"
- "org.opencontainers.image.description=Discord bot for requesting media and Jellyfin notifications"
- "org.unraid.icon=https://raw.githubusercontent.com/nairdahh/anchorr/main/assets/logo.png"
- "webui.port=8282"
- "webui.protocol=http"
healthcheck:
test:
[
"CMD",
"wget",
"--quiet",
"--tries=1",
"--spider",
"http://127.0.0.1:8282/api/health",
]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s