-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml.default
70 lines (64 loc) · 1.36 KB
/
docker-compose.yml.default
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
db:
image: mysql
restart: always
volumes:
- ./mysql:/var/lib/mysql
env_file:
- ./common.env
expose:
- "3306"
emby:
image: emby/embyserver
restart: always
volumes:
- ./emby/config:/config
- ./rtorrent/downloads:/media/torrents
environment:
PGID: 1000 # get 'gid' from `id <yourusername>`
PUID: 1000 # get 'uid' from `id <yourusername>`
ports:
- "8096:8096"
- "7359:7359/udp"
- "1900:1900/udp"
rtorrent:
image: linuxserver/rutorrent
restart: always
volumes:
- ./rtorrent/config:/config
- ./rtorrent/downloads:/downloads
environment:
PGID: 1000 # get 'gid' from `id <yourusername>`
PUID: 1000 # get 'uid' from `id <yourusername>`
ports:
- "51413:51413" # Incoming Connections
- "6881:6881/udp" # Distributed Hash Table
backend:
build: "./backend"
command: "rackup"
restart: always
env_file:
- ./common.env
volumes:
- ./backend:/app
- ./rtorrent/downloads:/downloads
links:
- db:mysql
- rtorrent:rtorrent
- emby:emby
- redis:redis
# how easy :)
redis:
image: redis
restart: always
nginx:
image: nginx
restart: always
volumes:
- ./nginx.conf:/etc/nginx/conf.d/default.conf
- ./backend/cert.crt:/etc/ssl/certs/cert.crt
- ./backend/key.pem:/etc/ssl/private/key.pem
ports:
- "443:443"
links:
- emby:emby
- backend:backend