Docker now auto restarts
This commit is contained in:
parent
c534c5a159
commit
901a4f9f88
@ -3,6 +3,7 @@ services:
|
||||
build: ./scraper
|
||||
platform: linux/amd64
|
||||
container_name: stockdocs-scraper
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- ainetwork
|
||||
volumes:
|
||||
@ -13,6 +14,7 @@ services:
|
||||
build: ./MCPServer
|
||||
platform: linux/amd64
|
||||
container_name: stockdocs-mcp
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- ainetwork
|
||||
ports:
|
||||
@ -23,17 +25,19 @@ services:
|
||||
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
|
||||
- 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:
|
||||
@ -42,7 +46,6 @@ services:
|
||||
- CHROMADB_HOST=chromadb
|
||||
- CHROMADB_PORT=8000
|
||||
|
||||
|
||||
networks:
|
||||
ainetwork:
|
||||
external: true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user