-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (42 loc) · 878 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
43 lines (42 loc) · 878 Bytes
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
version: "3.8"
services:
mod-host:
image: mod-host:latest
container_name: mod-host
stdin_open: true # docker run -i
tty: true # docker run
environment:
- USER_NAME=${USER_NAME}
- GROUP_NAME=${GROUP_NAME}
- USER_ID=${USER_ID}
- GROUP_ID=${GROUP_ID}
volumes:
- /dev/shm:/dev/shm:rw
build:
context: ./mod-host
ulimits:
memlock: 819200000
rtprio: 99
expose:
- "5555"
- "5556"
ports:
- 5555:5555
- 5556:5556
mod-ui:
image: mod-ui:latest
container_name: mod-ui
environment:
- USER_NAME=${USER_NAME}
- GROUP_NAME=${GROUP_NAME}
- USER_ID=${USER_ID}
- GROUP_ID=${GROUP_ID}
volumes:
- /dev/shm:/dev/shm:rw
build:
context: ./mod-ui
ulimits:
memlock: 819200000
rtprio: 99
ports:
- 8888:8888