From c4aff805669debebce3021a95e1123fa5f1b8d8f Mon Sep 17 00:00:00 2001 From: jaydee Date: Tue, 18 Nov 2025 16:57:18 +0100 Subject: [PATCH] alias --- ollama/.env | 3 +++ ollama/docker-compose.yml | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100755 ollama/.env diff --git a/ollama/.env b/ollama/.env new file mode 100755 index 0000000..718679f --- /dev/null +++ b/ollama/.env @@ -0,0 +1,3 @@ +APPNAME=nextcloud +RESTART=always +DOCKER_REGISTRY=r.sectorq.eu/library/ \ No newline at end of file diff --git a/ollama/docker-compose.yml b/ollama/docker-compose.yml index 5398ddb..289b0c1 100755 --- a/ollama/docker-compose.yml +++ b/ollama/docker-compose.yml @@ -1,8 +1,8 @@ services: ollama: - image: ollama/ollama:rocm + image: ${DOCKER_REGISTRY:-}ollama/ollama:rocm container_name: ollama - restart: unless-stopped + restart: ${RESTART:-unless-stopped} devices: - "/dev/kfd" - "/dev/dri"