From b7559ad887c6195adf842bbc937040a7a8a6297b Mon Sep 17 00:00:00 2001 From: Gabriel Carneiro Date: Thu, 27 Feb 2025 10:20:24 -0300 Subject: [PATCH] initial commit --- .env.example | 11 +++++++++++ docker-compose.yml | 20 ++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 .env.example create mode 100644 docker-compose.yml diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..eda883d --- /dev/null +++ b/.env.example @@ -0,0 +1,11 @@ +OLLAMA_BASE_URL='' +ENABLE_LDAP=true +LDAP_SERVER_LABEL='ldapname' +LDAP_SERVER_HOST='openldap.host' +LDAP_SERVER_PORT=389 +LDAP_USE_TLS=false +LDAP_APP_DN='' +LDAP_APP_PASSWORD='' +LDAP_ATTRIBUTE_FOR_USERNAME='' +LDAP_SEARCH_BASE='' +LDAP_SEARCH_FILTERS='' diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..a6130ef --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,20 @@ +services: + webui: + image: ghcr.io/open-webui/open-webui:main + restart: always + env_file: + - .env + volumes: + - open-webui:/app/backend/data + networks: + - traefik-public + labels: + traefik.enable: true + traefik.http.routers.openwebui.rule: Host(`chat.alice.ufsj.edu.br`) + traefik.http.routers.openwebui.entrypoints: websecure + traefik.http.services.openwebui.loadBalancer.server.port: 8080 +volumes: + open-webui: {} +networks: + traefik-public: + external: true