-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
86 lines (85 loc) · 2.05 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
version: '3'
services:
muse:
build:
context: .
target: base
init: true
tty: true
command: yarn muse:docker:start
env_file: ./.env
ports:
- '$EXPOSED_API_PORT:3000'
- '$EXPOSED_MUSE_DEBUGGING_PORT:9229'
volumes:
- ./:/opt/app
depends_on:
- db
radio:
build:
context: .
target: base
tty: true
command: yarn radio:docker:start
env_file: ./.env
ports:
- '$EXPOSED_RADIO_DEBUGGING_PORT:9229'
volumes:
- ./:/opt/app
depends_on:
- db
music:
build:
context: .
target: base
tty: true
command: yarn music:docker:start
env_file: ./.env
environment:
- INSTANCE_NUMBER=1
volumes:
- ./:/opt/app
depends_on:
- db
music2:
build:
context: .
target: base
tty: true
command: yarn music:docker:start
env_file: ./.env
environment:
- INSTANCE_NUMBER=2
volumes:
- ./:/opt/app
depends_on:
- db
dashboard:
build:
context: .
target: base
tty: true
command: yarn dashboard:docker:start
env_file: ./.env
ports:
- '$EXPOSED_DASHBOARD_PORT:3000'
volumes:
- ./:/opt/app
db:
image: postgres:12.2
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: muse
ports:
- '$EXPOSED_DB_PORT:5432'
lavalink:
image: ghcr.io/lavalink-devs/lavalink:latest
volumes:
- ./.docker/lavalink.yml:/opt/Lavalink/application.yml:ro
prometheus:
image: prom/prometheus
volumes:
- ./.docker/prometheus.dev.yml:/etc/prometheus/prometheus.yml
ports:
- '$EXPOSED_PROM_PORT:9090'