4
0
mirror of https://github.com/nerfstudio-project/nerfstudio.git synced 2026-11-11 02:24:38 +08:00
nerfstudio/.devcontainer/docker-compose.yml
Pablo Vela 630babacd6
Add option to use Pixel Perfect SFM (#1554)
add pixsfm option when using hloc
2023-03-12 16:32:33 -04:00

28 lines
600 B
YAML

version: "3.8"
services:
nerfstudio:
shm_size: '12gb'
image: nerfstudio:latest
build:
context: ..
dockerfile: ./Dockerfile
stdin_open: true
tty: true
environment:
NVIDIA_DRIVER_CAPABILITIES: compute,utility,graphics
DISPLAY: $DISPLAY
ports:
- "7007:7007"
volumes:
- ../:/workspace/
- /tmp/.X11-unix:/tmp/.X11-unix
working_dir: /workspace/
command: /bin/bash
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [ gpu ]