feat: add .dockerignore and update docker-compose to use .env file

This commit is contained in:
acano 2026-02-17 12:26:22 +01:00
parent 918befe65f
commit 133f95bcaf
4 changed files with 7 additions and 12 deletions

View File

@ -3,7 +3,6 @@ FROM python:3.11-slim
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
WORKDIR /app
COPY ./requirements.txt .

View File

@ -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"

View File

@ -18,5 +18,5 @@ tunnels_up:
compose_up:
bash ./scripts/start-tunnels.sh < /dev/null &
sleep 2
docker compose -f Docker/docker-compose.yaml up -d --build
docker compose -f Docker/docker-compose.yaml --env-file .env up -d --build
@echo "✓ Done!"