docker – Blame information for rev 62
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
62 | office | 1 | name: rtorrent-rutorrent |
2 | |||
3 | services: |
||
4 | traefik: |
||
5 | image: traefik:2.5 |
||
6 | container_name: traefik |
||
7 | command: |
||
8 | - "--global.checknewversion=false" |
||
9 | - "--global.sendanonymoususage=false" |
||
10 | - "--log=true" |
||
11 | - "--log.level=INFO" |
||
12 | - "--entrypoints.http=true" |
||
13 | - "--entrypoints.http.address=:80" |
||
14 | - "--entrypoints.http.http.redirections.entrypoint.to=https" |
||
15 | - "--entrypoints.http.http.redirections.entrypoint.scheme=https" |
||
16 | - "--entrypoints.https=true" |
||
17 | - "--entrypoints.https.address=:443" |
||
18 | - "--certificatesresolvers.letsencrypt" |
||
19 | - "--certificatesresolvers.letsencrypt.acme.storage=acme.json" |
||
20 | - "--certificatesresolvers.letsencrypt.acme.email=webmaster@example.com" |
||
21 | - "--certificatesresolvers.letsencrypt.acme.httpchallenge" |
||
22 | - "--certificatesresolvers.letsencrypt.acme.httpchallenge.entrypoint=http" |
||
23 | - "--providers.docker" |
||
24 | - "--providers.docker.watch=true" |
||
25 | - "--providers.docker.exposedbydefault=false" |
||
26 | networks: |
||
27 | - rtorrent-rutorrent |
||
28 | ports: |
||
29 | - target: 80 |
||
30 | published: 80 |
||
31 | protocol: tcp |
||
32 | - target: 443 |
||
33 | published: 443 |
||
34 | protocol: tcp |
||
35 | volumes: |
||
36 | - "./acme.json:/acme.json" |
||
37 | - "/var/run/docker.sock:/var/run/docker.sock" |
||
38 | restart: always |
||
39 | |||
40 | geoip-updater: |
||
41 | image: crazymax/geoip-updater:latest |
||
42 | container_name: geoip-updater |
||
43 | networks: |
||
44 | - rtorrent-rutorrent |
||
45 | volumes: |
||
46 | - "./data/geoip:/data" |
||
47 | env_file: |
||
48 | - "./geoip-updater.env" |
||
49 | restart: always |
||
50 | |||
51 | rtorrent-rutorrent: |
||
52 | image: crazymax/rtorrent-rutorrent:latest |
||
53 | container_name: rtorrent-rutorrent |
||
54 | networks: |
||
55 | - rtorrent-rutorrent |
||
56 | expose: |
||
57 | - "${RT_DHT_PORT}/udp" |
||
58 | - "${XMLRPC_PORT}" |
||
59 | - "${RUTORRENT_PORT}" |
||
60 | - "${WEBDAV_PORT}" |
||
61 | - "${RT_INC_PORT}" |
||
62 | ports: |
||
63 | - target: ${RT_DHT_PORT} |
||
64 | published: ${RT_DHT_PORT} |
||
65 | protocol: udp |
||
66 | - target: ${RT_INC_PORT} |
||
67 | published: ${RT_INC_PORT} |
||
68 | protocol: tcp |
||
69 | env_file: |
||
70 | - "rtorrent-rutorrent.env" |
||
71 | - ".env" |
||
72 | volumes: |
||
73 | - "./data:/data" |
||
74 | - "./downloads:/downloads" |
||
75 | - "./passwd:/passwd" |
||
76 | labels: |
||
77 | - "traefik.enable=true" |
||
78 | - "traefik.http.routers.rutorrent.entrypoints=https" |
||
79 | - "traefik.http.routers.rutorrent.rule=Host(`rutorrent.example.com`)" |
||
80 | - "traefik.http.routers.rutorrent.tls=true" |
||
81 | - "traefik.http.routers.rutorrent.tls.certresolver=letsencrypt" |
||
82 | - "traefik.http.routers.rutorrent.tls.domains[0].main=rutorrent.example.com" |
||
83 | - "traefik.http.routers.rutorrent.service=rutorrent" |
||
84 | - "traefik.http.services.rutorrent.loadbalancer.server.port=${RUTORRENT_PORT}" |
||
85 | - "traefik.http.routers.webdav.entrypoints=https" |
||
86 | - "traefik.http.routers.webdav.rule=Host(`webdav.example.com`)" |
||
87 | - "traefik.http.routers.webdav.tls=true" |
||
88 | - "traefik.http.routers.webdav.tls.certresolver=letsencrypt" |
||
89 | - "traefik.http.routers.webdav.tls.domains[0].main=webdav.example.com" |
||
90 | - "traefik.http.routers.webdav.service=webdav" |
||
91 | - "traefik.http.services.webdav.loadbalancer.server.port=${WEBDAV_PORT}" |
||
92 | ulimits: |
||
93 | nproc: 65535 |
||
94 | nofile: |
||
95 | soft: 32000 |
||
96 | hard: 40000 |
||
97 | restart: always |
||
98 | |||
99 | rtorrent-logs: |
||
100 | image: bash |
||
101 | container_name: rtorrent-rutorrent-logs |
||
102 | command: bash -c 'tail -f /log/*.log' |
||
103 | network_mode: none |
||
104 | depends_on: |
||
105 | - rtorrent-rutorrent |
||
106 | volumes: |
||
107 | - "./data/rtorrent/log:/log" |
||
108 | restart: always |
||
109 | |||
110 | networks: |
||
111 | rtorrent-rutorrent: |
||
112 | name: rtorrent-rutorrent |