-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.full.yml
More file actions
151 lines (142 loc) · 4.83 KB
/
docker-compose.full.yml
File metadata and controls
151 lines (142 loc) · 4.83 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
# Arrmate — docker-compose.full.yml
#
# FULL STACK — Arrmate + Ollama + Sonarr + Radarr bundled together.
# Useful for a fresh install where you don't yet have any *arr services.
#
# For most users: use docker-compose.yml (or docker-compose.prod.yml)
# and point Arrmate at your existing services instead.
#
# GPU ACCELERATION:
# COMPOSE_FILE=docker-compose.full.yml:docker-compose.ollama-nvidia.yml
# COMPOSE_FILE=docker-compose.full.yml:docker-compose.ollama-amd.yml
services:
# ─────────────────────────────────────────────
# Arrmate
# ─────────────────────────────────────────────
arrmate:
build:
context: .
dockerfile: Dockerfile
container_name: arrmate
restart: unless-stopped
ports:
- "${API_PORT:-8000}:8000"
environment:
- API_HOST=0.0.0.0
- API_PORT=${API_PORT:-8000}
- LOG_LEVEL=${LOG_LEVEL:-INFO}
- LLM_PROVIDER=ollama
- OLLAMA_BASE_URL=http://ollama:11434
- OLLAMA_MODEL=${OLLAMA_MODEL:-qwen2.5:7b}
# Services use Docker service names as hostnames
- SONARR_URL=http://sonarr:8989
- SONARR_API_KEY=${SONARR_API_KEY:-}
- RADARR_URL=http://radarr:7878
- RADARR_API_KEY=${RADARR_API_KEY:-}
# Add more services from .env.example as needed
- LIDARR_URL=${LIDARR_URL:-}
- LIDARR_API_KEY=${LIDARR_API_KEY:-}
- BAZARR_URL=${BAZARR_URL:-}
- BAZARR_API_KEY=${BAZARR_API_KEY:-}
- PLEX_URL=${PLEX_URL:-}
- PLEX_TOKEN=${PLEX_TOKEN:-}
# ── Authentication (optional) ─────────────────────────────
- SECRET_KEY=${SECRET_KEY:-}
- AUTH_DATA_DIR=/data
volumes:
- arrmate-data:/data
networks:
- arrmate-net
depends_on:
- ollama
- sonarr
- radarr
healthcheck:
test: ["CMD", "python", "-c", "import httpx; httpx.get('http://localhost:8000/health')"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
# ─────────────────────────────────────────────
# Ollama — Local LLM (CPU by default)
# ─────────────────────────────────────────────
ollama:
image: ollama/ollama:latest
container_name: arrmate-ollama
restart: unless-stopped
# Port 11434 is reachable within arrmate-net via http://ollama:11434.
# No host binding needed — uncomment only if external access is required.
# ports:
# - "11434:11434"
volumes:
- ollama-data:/root/.ollama
networks:
- arrmate-net
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:11434/api/tags"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s
# ─────────────────────────────────────────────
# Sonarr — TV Show Management
# ─────────────────────────────────────────────
sonarr:
image: linuxserver/sonarr:latest
container_name: arrmate-sonarr
restart: unless-stopped
environment:
- PUID=1000
- PGID=1000
- TZ=${TZ:-America/New_York}
ports:
- "8989:8989"
volumes:
- sonarr-config:/config
- sonarr-tv:/tv
- sonarr-downloads:/downloads
networks:
- arrmate-net
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8989/ping"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s
# ─────────────────────────────────────────────
# Radarr — Movie Management
# ─────────────────────────────────────────────
radarr:
image: linuxserver/radarr:latest
container_name: arrmate-radarr
restart: unless-stopped
environment:
- PUID=1000
- PGID=1000
- TZ=${TZ:-America/New_York}
ports:
- "7878:7878"
volumes:
- radarr-config:/config
- radarr-movies:/movies
- radarr-downloads:/downloads
networks:
- arrmate-net
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:7878/ping"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s
networks:
arrmate-net:
name: arrmate-net
volumes:
arrmate-data:
ollama-data:
sonarr-config:
sonarr-tv:
sonarr-downloads:
radarr-config:
radarr-movies:
radarr-downloads: