-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
48 lines (48 loc) · 1.27 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
version: '3'
services:
web:
build: .
container_name: ${DOCKER_YTDL}
ports:
- "${DOCKER_PORT_YTDL}:5000"
volumes:
- .:/app
- /mnt/Yellow/docker/anomaly-ytdlp:/storage/yellow
- /mnt/E/docker/anomaly-ytdlp:/storage/white
# - /mnt/Purple/docker/anomaly-ytdlp:/storage/purple
# if .:/app is same as /mnt/storage then don't add /mnt/storage
depends_on:
- mongo
- redis
- meilisearch
restart: unless-stopped
environment:
- MEILI_MASTER_KEY=${MEILI_MASTER_KEY}
mongo:
container_name: ${DOCKER_YTDLDB}
image: mongo
command: ["mongod", "--logpath", "/var/log/mongodb/mongod.log", "--logappend", "--quiet"]
ports:
- "${DOCKER_PORT_YTDLDB}:27017"
restart: unless-stopped
logging:
driver: json-file
options:
max-size: "200m"
max-file: "10"
redis:
image: redis
container_name: ${DOCKER_YTDLREDIS}
ports:
- "${DOCKER_PORT_YTDLREDIS}:6379"
restart: unless-stopped
meilisearch:
image: getmeili/meilisearch:v1.4
container_name: ${DOCKER_YTDLMEILI}
ports:
- "${DOCKER_PORT_YTDLMEILI}:7700"
restart: unless-stopped
volumes:
- "${MEILILOC}:/meili_data"
environment:
- MEILI_MASTER_KEY=${MEILI_MASTER_KEY}