gaussian-splatting/compose.yaml
2024-06-07 16:50:06 +09:00

28 lines
735 B
YAML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

version: '3'
services:
gsplat-dev:
build:
context: .
dockerfile: Dockerfile
container_name: gsplat-dev-container
image: gsplat:1.0
# user: 1010:1010 #terada
volumes:
# - /etc/passwd:/etc/passwd:ro
# - /etc/group:/etc/group:ro
- .:/root/gaussian-splatting
- ~/.ssh:/root/.ssh
# ports:
# - "8087:8088"
working_dir: /root/gaussian-splatting
tty: true
network_mode: "host"
# host gpu を使えるようにする設定 https://docs.docker.jp/compose/gpu-support.html
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]