move to bgpt dir
This commit is contained in:
32
bgpt/docker-compose-bgpt.yml
Normal file
32
bgpt/docker-compose-bgpt.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
ubuntu-ssh:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.bgpt
|
||||
volumes:
|
||||
- /data:/data
|
||||
container_name: ubuntu-ssh
|
||||
pull_policy: if_not_present
|
||||
tty: true
|
||||
restart: unless-stopped
|
||||
image: zly/cuda-bgpt:latest
|
||||
ports:
|
||||
- 3222:22
|
||||
environment:
|
||||
- NVIDIA_VISIBLE_DEVICES=all
|
||||
- NVIDIA_DRIVER_CAPABILITIES=compute,utility
|
||||
networks:
|
||||
- network_bgpt
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- driver: nvidia
|
||||
count: all
|
||||
capabilities: [gpu]
|
||||
|
||||
networks:
|
||||
network_bgpt:
|
||||
name: network_bgpt
|
||||
Reference in New Issue
Block a user