llm_council_prem / docker-compose.yml
LLM Council Deployer
initial push
41f0f2e
version: '3.8'
services:
web:
build: .
command: gunicorn config.wsgi:application --bind 0.0.0.0:8000 --reload
volumes:
- .:/app
ports:
- "8000:8000"
environment:
- DEBUG=1
- SECRET_KEY=dev_secret_key
- DJANGO_ALLOWED_HOSTS=localhost 127.0.0.1 [::1]
- SQL_ENGINE=django.db.backends.postgresql
- SQL_DATABASE=llm_council_db
- SQL_USER=postgres
- SQL_PASSWORD=postgres
- SQL_HOST=db
- SQL_PORT=5432
- REDIS_URL=redis://redis:6379/1
depends_on:
- db
- redis
frontend:
image: node:20-slim
working_dir: /app
volumes:
- .:/app
ports:
- "5173:5173"
command: sh -c "npm install && npm run dev"
db:
image: postgres:15-alpine
volumes:
- postgres_data:/var/lib/postgresql/data/
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=llm_council_db
redis:
image: redis:7-alpine
volumes:
postgres_data: