init
This commit is contained in:
26
docker-compose.yml
Normal file
26
docker-compose.yml
Normal file
@ -0,0 +1,26 @@
|
||||
services:
|
||||
zed:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
network: host
|
||||
container_name: zed-dev
|
||||
shm_size: "8gb"
|
||||
volumes:
|
||||
- .:/workspaces/zed-playground:cached
|
||||
- /tmp/.X11-unix:/tmp/.X11-unix:rw
|
||||
working_dir: /workspaces/zed-playground
|
||||
environment:
|
||||
DISPLAY: "${DISPLAY}"
|
||||
NVIDIA_VISIBLE_DEVICES: "all"
|
||||
NVIDIA_DRIVER_CAPABILITIES: "compute,graphics,utility,video"
|
||||
HTTP_PROXY: "http://127.0.0.1:36000"
|
||||
HTTPS_PROXY: "http://127.0.0.1:36000"
|
||||
NO_PROXY: "localhost,127.0.0.1,::1,host.docker.internal"
|
||||
privileged: true
|
||||
devices:
|
||||
- /dev/bus/usb:/dev/bus/usb
|
||||
gpus: all
|
||||
network_mode: host
|
||||
stdin_open: true
|
||||
tty: true
|
||||
Reference in New Issue
Block a user