commit b7559ad887c6195adf842bbc937040a7a8a6297b Author: Gabriel Carneiro Date: Thu Feb 27 10:20:24 2025 -0300 initial commit 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