ai-station/docker-compose.yml

47 lines
801 B
YAML

version: '3.8'
services:
chainlit-app:
build: .
ports:
- "8000:8000"
environment:
- CHAINLIT_AUTH_HEADER=X-Email
- OLLAMA_API_BASE=http://192.168.1.243:11434
volumes:
- ./:/app
depends_on:
- qdrant
- postgres
networks:
- ai-station-net
qdrant:
image: qdrant/qdrant:v1.0.0
ports:
- "6333:6333"
volumes:
- qdrant-data:/qdrant/db
networks:
- ai-station-net
postgres:
image: postgres:latest
environment:
POSTGRES_DB: ai_station
POSTGRES_USER: user
POSTGRES_PASSWORD: password
ports:
- "5432:5432"
volumes:
- postgres-data:/var/lib/postgresql
networks:
- ai-station-net
volumes:
qdrant-data:
postgres-data:
networks:
ai-station-net: