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
version: "3.8"
services:
# Konarr Server
konarr:
container_name: konarr
image: ghcr.io/42bytelabs/konarr:v0.5.0
# Manually build the image
# build:
# context: .
# dockerfile: ./server/Dockerfile
restart: unless-stopped
ports:
# Expose the server on port 9000
- "9000:9000"
volumes:
# Mount the data and config volumes
- data:/data
- config:/config
# Konarr Agent (CLI)
konarr-agent:
container_name: konarr-agent
image: ghcr.io/42bytelabs/konarr-cli:v0.5.0
# Manually build the image
# build:
# context: .
# dockerfile: ./cli/Dockerfile
# Run the agent in monitoring mode
command: agent
restart: unless-stopped
# Wait for the server to be ready
depends_on:
- konarr
environment:
# Project name of the Konarr server
KONARR_HOST: konarr-server
KONARR_AUTO_INSTALL: "true"
volumes:
# Share the configuration with the server
- config:/config
# Toolcache directory for storing downloaded tools
- ./toolcache:/usr/local/toolcache
# Docker socket
- /var/run/docker.sock:/var/run/docker.sock:ro
volumes:
data:
config: