-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-seedbox-services.yml
86 lines (71 loc) · 2.21 KB
/
docker-seedbox-services.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
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
services:
########################################################################
# Flood
########################################################################
# the container will use published docker images
flood-base-prod:
image: ghcr.io/chris3481/flood:latest
# the container will build the images from local dockerfile
flood-base-dev:
build: ./docker/flood
flood-base:
extends:
service: "flood-base-${RUN_MODE}"
restart: unless-stopped
environment:
- USER_UID=${USER_ID}
- USER_GID=${GROUP_ID}
- FLOOD_ADMIN_USERNAME=${FLOOD_ADMIN_USERNAME}
- FLOOD_ADMIN_PASSWORD=${FLOOD_ADMIN_PASSWORD}
volumes:
- ${BASE_PATH}/docker/flood/config.js:/data/flood/config.js
- ${DOWNLOAD_FOLDER_PATH}:/srv/rtorrent/download
# - ${BASE_PATH}/data/flood-db:/data/flood-db
flood-vpn:
extends:
service: flood-base
network_mode: service:vpn
flood-standalone:
extends:
service: flood-base
ports:
- "3000:3000"
networks:
- seedbox-network
########################################################################
# rTorrent
########################################################################
# the container will use published docker images
rtorrent-base-prod:
image: ghcr.io/chris3481/rtorrent:latest
# the container will build the images from local dockerfile
rtorrent-base-dev:
build: ./docker/rtorrent
rtorrent-base:
extends:
service: "rtorrent-base-${RUN_MODE}"
restart: unless-stopped
environment:
- USER_UID=${USER_ID}
- USER_GID=${GROUP_ID}
volumes:
- ${BASE_PATH}/docker/rtorrent/config.d:/srv/rtorrent/config.d
- ${DOWNLOAD_FOLDER_PATH}:/srv/rtorrent/download
- ${BASE_PATH}/logs:/srv/rtorrent/log
- ${BASE_PATH}/data/rtorrent/sessions:/srv/rtorrent/.session
rtorrent-vpn:
extends:
service: rtorrent-base
network_mode: service:vpn
rtorrent-standalone:
extends:
service: rtorrent-base
ports:
- "16891:16891"
- ${RTORRENT_DHT_PORT}:${RTORRENT_DHT_PORT}
- ${RTORRENT_PEER_PORT}:${RTORRENT_PEER_PORT}
networks:
- seedbox-network
networks:
seedbox-network:
driver: bridge