mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-26 01:26:00 +03:00
[GH-ISSUE #1262] Can't get ArchiveBox running with Pihole #775
Labels
No labels
expected: maybe someday
expected: next release
expected: release after next
expected: unlikely unless contributed
good first ticket
help wanted
pull-request
scope: all users
scope: windows users
size: easy
size: hard
size: medium
size: medium
status: backlog
status: blocked
status: done
status: idea-phase
status: needs followup
status: wip
status: wontfix
touches: API/CLI/Spec
touches: configuration
touches: data/schema/architecture
touches: dependencies/packaging
touches: docs
touches: js
touches: views/replayers/html/css
why: correctness
why: functionality
why: performance
why: security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ArchiveBox#775
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @firyx on GitHub (Nov 3, 2023).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1262
Describe the bug
Steps to reproduce
docker-compose.ymlfiledocker-compose.ymluncommentservices.archivebox.dnsservices.pihole...docker compose run archivebox init --setupdocker compose up -dRunning shell inside archivebox container I can wget the
pihole/adminpage => so the archivebox container should see the Pihole container.Screenshots or log output
Snippet from ArchiveBox logs:
Pihole log:
ArchiveBox version
Question
docker-compose.yml?@pirate commented on GitHub (Nov 3, 2023):
If you log into the pihole admin dashboard, can you verify that it's allowing connections from "all networks" / "all interfaces"?
Pihole in docker is bad at detecting that requests coming from the Docker subnet are local.
I also recommend trying the latest 0.7.0 docker image, there are lots of improvements and fixes.
@firyx commented on GitHub (Nov 3, 2023):
So, I have pulled latest
archivebox/archivebox:devimage:Deleted all persistent folders (
data,etc) to start fresh.Set Pihole to
Permit all origins(Pihole seems to have a newer UI than your screenshot above, it looks like this: https://docs.pi-hole.net/ftldns/interfaces/).But when I do wget from archivebox container the domain is still not resolved:
@pirate commented on GitHub (Nov 3, 2023):
Hmm strange, maybe docker DNS requires a static IP, can you try this:
docker-compose.yml:@firyx commented on GitHub (Nov 6, 2023):
Ok, thanks, made it finally working, needed to add the network also to archivebox service.
For the record, working
docker-compose.ymllooks this way: