mirror of
https://github.com/graphdeco-inria/gaussian-splatting
synced 2025-04-02 00:34:58 +00:00
28 lines
735 B
YAML
28 lines
735 B
YAML
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]
|