-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
executable file
·57 lines (57 loc) · 1.11 KB
/
docker-compose.yml
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
48
49
50
51
52
53
54
55
56
57
# Remember to run xhost +local:root
version: '3'
services:
server:
build:
context: .
dockerfile: Dockerfile.linux.server
ports:
- "4999:4999"
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
environment:
- DISPLAY=:0
head_0:
build:
context: .
dockerfile: Dockerfile.linux.client
ports:
- "5000:5000"
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
environment:
- DISPLAY=:0
- LCD_NUMBER=0
head_1:
build:
context: .
dockerfile: Dockerfile.linux.client
ports:
- "5001:5001"
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
environment:
- DISPLAY=:0
- LCD_NUMBER=1
head_2:
build:
context: .
dockerfile: Dockerfile.linux.client
ports:
- "5002:5002"
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
environment:
- DISPLAY=:0
- LCD_NUMBER=2
head_3:
build:
context: .
dockerfile: Dockerfile.linux.client
ports:
- "5003:5003"
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
environment:
- DISPLAY=:0
- LCD_NUMBER=3