mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 17:16:00 +03:00
[GH-ISSUE #917] Question: How to set up scheduler: container in docker-compose.yml #570
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#570
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 @akhilleusuggo on GitHub (Jan 26, 2022).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/917
I'm not sure if it's bug or I'm missing something here.
Using docker-compose , rpi4
The singlefile is not working, I've seen that on other issue.
But the feature that pulls new links featured as example on the docker-compose.yml is not working.
github.com/ArchiveBox/ArchiveBox@663918a372/docker-compose.yml (L48)Removing the
schedulerdoesn't work, since you end with multiple command sections. Tried this solution https://stackoverflow.com/questions/30063907/using-docker-compose-how-to-execute-multiple-commands but no luck.PS: Maybe I'm just not catching the idea of it, since it seems that we're trying to run a separate container for the schedule feature.
@darkstar commented on GitHub (Jan 29, 2022):
Your indenting is incorrect. The
schedulertag should not be underarchiveboxbut at the same level with it@akhilleusuggo commented on GitHub (Jan 29, 2022):
Do you mind an example? I'm still not getting it.
Maybe the docker-compose should be updated with your solution. Because the way it is now is not working.
@darkstar commented on GitHub (Jan 30, 2022):
Your file is not confirming to the required YAML schema. It even tells you that it reads the
schedulertag as config option forservices.archivebox, when instead it should be a separate service. So you should write it like this:instead of this
@akhilleusuggo commented on GitHub (Jan 31, 2022):
Thank you!