feat: project setup
This commit is contained in:
54
docker-compose.yml
Normal file
54
docker-compose.yml
Normal file
@@ -0,0 +1,54 @@
|
||||
services:
|
||||
# Postgres with pgvector extension
|
||||
db:
|
||||
container_name: speakeasy_db
|
||||
image: pgvector/pgvector:pg18
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
POSTGRES_USER: speakeasy
|
||||
POSTGRES_PASSWORD: speakeasy
|
||||
POSTGRES_DB: speakeasy
|
||||
ports:
|
||||
- "8888:5432"
|
||||
volumes:
|
||||
- pg_data:/var/lib/postgres
|
||||
- ./init:/docker-entrypoint-initdb.d
|
||||
networks:
|
||||
- speakeasy_network
|
||||
|
||||
# RabbitMQ server
|
||||
rabbitmq:
|
||||
container_name: speakeasy_rabbitmq
|
||||
image: rabbitmq:4.2.2-management-alpine
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "5672:5672" # Default port
|
||||
- "15672:15672" # Management port
|
||||
environment:
|
||||
RABBITMQ_DEFAULT_USER: speakeasy
|
||||
RABBITMQ_DEFAULT_PASS: speakeasy
|
||||
volumes:
|
||||
- rabbitmq_data:/var/lib/rabbitmq
|
||||
networks:
|
||||
- speakeasy_network
|
||||
|
||||
# Ollama server
|
||||
ollama:
|
||||
container_name: speakeasy_ollama
|
||||
image: ollama/ollama:latest
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "11434:11434"
|
||||
networks:
|
||||
- speakeasy_network
|
||||
volumes:
|
||||
- ollama_data:/root/.ollama
|
||||
|
||||
|
||||
volumes:
|
||||
pg_data:
|
||||
rabbitmq_data:
|
||||
ollama_data:
|
||||
|
||||
networks:
|
||||
speakeasy_network:
|
||||
Reference in New Issue
Block a user