init(*):初始化;使用sun-panel作为前端;使用dockge管理dockercompose
This commit is contained in:
1
owlsam/.env
Normal file
1
owlsam/.env
Normal file
@@ -0,0 +1 @@
|
||||
CUDA_VISIBLE_DEVICES=0,1
|
||||
21
owlsam/compose.yaml
Normal file
21
owlsam/compose.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
owlsam:
|
||||
image: docker.citory.tech/public/toolbox-owlsam:1.0.1
|
||||
container_name: owlsam
|
||||
ports:
|
||||
- 10582:8080
|
||||
env_file: .env
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
devices:
|
||||
- driver: nvidia
|
||||
count: all
|
||||
capabilities:
|
||||
- gpu
|
||||
restart: always
|
||||
runtime: nvidia
|
||||
x-dockge:
|
||||
urls:
|
||||
- http://local.citory.tech:10582
|
||||
Reference in New Issue
Block a user