feat: add .dockerignore and update docker-compose to use .env file
This commit is contained in:
parent
918befe65f
commit
133f95bcaf
|
|
@ -3,7 +3,6 @@ FROM python:3.11-slim
|
|||
ENV PYTHONDONTWRITEBYTECODE=1
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY ./requirements.txt .
|
||||
|
|
|
|||
|
|
@ -4,19 +4,15 @@ services:
|
|||
brunix-engine:
|
||||
build: .
|
||||
container_name: brunix-assistance-engine
|
||||
volumes:
|
||||
- .:/workspace
|
||||
env_file: .env
|
||||
ports:
|
||||
- "50052:50051"
|
||||
environment:
|
||||
- ELASTICSEARCH_URL=http://host.docker.internal:9200
|
||||
- DATABASE_URL=postgresql://postgres:brunix_pass@host.docker.internal:5432/postgres
|
||||
|
||||
- LANGFUSE_HOST=http://45.77.119.180
|
||||
- LANGFUSE_PUBLIC_KEY=${LANGFUSE_PUBLIC_KEY}
|
||||
- LANGFUSE_SECRET_KEY=${LANGFUSE_SECRET_KEY}
|
||||
- LLM_BASE_URL=http://host.docker.internal:11434
|
||||
ELASTICSEARCH_URL: ${ELASTICSEARCH_URL}
|
||||
DATABASE_URL: ${DATABASE_URL}
|
||||
LLM_BASE_URL: ${LLM_BASE_URL}
|
||||
LANGFUSE_HOST: ${LANGFUSE_HOST}
|
||||
LANGFUSE_PUBLIC_KEY: ${LANGFUSE_PUBLIC_KEY}
|
||||
LANGFUSE_SECRET_KEY: ${LANGFUSE_SECRET_KEY}
|
||||
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
|
|
|
|||
Loading…
Reference in New Issue