first commit
This commit is contained in:
33
docker-compose.yml
Normal file
33
docker-compose.yml
Normal file
@@ -0,0 +1,33 @@
|
||||
services:
|
||||
dev_tslib:
|
||||
image: tslib
|
||||
build:
|
||||
context: .
|
||||
target: tslib
|
||||
# args:
|
||||
# http_proxy: "http://192.168.8.135:7897" #optional, Modify it to your agent address
|
||||
# https_proxy: "http://192.168.8.135:7897" #optional, Modify it to your agent address
|
||||
container_name: tslib
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- driver: nvidia
|
||||
count: all
|
||||
capabilities: [gpu]
|
||||
shm_size: 8gb
|
||||
tty: true
|
||||
restart: always
|
||||
environment:
|
||||
- NVIDIA_VISIBLE_DEVICES=all
|
||||
- NVIDIA_DRIVER_CAPABILITIES=compute,utility
|
||||
# - http_proxy=http://192.168.8.135:7897 #optional, Modify it to your agent address
|
||||
# - https_proxy=http://192.168.8.135:7897 #optional, Modify it to your agent address
|
||||
# ports:
|
||||
# - "8888:8888"
|
||||
# - "6006:6006"
|
||||
volumes:
|
||||
- workspace_data:/workspace
|
||||
working_dir: /workspace
|
||||
volumes:
|
||||
workspace_data:
|
||||
Reference in New Issue
Block a user