Initial commit: Any-LLM Gateway with Laravel Admin Interface

- Any-LLM Gateway setup with Docker Compose
- Laravel 11 admin interface with Livewire
- Dashboard with usage statistics and charts
- Gateway Users management with budget tracking
- API Keys management with revocation
- Budget templates with assignment
- Usage Logs with filtering and CSV export
- Model Pricing management with calculator
- PostgreSQL database integration
- Complete authentication system for admins
This commit is contained in:
wtrinkl
2025-11-16 12:38:05 +01:00
commit b1363aeab9
148 changed files with 23995 additions and 0 deletions

27
Dockerfile Normal file
View File

@@ -0,0 +1,27 @@
FROM python:3.13-slim as base
WORKDIR /app
COPY pyproject.toml ./
COPY src/ ./src/
ARG VERSION=0.0.0+docker
ENV SETUPTOOLS_SCM_PRETEND_VERSION="${VERSION}"
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir .[all,gateway]
RUN useradd -m -u 1000 gateway && \
chown -R gateway:gateway /app
USER gateway
EXPOSE 8000
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
CMD python -c "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')" || exit 1
ENV GATEWAY_HOST=0.0.0.0
ENV GATEWAY_PORT=8000
CMD ["any-llm-gateway", "serve"]