added env file

This commit is contained in:
dado
2025-11-02 18:36:46 +01:00
parent 640172ca96
commit 065ea39da4
2 changed files with 11 additions and 0 deletions

7
openwebui/.env Normal file
View File

@@ -0,0 +1,7 @@
# For production you should set this to match the proxy configuration (127.0.0.1)
FORWARDED_ALLOW_IPS='127.0.0.1'
# DO NOT TRACK
SCARF_NO_ANALYTICS=true
DO_NOT_TRACK=true
ANONYMIZED_TELEMETRY=false

View File

@@ -5,9 +5,13 @@
services: services:
openwebui: openwebui:
image: ghcr.io/open-webui/open-webui:main image: ghcr.io/open-webui/open-webui:main
mem_limit: 1.5g
cpus: 0.5
ports: ports:
- 127.0.0.1:3022:8080 - 127.0.0.1:3022:8080
volumes: volumes:
- open-webui:/app/backend/data - open-webui:/app/backend/data
env_file:
- .env
volumes: volumes:
open-webui: open-webui: