Pin DNS to 1.1.1.1/8.8.8.8 in docker-compose

Chromium in the container was failing with ERR_INTERNET_DISCONNECTED
when navigating to Reddit. Override container DNS to public resolvers
so the browser can reach reddit.com / chat.reddit.com.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
jjbruntonandClaude Opus 4.7 committed 2026-05-22 19:00:01 +01:00
1 parent 9389c6258a
commit 90d81b840f
1 file changed
+3
+3
View File
@@ -5,6 +5,9 @@ services:
build: .
container_name: reddit-bot
restart: unless-stopped
dns:
- 1.1.1.1
- 8.8.8.8
# Mount the data directory to persist the database and browser session
volumes:
- ./data:/app/data