fix deployement script

This commit is contained in:
martin legrand
2025-04-17 12:05:23 +02:00
parent 3d1f42351f
commit 36b26b43c9
8 changed files with 80 additions and 26 deletions
+43 -2
View File
@@ -61,13 +61,54 @@ services:
- ./screenshots:/app/screenshots
environment:
- NODE_ENV=development
- CHOKIDAR_USEPOLLING=true # Ensure file watching works in Docker
- BACKEND_URL=http://host.docker.internal:8000
- CHOKIDAR_USEPOLLING=true
- BACKEND_URL=http://backend:8000
networks:
- agentic-seek-net
backend:
container_name: backend
build:
context: ./
dockerfile: Dockerfile.backend
stdin_open: true
tty: true
shm_size: 6g
ports:
- "8000:8000"
volumes:
- ./:/app
#network_mode: host
environment:
- NODE_ENV=development
- REDIS_URL=redis://redis:6379/0
- SEARXNG_URL=http://searxng:8080
- OLLAMA_URL=http://localhost:11434
- LM_STUDIO_URL=http://localhost:1234
extra_hosts:
- "host.docker.internal:host-gateway"
depends_on:
- redis
- searxng
- selenium
networks:
- agentic-seek-net
selenium:
image: selenium/standalone-chrome
platform: linux/amd64
shm_size: 2g
volumes:
- /dev/shm:/dev/shm
- chrome_profiles:/tmp/chrome
ports:
- 4444:4444
networks:
- agentic-seek-net
volumes:
redis-data:
chrome_profiles:
networks:
agentic-seek-net: