-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
42 lines (40 loc) · 1.11 KB
/
docker-compose.yml
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
services:
soularr:
restart: unless-stopped
container_name: soularr
network_mode: host
environment:
- PUID=1000
- PGID=1000
- TZ=America/Los_Angeles
- SCRIPT_INTERVAL=30
user: "root:root"
volumes:
- /mnt/Plex11/slskd/complete:/mnt/Plex11/slskd/complete
- /mnt/Plex11/slskd/complete:/downloads
- /home/eric/Soularr:/data
- /home/eric/Soularr/data/logs:/data/logs
image: mrusse08/soularr:latest
command: sh -c "mkdir -p /data/logs && python soularr.py 2>&1 | tee -a /data/logs/soularr.log"
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
dashboard:
build:
context: ./dashboard
dockerfile: Dockerfile
restart: unless-stopped
container_name: soularr-dashboard
network_mode: host
environment:
- PUID=1000
- PGID=1000
- TZ=America/Los_Angeles
volumes:
- /home/eric/Soularr/dashboard:/app
- /home/eric/Soularr:/data
- /home/eric/Soularr/data/logs:/data/logs
- /var/run/docker.sock:/var/run/docker.sock
working_dir: /app