Files
cdc_dockerfile/docker-compose-zj.yml
2024-06-12 14:56:55 +08:00

33 lines
684 B
YAML

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