mirror of
https://gitlab.sectorq.eu/home/docker-compose.git
synced 2025-12-14 18:34:53 +01:00
build
This commit is contained in:
3
__swarm/ollama/.env
Executable file
3
__swarm/ollama/.env
Executable file
@@ -0,0 +1,3 @@
|
||||
APPNAME=nextcloud
|
||||
RESTART=always
|
||||
DOCKER_REGISTRY=r.sectorq.eu/library/
|
||||
19
__swarm/ollama/docker-compose.yml
Executable file
19
__swarm/ollama/docker-compose.yml
Executable file
@@ -0,0 +1,19 @@
|
||||
services:
|
||||
ollama:
|
||||
image: ${DOCKER_REGISTRY:-}ollama/ollama:rocm
|
||||
container_name: ollama
|
||||
restart: ${RESTART:-unless-stopped}
|
||||
devices:
|
||||
- "/dev/kfd"
|
||||
- "/dev/dri"
|
||||
volumes:
|
||||
- ollama_models:/root/.ollama
|
||||
environment:
|
||||
- HSA_OVERRIDE_GFX_VERSION=11.0.0
|
||||
ports:
|
||||
- "11434:11434"
|
||||
dns:
|
||||
- "8.8.8.8"
|
||||
|
||||
volumes:
|
||||
ollama_models:
|
||||
Reference in New Issue
Block a user