Skip to content

Commit e674732

Browse files
authored
Merge pull request #129 from jonoaustin/fix-supervisordconf
fixed error with persistent browser cmd in supervisord.conf for docke…
2 parents 4cff48a + b2b233d commit e674732

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

supervisord.conf

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ startsecs=3
5858
depends_on=x11vnc
5959

6060
[program:persistent_browser]
61-
command=bash -c 'if [ "%(ENV_CHROME_PERSISTENT_SESSION)s" = "true" ]; then mkdir -p /app/data/chrome_data && sleep 8 && google-chrome --user-data-dir=/app/data/chrome_data --window-position=0,0 --window-size=%(ENV_RESOLUTION_WIDTH)s,%(ENV_RESOLUTION_HEIGHT)s --start-maximized --no-sandbox --disable-dev-shm-usage --disable-gpu --disable-software-rasterizer --disable-setuid-sandbox --no-first-run --no-default-browser-check --no-experiments --ignore-certificate-errors --remote-debugging-port=9222 --remote-debugging-address=0.0.0.0 "data:text/html,<html><body style=\"background: #f0f0f0; margin: 0; display: flex; justify-content: center; align-items: center; height: 100vh; font-family: Arial;\"><h1>Browser Ready for AI Interaction</h1></body></html>"; else echo "Persistent browser disabled"; fi'
61+
command=bash -c 'if [ "%(ENV_CHROME_PERSISTENT_SESSION)s" = "true" ]; then mkdir -p /app/data/chrome_data && sleep 8 && google-chrome --user-data-dir=/app/data/chrome_data --window-position=0,0 --window-size=%(ENV_RESOLUTION_WIDTH)s,%(ENV_RESOLUTION_HEIGHT)s --start-maximized --no-sandbox --disable-dev-shm-usage --disable-gpu --disable-software-rasterizer --disable-setuid-sandbox --no-first-run --no-default-browser-check --no-experiments --ignore-certificate-errors --remote-debugging-port=9222 --remote-debugging-address=0.0.0.0 "data:text/html,<html><body style=\"background: \#f0f0f0; margin: 0; display: flex; justify-content: center; align-items: center; height: 100vh; font-family: Arial;\"><h1>Browser Ready for AI Interaction</h1></body></html>"; else echo "Persistent browser disabled"; fi'
6262
autorestart=%(ENV_CHROME_PERSISTENT_SESSION)s
6363
stdout_logfile=/dev/stdout
6464
stdout_logfile_maxbytes=0
@@ -80,4 +80,4 @@ stderr_logfile_maxbytes=0
8080
priority=400
8181
startretries=3
8282
startsecs=3
83-
depends_on=persistent_browser
83+
depends_on=persistent_browser

0 commit comments

Comments
 (0)