StockDocs/docker-compose.yml
Jarian Cottingham 5e52142909 Add article server deployment to docker-compose and remove scraper service
Added article-server service to docker-compose.yml that builds from articleServer directory and maps articles volume from /home/user/StockDocs/scraper/articles. Removed the scraper service as it's no longer needed. The article server will now serve articles on port 5008.
2026-01-31 23:22:46 -06:00

55 lines
1.3 KiB
YAML

services:
flask-app:
build: ./MCPServer
platform: linux/amd64
container_name: stockdocs-mcp
restart: unless-stopped
networks:
- ainetwork
ports:
- "5005:5005"
environment:
- FLASK_ENV=development
article-server:
build: ./articleServer
platform: linux/amd64
container_name: stockdocs-article-server
restart: unless-stopped
networks:
- ainetwork
ports:
- "5008:5008"
volumes:
- /home/user/StockDocs/scraper/articles:/app/articles
environment:
- ARTICLE_DIR=/app/articles
# ai_processor:
# build: ./ai_processor
# platform: linux/amd64
# container_name: stockdocs-ai-processor
# restart: unless-stopped
# networks:
# - ainetwork
# volumes:
# - ./scraper/articles:/app/articles
# - ./ai_processor/output:/app/output
# environment:
# - AI_SERVICE_URL=http://192.168.8.124:11434 # Local AI service IP
# embedder:
# build: ./embedding
# platform: linux/amd64
# container_name: stockdocs-embedder
# restart: unless-stopped
# networks:
# - ainetwork
# volumes:
# - ./ai_processor/output:/app/output
# environment:
# - CHROMADB_HOST=chromadb
# - CHROMADB_PORT=8000
networks:
ainetwork:
external: true
name: ainetwork