-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yaml
41 lines (41 loc) · 1.04 KB
/
docker-compose.yaml
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
services:
openpcdet:
image: openpcdet-centerpoint-dev
env_file:
- .env
build:
context: ./docker
dockerfile: Dockerfile
args:
BASE_IMAGE: openpcdet-centerpoint-env
HOST_UID: $HOST_UID
HOST_GID: $HOST_GID
HOST_USER: $HOST_USER
container_name: centerpointpillar
user: $HOST_UID:$HOST_GID
volumes:
- .:/home/$HOST_USER/CenterPointPillar
- /tmp/.X11-unix:/tmp/.X11-unix
- $HOME/.ssh:/home/$HOST_USER/.ssh
- $HOME/.config:/home/$HOST_USER/.config
- $HOME/.gitconfig:/home/$HOST_USER/.gitconfig
- $HOME/Dataset:/Dataset
working_dir: /home/$HOST_USER/CenterPointPillar
environment:
- DISPLAY=$DISPLAY
- QT_X11_NO_MITSHM=1
- TZ="Asia/Seoul"
privileged: true
network_mode: host
stdin_open: true
tty: true
ipc: host
pid: host
runtime: nvidia
deploy:
resources:
reservations:
devices:
- driver: nvidia
capabilities: [gpu]
count: all