testing: enable sound
This commit is contained in:
parent
9dfdc4d7d0
commit
2f651a42ea
9
TODO.md
Normal file
9
TODO.md
Normal 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
13
docker-compose.sound.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user