chore: comments added to compose

This commit is contained in:
Timothy J. Baek 2023-11-22 13:24:53 -08:00
parent cfb3f307b4
commit d36364f80b

View file

@ -22,6 +22,8 @@ services:
restart: unless-stopped restart: unless-stopped
image: ollama/ollama:latest image: ollama/ollama:latest
# Uncomment below for WIP: Auth support
# ollama-webui-db: # ollama-webui-db:
# image: mongo # image: mongo
# container_name: ollama-webui-db # container_name: ollama-webui-db
@ -41,11 +43,13 @@ services:
container_name: ollama-webui container_name: ollama-webui
depends_on: depends_on:
- ollama - ollama
# Uncomment below for WIP: Auth support
# - ollama-webui-db # - ollama-webui-db
ports: ports:
- 3000:8080 - 3000:8080
environment: environment:
- "OLLAMA_API_BASE_URL=http://ollama:11434/api" - "OLLAMA_API_BASE_URL=http://ollama:11434/api"
# Uncomment below for WIP: Auth support
# - "WEBUI_AUTH=TRUE" # - "WEBUI_AUTH=TRUE"
# - "WEBUI_DB_URL=mongodb://root:example@ollama-webui-db:27017/" # - "WEBUI_DB_URL=mongodb://root:example@ollama-webui-db:27017/"
# - "WEBUI_JWT_SECRET_KEY=SECRET_KEY" # - "WEBUI_JWT_SECRET_KEY=SECRET_KEY"