From 38e6fcc1b336296db07af93f4a6d10efea9f90dd Mon Sep 17 00:00:00 2001 From: Aidan Date: Sun, 4 May 2025 00:42:15 -0400 Subject: [PATCH] docker: update docker files for ai/regular versions, lint --- .dockerignore | 2 +- docker-compose.yml.ai.example | 15 +++++++++++++++ docker-compose.yml.example | 9 +++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 docker-compose.yml.ai.example create mode 100644 docker-compose.yml.example diff --git a/.dockerignore b/.dockerignore index 33e390a..a082d1a 100644 --- a/.dockerignore +++ b/.dockerignore @@ -4,4 +4,4 @@ npm-debug.log .gitignore .env *.md -!README.md \ No newline at end of file +!README.md \ No newline at end of file diff --git a/docker-compose.yml.ai.example b/docker-compose.yml.ai.example new file mode 100644 index 0000000..2c516f7 --- /dev/null +++ b/docker-compose.yml.ai.example @@ -0,0 +1,15 @@ +services: + kowalski: + build: . + container_name: kowalski + restart: unless-stopped + volumes: + - ./.env:/usr/src/app/.env:ro + environment: + - NODE_ENV=production + ollama: + image: ollama/ollama + container_name: kowalski-ollama + restart: unless-stopped + volumes: + - ./ollama:/root/.ollama \ No newline at end of file diff --git a/docker-compose.yml.example b/docker-compose.yml.example new file mode 100644 index 0000000..f3bb819 --- /dev/null +++ b/docker-compose.yml.example @@ -0,0 +1,9 @@ +services: + kowalski: + build: . + container_name: kowalski + restart: unless-stopped + volumes: + - ./.env:/usr/src/app/.env:ro + environment: + - NODE_ENV=production \ No newline at end of file