Refactor openwebui.yml to expose OPEN_WEBUI_PORT environment variable

This commit is contained in:
2024-06-10 15:52:03 +08:00
parent bbf07c84c5
commit aad0ed4146
+2
View File
@@ -12,6 +12,8 @@ services:
- ENABLE_OLLAMA_API=${ENABLE_OLLAMA_API:-false}
volumes:
- /var/data/open-webui:/app/backend/data
expose:
- ${OPEN_WEBUI_PORT:-8080}
networks:
- traefik-public
deploy: