testing: enable sound

This commit is contained in:
Andy 2016-04-14 12:26:13 +02:00
parent 9dfdc4d7d0
commit 2f651a42ea
Signed by: arno
GPG Key ID: 368DDA2E9A471EAC
2 changed files with 22 additions and 0 deletions

9
TODO.md Normal file
View File

@ -0,0 +1,9 @@
**work in progress**
Enable sound for HipChat4
```
docker-compose -f docker-compose.yml -f docker-compose.sound.yml up hipchat
```
TODO: add `pulseaudio` to the Dockerfile and test the above command

13
docker-compose.sound.yml Normal file
View File

@ -0,0 +1,13 @@
version: '2'
# pulseaudio has to be installed in Dockerfile for this to be working!
services:
hipchat:
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/machine-id:/etc/machine-id:ro
- /run/user/1000/pulse:/run/user/1000/pulse
- /dev/shm:/dev/shm
environment:
- PULSE_SERVER=unix:/run/user/1000/pulse/native