Browse Source

Update README

pull/2/head
Francesc Gordillo 4 years ago
parent
commit
c7eb8c3f76
No known key found for this signature in database GPG Key ID: A4F3669C5B80A7AF
2 changed files with 7 additions and 5 deletions
  1. +6
    -4
      README.md
  2. +1
    -1
      docker-compose.yml

+ 6
- 4
README.md View File

@ -9,9 +9,11 @@ Needs `docker` and `docker-compose`
xhost +"local:docker@"
```
### Change your local user UID in the next line of `docker-compose.yml` for pulseaudio (default 1000)
```
- /run/user/[UID]/pulse:/run/user/1000/pulse
### Add your local user UID and GID in the `.env` file:
```bash
echo "UID=${UID}" > .env
echo "GID=${UID}" >> .env
```
### Execute with compose
@ -21,4 +23,4 @@ docker-compose up -d
### License
MIT
MIT

+ 1
- 1
docker-compose.yml View File

@ -16,5 +16,5 @@ services:
- PULSE_SERVER=unix:/run/user/1000/pulse/native
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix:ro
- /run/user/1000/pulse:/run/user/1000/pulse
- /run/user/${UID:-1000}/pulse:/run/user/${UID:-1000}/pulse
- ./wahay/pulseaudio.client.conf:/etc/pulse/client.conf:ro

Loading…
Cancel
Save