-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yml
109 lines (105 loc) · 2.33 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
services:
debridproxy:
build: .
container_name: debridproxy
volumes:
- .:/app
ports:
- "8469:8469"
env_file:
- .env
restart: unless-stopped
cap_drop:
- ALL
cap_add:
- DAC_OVERRIDE
- SETGID
- SETUID
- CHOWN
security_opt:
- no-new-privileges:true
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8469"]
interval: 10s
timeout: 5s
retries: 5
depends_on:
redis:
condition: service_healthy
mem_limit: 4G
redis:
image: redis:alpine
container_name: debridproxy_redis
command: ["redis-server", "--requirepass", "${REDIS_PASSWORD}", "--appendonly", "yes"]
volumes:
- ./docker-data/redis_data:/data
restart: unless-stopped
cap_drop:
- ALL
cap_add:
- DAC_OVERRIDE
- SETGID
- SETUID
- CHOWN
security_opt:
- no-new-privileges:true
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
healthcheck:
test: ["CMD", "redis-cli", "-a", "${REDIS_PASSWORD}", "ping"]
interval: 10s
timeout: 5s
retries: 5
mem_limit: 1G
mediaflow:
image: mhdzumair/mediaflow-proxy
container_name: debridproxy_mediaflow
ports:
- "8888:8888"
environment:
- API_PASSWORD=${MEDIAFLOW_API_KEY}
- ENABLE_STREAMING_PROGRESS=${MEDIAFLOW_STREAMING_PROGRESS}
restart: unless-stopped
cap_drop:
- ALL
cap_add:
- DAC_OVERRIDE
- SETGID
- SETUID
- CHOWN
security_opt:
- no-new-privileges:true
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8888"]
interval: 10s
timeout: 5s
retries: 5
mem_limit: 2G
phpredisadmin:
container_name: debridproxy_phpredisadmin
image: erikdubbelboer/phpredisadmin
restart: unless-stopped
ports:
- "5080:80"
env_file:
- .env
environment:
- REDIS_1_HOST=debridproxy_redis
- REDIS_1_PORT=6379
- REDIS_1_AUTH=${REDIS_PASSWORD}
- ADMIN_USER=${ADMIN_USERNAME}
- ADMIN_PASS=${ADMIN_PASSWORD}
mem_limit: 512M