-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose-dev.yml
76 lines (71 loc) · 1.35 KB
/
docker-compose-dev.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
version: "3.8"
services:
app:
container_name: "dankmuzikk"
build:
context: ./app
image: "dankmuzikk-app"
restart: "always"
ports:
- "20250:3000"
stdin_open: true
env_file:
- .env.docker
volumes:
- ./google-service-account.json:/app/google-service-account.json
- dankuploads-dir:/app/_serve
networks:
- danknetwork
depends_on:
- dank-db
- yt-dl
dank-db:
image: "mariadb:10.8"
container_name: "dank-db"
restart: "always"
environment:
MARIADB_ROOT_PASSWORD: "previetcomrade"
MARIADB_DATABASE: "dankabase"
ports:
- 3306
volumes:
- db-config:/etc/mysql
- db-data:/var/lib/mysql
networks:
- danknetwork
yt-dl:
container_name: "ytdl"
build:
context: ./ytdl
image: "ytdl"
restart: "always"
ports:
- 8000
stdin_open: true
env_file:
- .env.docker
volumes:
- dankuploads-dir:/app/_serve
networks:
- danknetwork
networks:
danknetwork: {}
volumes:
dankuploads-dir:
driver: local
driver_opts:
type: none
o: bind
device: ./_serve/
db-config:
driver: local
driver_opts:
type: none
o: bind
device: ./_db/etc/
db-data:
driver: local
driver_opts:
type: none
o: bind
device: ./_db/var/