-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
186 lines (174 loc) · 4.44 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
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
services:
auth:
container_name: auth
image: pkoenig10/auth-oidc
command: >
-external-url https://auth.$DOMAIN
-client-id $CLIENT_ID
-client-secret $CLIENT_SECRET
-token-key $COOKIE_KEY
-cookie-domain $DOMAIN
-config-file /config.yml
restart: unless-stopped
volumes:
- /etc/localtime:/etc/localtime:ro
- ./auth/config.yml:/config.yml:ro
backup:
container_name: backup
image: pkoenig10/backup-google
command: >
-bucket-name $BUCKET_NAME
-config-file /config.yml
-credentials-file /credentials.json
profiles:
- task
volumes:
- /etc/localtime:/etc/localtime:ro
- $SERVER_DIR:/files/server:ro
- .:/files/project:ro
- ./backup/config.yml:/config.yml:ro
- ./backup/credentials.json:/credentials.json:ro
caddy:
container_name: caddy
build: ./caddy
environment:
CLOUDFLARE_API_TOKEN: $CLOUDFLARE_API_TOKEN
DOMAIN: $DOMAIN
EMAIL: $EMAIL
USERNAME: $USERNAME
PASSWORD: $PASSWORD
ports:
- 80:80
- 443:443
- 443:443/udp
restart: unless-stopped
volumes:
- /etc/localtime:/etc/localtime:ro
- $SERVER_DIR/caddy/data:/data
- $SERVER_DIR/caddy/config:/config
- ./caddy/Caddyfile:/etc/caddy/Caddyfile:ro
ddns:
container_name: ddns
image: pkoenig10/ddns-cloudflare
environment:
DOMAIN: $DOMAIN
API_TOKEN: $CLOUDFLARE_API_TOKEN
network_mode: host
profiles:
- task
volumes:
- /etc/localtime:/etc/localtime:ro
iperf:
container_name: iperf
image: networkstatic/iperf3
command: >
-s
ports:
- 5201:5201
restart: unless-stopped
volumes:
- /etc/localtime:/etc/localtime:ro
jackett:
container_name: jackett
image: linuxserver/jackett
environment:
PUID: $UID
PGID: $GID
restart: unless-stopped
volumes:
- /etc/localtime:/etc/localtime:ro
- $SERVER_DIR/jackett/config:/config
plex:
container_name: plex
image: plexinc/pms-docker:beta
devices:
- /dev/dri
environment:
PLEX_UID: $UID
PLEX_GID: $GID
ADVERTISE_IP: https://$LOCAL_IP:32400,https://plex.$DOMAIN:443
ports:
- 32400:32400
restart: unless-stopped
tmpfs:
- /transcode
volumes:
- /etc/localtime:/etc/localtime:ro
- $SERVER_DIR/plex/config:/config
- $DATA_DIR/tv:/tv
- $DATA_DIR/movies:/movies
radarr:
container_name: radarr
image: linuxserver/radarr
environment:
PUID: $UID
PGID: $GID
restart: unless-stopped
volumes:
- /etc/localtime:/etc/localtime:ro
- $SERVER_DIR/radarr/config:/config
- $DATA_DIR/downloads:/data
- $DATA_DIR/movies:/movies
sonarr:
container_name: sonarr
image: linuxserver/sonarr
environment:
PUID: $UID
PGID: $GID
restart: unless-stopped
volumes:
- /etc/localtime:/etc/localtime:ro
- $SERVER_DIR/sonarr/config:/config
- $DATA_DIR/downloads:/data
- $DATA_DIR/tv:/tv
tautulli:
container_name: tautulli
image: tautulli/tautulli
environment:
PUID: $UID
PGID: $GID
restart: unless-stopped
volumes:
- /etc/localtime:/etc/localtime:ro
- $SERVER_DIR/tautulli/config:/config
telegraf:
container_name: telegraf
image: telegraf
environment:
GRAFANA_URL: $GRAFANA_URL
GRAFANA_USERNAME: $GRAFANA_USERNAME
GRAFANA_PASSWORD: $GRAFANA_PASSWORD
HOST_ETC: /hostfs/etc
HOST_PROC: /hostfs/proc
HOST_RUN: /hostfs/run
HOST_SYS: /hostfs/sys
HOST_VAR: /hostfs/var
HOST_MOUNT_PREFIX: /hostfs
network_mode: host
restart: unless-stopped
volumes:
- /etc/localtime:/etc/localtime:ro
- /:/hostfs:ro
- /var/run/docker.sock:/var/run/docker.sock
- ./telegraf/telegraf.conf:/etc/telegraf/telegraf.conf:ro
transmission:
container_name: transmission
image: haugene/transmission-openvpn
cap_add:
- NET_ADMIN
devices:
- /dev/net/tun
environment:
OPENVPN_PROVIDER: $OPENVPN_PROVIDER
OPENVPN_USERNAME: $OPENVPN_USERNAME
OPENVPN_PASSWORD: $OPENVPN_PASSWORD
TRANSMISSION_WEB_HOME: /web
restart: unless-stopped
volumes:
- /etc/localtime:/etc/localtime:ro
- $SERVER_DIR/transmission/config:/config
- $DATA_DIR/downloads:/data
- $TRANSMISSION_WEB_DIR:/web:ro
networks:
default:
enable_ipv6: true