Skip to content

Commit 78b5053

Browse files
committed
add archivebox
1 parent 1d106f8 commit 78b5053

File tree

3 files changed

+53
-0
lines changed

3 files changed

+53
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@ A collection of delicious docker recipes.
281281

282282
## 3rd-party (sorted by basename)
283283

284+
- [x] archivebox/archivebox
284285
- [x] docker.bintray.io/jfrog/artifactory-oss
285286
- [x] tutum/builder
286287
- [x] browserless/chrome

archivebox/README.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
archivebox
2+
==========
3+
4+
[ArchiveBox][1] is a powerful self-hosted internet archiving solution written
5+
in Python. You feed it URLs of pages you want to archive, and it saves them to
6+
disk in a variety of formats depending on setup and content within.
7+
8+
[1]: https://github.com/ArchiveBox/ArchiveBox

archivebox/docker-compose.yml

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
#
2+
# Usage:
3+
# docker-compose up -d
4+
# docker-compose run --rm archivebox init
5+
# docker-compose run --rm archivebox manage createsuperuser
6+
# docker-compose run --rm archivebox add 'https://example.com'
7+
# docker-compose run --rm archivebox add --depth=1 https://example.com/some/feed.rss
8+
# docker-compose run --rm archivebox config --set PUBLIC_INDEX=True
9+
#
10+
# Documentation:
11+
# https://github.com/ArchiveBox/ArchiveBox/wiki/Docker#docker-compose
12+
#
13+
14+
version: "3.8"
15+
16+
services:
17+
18+
archivebox:
19+
image: archivebox/archivebox
20+
command: server 0.0.0.0:8000
21+
ports:
22+
- "8000:8000"
23+
environment:
24+
- USE_COLOR=True
25+
- SHOW_PROGRESS=False
26+
- SEARCH_BACKEND_ENGINE=sonic
27+
- SEARCH_BACKEND_HOST_NAME=sonic
28+
- SEARCH_BACKEND_PASSWORD=SecretPassword
29+
volumes:
30+
- ./data/archivebox:/data
31+
depends_on:
32+
- sonic
33+
restart: unless-stopped
34+
35+
sonic:
36+
image: valeriansaliou/sonic:v1.3.0
37+
ports:
38+
- "1491:1491"
39+
environment:
40+
- SEARCH_BACKEND_PASSWORD=SecretPassword
41+
volumes:
42+
- ./data/sonic/config.cfg:/etc/sonic.cfg
43+
- ./data/archivebox:/var/lib/sonic/store/
44+
restart: unless-stopped

0 commit comments

Comments
 (0)