Skip to content

Commit 465bec3

Browse files
committed
Sonarr container for bitbucket
1 parent 2769377 commit 465bec3

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

sonarr/compose.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
services:
2+
sidecar:
3+
extends:
4+
file: ../sidecar-compose.yaml
5+
service: .sidecar
6+
hostname: sonarr
7+
env_file: ../bitbucket/.tailscale.env
8+
environment:
9+
- TS_SERVE_PORT=8989
10+
11+
sonarr:
12+
image: lscr.io/linuxserver/sonarr:latest
13+
network_mode: "service:sidecar"
14+
restart: unless-stopped
15+
volumes:
16+
- blob-media:/media
17+
- sonarr-config:/config
18+
environment:
19+
- PGID=1000
20+
- PUID=1000
21+
labels:
22+
- "com.centurylinklabs.watchtower.enable=true"
23+
exporter:
24+
image: ghcr.io/onedr0p/exportarr:latest
25+
command: sonarr
26+
restart: unless-stopped
27+
network_mode: "service:sidecar"
28+
environment:
29+
- PORT=9707
30+
- URL=http://localhost:8989
31+
# APIKEY must be set in here
32+
env_file: .exportarr.env
33+
labels:
34+
- "com.centurylinklabs.watchtower.enable=true"
35+
36+
volumes:
37+
tailscale-data:
38+
blob-media:
39+
driver: local
40+
driver_opts:
41+
type: cifs
42+
device: //blob.lan.offby1.net/Media
43+
o: username=${BLOB_USERNAME},password=${BLOB_PASSWORD},file_mode=0777,dir_mode=0777,addr=192.168.5.184
44+
sonarr-config:
45+
driver: local
46+
driver_opts:
47+
type: cifs
48+
device: //blob.lan.offby1.net/config/sonarr/
49+
o: username=${BLOB_USERNAME},password=${BLOB_PASSWORD},file_mode=0777,dir_mode=0777,addr=192.168.5.184

0 commit comments

Comments
 (0)