-
-
Notifications
You must be signed in to change notification settings - Fork 551
/
docker-compose.yml
46 lines (41 loc) · 1.01 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
version: '3.1'
services:
socat:
image: bennythink/socat
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
entrypoint: [ "socat", "tcp-listen:2375,fork,reuseaddr","unix-connect:/var/run/docker.sock" ]
redis:
image: redis:7-alpine
restart: always
logging:
driver: none
mysql:
image: ubuntu/mysql:8.0-22.04_beta
restart: always
volumes:
- ./db_data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: 'root'
command: --default-authentication-plugin=mysql_native_password
logging:
driver: none
ytdl:
image: bennythink/ytdlbot
env_file:
- env/ytdl.env
restart: always
depends_on:
- socat
- redis
volumes:
- ./data/vnstat/:/var/lib/vnstat/
premium:
image: bennythink/ytdlbot
env_file:
- env/ytdl.env
restart: always
volumes:
- ./data/premium.session:/ytdlbot/ytdlbot/premium.session
command: [ "/usr/local/bin/python", "/ytdlbot/ytdlbot/premium.py" ]