first add

This commit is contained in:
2024-06-12 14:56:55 +08:00
parent 86d1eaab86
commit cf1bc7b655
14 changed files with 436 additions and 0 deletions

32
docker-compose-zj.yml Normal file
View File

@@ -0,0 +1,32 @@
version: '3.8'
services:
ubuntu-zj:
build:
context: .
dockerfile: Dockerfile.zj
volumes:
- /data1/liujiang/workspace/sophone:/data1/liujiang/workspace/sophone
container_name: ubuntu-zj
pull_policy: if_not_present
tty: true
restart: unless-stopped
image: zj/tpuc_dev:latest
ports:
- 3393:22
environment:
- NVIDIA_VISIBLE_DEVICES=all
- NVIDIA_DRIVER_CAPABILITIES=compute,utility
networks:
- network5
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
networks:
network5:
name: network5