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:
1 parent
9389c6258a
commit
90d81b840f
1 file changed
+3
@@ -5,6 +5,9 @@ services:
|
|||||||
build: .
|
build: .
|
||||||
container_name: reddit-bot
|
container_name: reddit-bot
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
dns:
|
||||||
|
- 1.1.1.1
|
||||||
|
- 8.8.8.8
|
||||||
# Mount the data directory to persist the database and browser session
|
# Mount the data directory to persist the database and browser session
|
||||||
volumes:
|
volumes:
|
||||||
- ./data:/app/data
|
- ./data:/app/data
|
||||||
|
|||||||
Reference in new issue
Block a user