|
@@ -1,41 +1,11 @@
|
|
services:
|
|
services:
|
|
- # ollama:
|
|
|
|
- # image: ollama/ollama
|
|
|
|
- # volumes:
|
|
|
|
- # - ollama:/root/.ollama
|
|
|
|
- # - /Users/sherry/Documents/_Personal/ChoozeMo/notebooks/carbon/llm/ollama:/models
|
|
|
|
- # ports:
|
|
|
|
- # - "11434:11434"
|
|
|
|
- # mem_limit: 16g
|
|
|
|
- # cpus: 6
|
|
|
|
-
|
|
|
|
- redis:
|
|
|
|
- image: redis/redis-stack:latest
|
|
|
|
|
|
+ app:
|
|
|
|
+ build: .
|
|
ports:
|
|
ports:
|
|
- - "6379:6379"
|
|
|
|
- - "8001:8001"
|
|
|
|
-
|
|
|
|
-volumes:
|
|
|
|
- ollama:
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-# services:
|
|
|
|
-# ollama:
|
|
|
|
-# image: ollama/ollama
|
|
|
|
-# volumes:
|
|
|
|
-# - ollama:/root/.ollama
|
|
|
|
-# - /Users/sherry/Documents/_Personal/ChoozeMo/notebooks/carbon/llm/ollama:/models
|
|
|
|
-# ports:
|
|
|
|
-# - "11434:11434"
|
|
|
|
-# mem_limit: 16g
|
|
|
|
-# cpus: 6
|
|
|
|
-
|
|
|
|
-# redis:
|
|
|
|
-# image: redis/redis-stack:latest
|
|
|
|
-# ports:
|
|
|
|
-# - "6379:6379"
|
|
|
|
-# - "8001:8001"
|
|
|
|
-
|
|
|
|
-# volumes:
|
|
|
|
-# ollama:
|
|
|
|
|
|
+ - "8000:8000"
|
|
|
|
+ environment:
|
|
|
|
+ - OPENAI_API_KEY=${OPENAI_API_KEY}
|
|
|
|
+ - SUPABASE_URL=${SUPABASE_URL}
|
|
|
|
+ - SUPABASE_KEY=${SUPABASE_KEY}
|
|
|
|
+ volumes:
|
|
|
|
+ - ./Documents:/app/Documents
|