mirror of
https://github.com/vndangkhoa/Sys-Arc-Visl.git
synced 2026-04-05 01:17:57 +07:00
chore: configure OLLAMA_ORIGINS for CORS support
This commit is contained in:
parent
ff6e1ebeda
commit
c10ca433e4
1 changed files with 3 additions and 0 deletions
|
|
@ -7,9 +7,11 @@ services:
|
|||
restart: always
|
||||
ports:
|
||||
- "8338:80"
|
||||
# Optional if you want to have Ollama running in a container
|
||||
depends_on:
|
||||
- ollama
|
||||
|
||||
# Optional if you want to have Ollama running in a container
|
||||
ollama:
|
||||
image: ollama/ollama:latest
|
||||
container_name: ollama-service
|
||||
|
|
@ -20,6 +22,7 @@ services:
|
|||
- ./ollama_data:/root/.ollama
|
||||
environment:
|
||||
- OLLAMA_KEEP_ALIVE=24h
|
||||
- OLLAMA_ORIGINS="*"
|
||||
# NVIDIA GPU Support Configuration
|
||||
deploy:
|
||||
resources:
|
||||
|
|
|
|||
Loading…
Reference in a new issue