Move to browserless for scraping and cleanup a few other things
This commit is contained in:
1 parent
f83ed5771b
commit
8514a1e6c3
1 file changed
+42
-13
+42
-13
@@ -14,7 +14,8 @@ services:
|
||||
- /data/secrets/karakeep
|
||||
environment:
|
||||
MEILI_ADDR: http://meilisearch:7700
|
||||
BROWSER_WEB_URL: http://karakeep-chrome:9222
|
||||
# BROWSER_WEB_URL: http://karakeep-chrome:9222
|
||||
BROWSER_WEB_URL: http://karakeep-chrome:3000
|
||||
OLLAMA_BASE_URL: http://ollama:11434 #comma separated ollama hosts
|
||||
INFERENCE_TEXT_MODEL: gemma3
|
||||
INFERENCE_IMAGE_MODEL: llava
|
||||
@@ -32,19 +33,47 @@ services:
|
||||
- karakeep-int
|
||||
- ollama-int
|
||||
karakeep-chrome:
|
||||
image: gcr.io/zenika-hub/alpine-chrome:123
|
||||
image: browserless/chrome:latest
|
||||
restart: unless-stopped
|
||||
command:
|
||||
- --no-sandbox
|
||||
- --disable-gpu
|
||||
- --disable-dev-shm-usage
|
||||
- --remote-debugging-address=0.0.0.0
|
||||
- --remote-debugging-port=9222
|
||||
- --hide-scrollbars
|
||||
environment:
|
||||
- PORT=3000
|
||||
- DEBUG=browserless:*
|
||||
- CONNECTION_TIMEOUT=600000
|
||||
- MAX_CONCURRENT_SESSIONS=5
|
||||
- ENABLE_DEBUGGER=true
|
||||
- DEFAULT_LAUNCH_ARGS=["--no-sandbox","--disable-gpu","--disable-dev-shm-usage","--hide-scrollbars","--remote-allow-origins=*"]
|
||||
networks:
|
||||
- karakeep-int
|
||||
# karakeep-chrome:
|
||||
# image: ghcr.io/karakeep-app/karakeep-chrome:release
|
||||
# restart: unless-stopped
|
||||
# init: true
|
||||
# command:
|
||||
# - --disable-gpu
|
||||
# - --disable-dev-shm-usage
|
||||
# - --hide-scrollbars
|
||||
# - --disable-blink-features=AutomationControlled
|
||||
# - --window-size=1440,900
|
||||
# networks:
|
||||
# - karakeep-int
|
||||
# image: ghcr.io/karakeep-app/karakeep-chrome:release
|
||||
# restart: unless-stopped
|
||||
# init: true
|
||||
# command:
|
||||
# # - --headless
|
||||
# # - --remote-debugging-address=0.0.0.0
|
||||
# - --disable-gpu
|
||||
# - --disable-dev-shm-usage
|
||||
# - --hide-scrollbars
|
||||
# - --disable-blink-features=AutomationControlled
|
||||
# - --window-size=1440,900
|
||||
# networks:
|
||||
# - karakeep-int
|
||||
# ports:
|
||||
# - "9222:9222"
|
||||
# - "9223:9223"
|
||||
meilisearch:
|
||||
image: getmeili/meilisearch:v1.13.3
|
||||
image: getmeili/meilisearch:v1.31.0
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- .env
|
||||
@@ -59,9 +88,9 @@ services:
|
||||
volumes:
|
||||
- .:/code
|
||||
- /data/library/ollama/ollama:/root/.ollama
|
||||
devices:
|
||||
- /dev/dri:/dev/dri
|
||||
- /dev/kfd:/dev/kfd
|
||||
# devices:
|
||||
# - /dev/dri:/dev/dri
|
||||
# - /dev/kfd:/dev/kfd
|
||||
# pull_policy: always
|
||||
tty: true
|
||||
restart: always
|
||||
|
||||
Reference in new issue
Block a user