-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
40 lines (34 loc) · 1008 Bytes
/
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
version: "3.8"
services:
nerfstudio:
image: dromni/nerfstudio:${NERF_STUDIO_VER}
container_name: nerf_studio
ipc: host
# shm_size: '8gb'
ports:
- "7007:7007"
working_dir: /workspace
# These two are needed for interactive shells
# stdin_open: true
# tty: true
# Enable GPU support
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [ gpu ]
env_file:
- ./.env
volumes:
- C:\Users\lizas\PycharmProjects\NeRFleXGIF\.cache:/home/user/.cache
- C:\Users\lizas\PycharmProjects\NeRFleXGIF:/workspace/
networks:
- NerfNetwork
# network_mode: "host"
networks:
NerfNetwork:
name: nerf_net
# standalone equivalent
# docker run --gpus all -v C:\Users\lizas\PycharmProjects\NeRFleXGIF:/workspace/ -v C:\Users\lizas\PycharmProjects\NeRFleXGIF\.cache:/home/user/.cache/ -p 7007:7007 --rm -it --ipc=host dromni/nerfstudio:0.3.2