-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
63 lines (58 loc) · 1.33 KB
/
docker-compose.yaml
File metadata and controls
63 lines (58 loc) · 1.33 KB
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
services:
jukebox-postgres:
image: postgres:latest
environment:
POSTGRES_DB: jukebox
POSTGRES_USER: postgres
POSTGRES_PASSWORD: mysecretpassword
volumes:
- postgres_data:/var/lib/postgresql/data
networks:
- jukebox-network
restart: unless-stopped
jukebox:
image: localhost/jukebox
privileged: true
devices:
- /dev/snd
# ports:
# - "8080:8080"
volumes:
- jukebox_storage:/jukebox/Storage
environment:
DATABASE_URL: postgres://postgres:mysecretpassword@jukebox-postgres:5432/jukebox
YOUTUBE_API_KEY: "YOUR KEY"
YOUTUBE_MUSIC_COOKIE: "YOUR COOKIE"
MUSICAPI_TOKEN: "Token YOUR TOKEN"
networks:
- jukebox-network
depends_on:
- jukebox-postgres
restart: unless-stopped
jukebox-frontend:
image: localhost/jukebox-frontend
# ports:
# - "5000:80"
networks:
- jukebox-network
depends_on:
- jukebox-postgres
restart: unless-stopped
nginx:
image: nginx
volumes:
- ./nginx:/etc/nginx
ports:
- "80:80" # Change the desired port here <your_port>:80
networks:
- jukebox-network
depends_on:
- jukebox-postgres
- jukebox-frontend
- jukebox
networks:
jukebox-network:
driver: bridge
volumes:
postgres_data:
jukebox_storage: