Update README
This commit is contained in:
parent
ffafa8218b
commit
c7eb8c3f76
10
README.md
10
README.md
@ -9,9 +9,11 @@ Needs `docker` and `docker-compose`
|
|||||||
xhost +"local:docker@"
|
xhost +"local:docker@"
|
||||||
```
|
```
|
||||||
|
|
||||||
### Change your local user UID in the next line of `docker-compose.yml` for pulseaudio (default 1000)
|
### Add your local user UID and GID in the `.env` file:
|
||||||
```
|
|
||||||
- /run/user/[UID]/pulse:/run/user/1000/pulse
|
```bash
|
||||||
|
echo "UID=${UID}" > .env
|
||||||
|
echo "GID=${UID}" >> .env
|
||||||
```
|
```
|
||||||
|
|
||||||
### Execute with compose
|
### Execute with compose
|
||||||
@ -21,4 +23,4 @@ docker-compose up -d
|
|||||||
|
|
||||||
### License
|
### License
|
||||||
|
|
||||||
MIT
|
MIT
|
||||||
|
@ -16,5 +16,5 @@ services:
|
|||||||
- PULSE_SERVER=unix:/run/user/1000/pulse/native
|
- PULSE_SERVER=unix:/run/user/1000/pulse/native
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp/.X11-unix:/tmp/.X11-unix:ro
|
- /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
|
- ./wahay/pulseaudio.client.conf:/etc/pulse/client.conf:ro
|
||||||
|
Loading…
x
Reference in New Issue
Block a user