version: "2" services: wahay: build: ./wahay 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/1000/pulse:/run/user/1000/pulse - ./wahay/pulseaudio.client.conf:/etc/pulse/client.conf:ro