-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml_windows_template
53 lines (53 loc) · 1.38 KB
/
docker-compose.yml_windows_template
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
# You will need to rename this file to docker-compose.yml IF you are using Windows
version: '3'
services:
web:
build: .
container_name: ${DOCKER_YTDL}
ports:
- "${DOCKER_PORT_YTDL}:5000"
volumes:
- /t/vdm:/app # this is T:\vdm in Windows
depends_on:
- mongo
- redis
- meilisearch
restart: unless-stopped
environment:
- MEILI_MASTER_KEY=${MEILI_MASTER_KEY}
env_file:
- config.env
mongo:
container_name: ${DOCKER_YTDLDB}
image: mongo
command: ["mongod", "--logpath", "/var/log/mongodb/mongod.log", "--logappend", "--quiet"] # you do not need to touch this. This is within the docker container.
ports:
- "${DOCKER_PORT_YTDLDB}:27017"
restart: unless-stopped
logging:
driver: json-file
options:
max-size: "200m"
max-file: "10"
env_file:
- config.env
redis:
image: redis
container_name: ${DOCKER_YTDLREDIS}
ports:
- "${DOCKER_PORT_YTDLREDIS}:6379"
restart: unless-stopped
env_file:
- config.env
meilisearch:
image: getmeili/meilisearch:v1.4
container_name: ${DOCKER_YTDLMEILI}
ports:
- "${DOCKER_PORT_YTDLMEILI}:7700"
restart: unless-stopped
volumes:
- /t/vdm/meili:/meili_data # this is T:\vdm\meili in Windows
environment:
- MEILI_MASTER_KEY=${MEILI_MASTER_KEY}
env_file:
- config.env