-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
32 lines (32 loc) · 860 Bytes
/
docker-compose.yaml
File metadata and controls
32 lines (32 loc) · 860 Bytes
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
services:
mpd:
build: fake_mpd/
volumes:
- ./fake_mpd/mpd.conf:/etc/mpd.conf
- ./fake_mpd/music:/var/lib/mpd/music
- ./fake_mpd/playlists:/var/lib/mpd/playlists
ports:
- 6600:6600 # MPD protocol
proxy:
build:
context: mpd-web-proxy/
args:
BUILD_VERSION:
environment:
MPD_AUTHORITY: mpd:6600
PROXY_PIN_FILE: /app/pins.yaml
PROXY_MUSIC_DIR: /var/lib/mpd/music
volumes:
- ./mpd-web-proxy/pins.yaml:/app/pins.yaml
- ./fake_mpd/music:/var/lib/mpd/music
ports:
- 8000
nginx:
image: nginx
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
- ./web/static/index.html:/www/data/static/index.html:ro
- ./web/static/notfound.png:/www/data/static/notfound.png:ro
- ./web/dist:/www/data/static/dist:ro
ports:
- 80:80