Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
services:
bot:
build: .
command: uv run python -m src.apps.discord_bot
profiles: ["bot"]
depends_on:
- postgres
env_file: .env
environment:
DATABASE_URL: postgresql+asyncpg://postgres:postgres@postgres:5432/cs_assistant
OLLAMA_URL: http://host.docker.internal:11434
extra_hosts:
- "host.docker.internal:host-gateway"
postgres:
image: pgvector/pgvector:pg17
ports:
Expand All @@ -10,7 +22,6 @@ services:
volumes:
- postgres_data:/var/lib/postgresql/data
- ./docker/postgres-init:/docker-entrypoint-initdb.d:ro

redis:
image: redis/redis-stack-server:latest
ports:
Expand Down
Loading