Fix a bunch of stuff. Add docker compose files to make server config repo obsolete

This commit is contained in:
2024-07-21 22:04:13 -05:00
parent 060d736b24
commit 4c58bc45d0
33 changed files with 872 additions and 51 deletions

View File

@ -0,0 +1,28 @@
version: '3.7'
services:
openwebui:
image: ghcr.io/open-webui/open-webui:main
container_name: openwebui
hostname: openwebui.gib
domainname: ai.${DOMAIN}
networks:
${NETWORK_NAME}:
ipv4_address: ${IP_PREFIX}.12
ports:
- ${OPENWEBUI_PORT}:${OPENWEBUI_PORT}
env_file:
- ../user_variables.env
environment:
- OLLAMA_BASE_URL=${OLLAMA_BASE_URL}
- PORT=${OPENWEBUI_PORT}
- OPENAI_API_KEY=${OPENAI_API_KEY}
- AUTOMATIC1111_BASE_URL=${AUTOMATIC1111_BASE_URL}
- USE_OLLAMA_DOCKER=${USE_OLLAMA_DOCKER}
- USE_CUDA_DOCKER=${USE_CUDA_DOCKER}
volumes:
- ${VOLUME_DIR}/OpenWebUI/Data:/app/backend/data
tty: true
restart: unless-stopped
networks:
${NETWORK_NAME}:
external: true