-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
42 lines (40 loc) · 1.09 KB
/
Copy pathcompose.yaml
File metadata and controls
42 lines (40 loc) · 1.09 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
services:
tunarrtube:
build: .
container_name: tunarrtube
ports:
- "127.0.0.1:${TUNARRTUBE_PORT:-${YTARR_PORT:-3000}}:3000"
environment:
DATABASE_URL: file:/config/ytarr.db
TUNARRTUBE_MEDIA_DIR: /media
TUNARRTUBE_THUMBNAIL_DIR: /config/thumbnails
TUNARRTUBE_TUNARR_URL: ${TUNARRTUBE_TUNARR_URL:-${YTARR_TUNARR_URL:-http://tunarr:8000}}
TZ: ${TZ:-UTC}
volumes:
- ytarr-config:/config
- ytarr-media:/media
extra_hosts:
- "host.docker.internal:host-gateway"
cap_drop:
- ALL
security_opt:
- no-new-privileges:true
init: true
restart: unless-stopped
tunarr:
image: ${TUNARR_IMAGE:-chrisbenincasa/tunarr:latest}
container_name: tunarr
profiles: ["tunarr"]
ports:
- "127.0.0.1:${TUNARR_PORT:-8000}:8000"
environment:
TZ: ${TZ:-UTC}
volumes:
- tunarr-config:/config/tunarr
- ytarr-media:/media:ro
restart: unless-stopped
volumes:
# Legacy volume keys are intentionally stable so upgrades keep existing data.
ytarr-config:
ytarr-media:
tunarr-config: