mirror of
https://github.com/vimagick/dockerfiles.git
synced 2026-01-03 03:27:27 +01:00
add archivebox
This commit is contained in:
44
archivebox/docker-compose.yml
Normal file
44
archivebox/docker-compose.yml
Normal file
@@ -0,0 +1,44 @@
|
||||
#
|
||||
# Usage:
|
||||
# docker-compose up -d
|
||||
# docker-compose run --rm archivebox init
|
||||
# docker-compose run --rm archivebox manage createsuperuser
|
||||
# docker-compose run --rm archivebox add 'https://example.com'
|
||||
# docker-compose run --rm archivebox add --depth=1 https://example.com/some/feed.rss
|
||||
# docker-compose run --rm archivebox config --set PUBLIC_INDEX=True
|
||||
#
|
||||
# Documentation:
|
||||
# https://github.com/ArchiveBox/ArchiveBox/wiki/Docker#docker-compose
|
||||
#
|
||||
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
|
||||
archivebox:
|
||||
image: archivebox/archivebox
|
||||
command: server 0.0.0.0:8000
|
||||
ports:
|
||||
- "8000:8000"
|
||||
environment:
|
||||
- USE_COLOR=True
|
||||
- SHOW_PROGRESS=False
|
||||
- SEARCH_BACKEND_ENGINE=sonic
|
||||
- SEARCH_BACKEND_HOST_NAME=sonic
|
||||
- SEARCH_BACKEND_PASSWORD=SecretPassword
|
||||
volumes:
|
||||
- ./data/archivebox:/data
|
||||
depends_on:
|
||||
- sonic
|
||||
restart: unless-stopped
|
||||
|
||||
sonic:
|
||||
image: valeriansaliou/sonic:v1.3.0
|
||||
ports:
|
||||
- "1491:1491"
|
||||
environment:
|
||||
- SEARCH_BACKEND_PASSWORD=SecretPassword
|
||||
volumes:
|
||||
- ./data/sonic/config.cfg:/etc/sonic.cfg
|
||||
- ./data/archivebox:/var/lib/sonic/store/
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user