init(*):初始化;使用sun-panel作为前端;使用dockge管理dockercompose

This commit is contained in:
2025-03-17 18:08:23 +08:00
commit d4e1b699c6
49 changed files with 691 additions and 0 deletions

1
ollama/.env Normal file
View File

@@ -0,0 +1 @@
# VARIABLE=value #comment

22
ollama/compose.yaml Normal file
View File

@@ -0,0 +1,22 @@
version: "3.9"
services:
ollama:
image: docker.citory.tech/mirror/ollama/ollama:latest
container_name: ollama
ports:
- 10581:11434
runtime: nvidia
volumes:
- /home/deepgeek/data/data_local/server/ollama:/root/.ollama
environment:
NVIDIA_VISIBLE_DEVICES: all
deploy:
resources:
reservations:
devices:
- capabilities:
- gpu
x-dockge:
urls:
- http://local.citory.tech:10581
networks: {}