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.
This commit is contained in:
Jarian Cottingham 2026-01-31 23:22:46 -06:00
parent c6f3cb3e65
commit 5e52142909

View File

@ -1,15 +1,4 @@
services:
scraper:
build: ./scraper
platform: linux/amd64
container_name: stockdocs-scraper
restart: unless-stopped
networks:
- ainetwork
volumes:
- ./scraper/articles:/app/articles
environment:
- FEED_FILE=rss_feeds.json
flask-app:
build: ./MCPServer
platform: linux/amd64
@ -21,6 +10,19 @@ services:
- "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