-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
47 lines (45 loc) · 1.19 KB
/
Copy pathdocker-compose.dev.yml
File metadata and controls
47 lines (45 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
version: '3.8'
services:
aquavoice-dev:
build:
context: .
target: dev
container_name: aquavoice-linux-dev
volumes:
- .:/app
- /tmp/.X11-unix:/tmp/.X11-unix:rw
- ~/.config/pulse:/home/dev/.config/pulse:ro
- /var/run/pulse:/var/run/pulse:ro
environment:
- DISPLAY=${DISPLAY}
- PULSE_RUNTIME_PATH=/var/run/pulse
- PULSE_CLIENTCONFIG=/home/dev/.config/pulse/client.conf
network_mode: host
devices:
- /dev/snd:/dev/snd
stdin_open: true
tty: true
working_dir: /app
user: "${UID:-1000}:${GID:-1000}"
# Alternative for Wayland
aquavoice-wayland:
build:
context: .
target: dev
container_name: aquavoice-linux-wayland
volumes:
- .:/app
- /run/user/${UID:-1000}/wayland-0:/run/user/1000/wayland-0:rw
- ~/.config/pulse:/home/dev/.config/pulse:ro
- /var/run/pulse:/var/run/pulse:ro
environment:
- WAYLAND_DISPLAY=wayland-0
- XDG_RUNTIME_DIR=/run/user/1000
- PULSE_RUNTIME_PATH=/var/run/pulse
network_mode: host
devices:
- /dev/snd:/dev/snd
stdin_open: true
tty: true
working_dir: /app
user: "${UID:-1000}:${GID:-1000}"