docker-wahay/docker-compose.yml
yenien 52c13625d7 Configurable user parameters (#2)
Update README

Configurable user parameters

Co-authored-by: Francesc Gordillo <yenien@posteo.net>
Reviewed-on: http://gitea.hatthieves.es/manalejandro/docker-wahay/pulls/2
2020-05-30 08:42:32 +00:00

21 lines
525 B
YAML

version: "3"
services:
wahay:
build:
dockerfile: ./wahay/Dockerfile
context: .
args:
UID: ${UID:-1000}
GID: ${GID:-1000}
UNAME: ${UNAME:-mumble}
hostname: wahay
container_name: wahay
environment:
- DISPLAY=unix$DISPLAY
- PULSE_SERVER=unix:/run/user/1000/pulse/native
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix:ro
- /run/user/${UID:-1000}/pulse:/run/user/${UID:-1000}/pulse
- ./wahay/pulseaudio.client.conf:/etc/pulse/client.conf:ro