Initial commit

This commit is contained in:
2023-06-14 12:34:50 +02:00
parent edf2f346b7
commit ac10b43a8a
18 changed files with 466 additions and 0 deletions

View File

@ -0,0 +1,22 @@
# Usage:
# docker-compose run archivebox init --setup
# docker-compose up
# echo "https://example.com" | docker-compose run archivebox archivebox add
# docker-compose run archivebox add --depth=1 https://example.com/some/feed.rss
# docker-compose run archivebox config --set PUBLIC_INDEX=True
# docker-compose run archivebox help
# Documentation:
# https://github.com/ArchiveBox/ArchiveBox/wiki/Docker#docker-compose
version: '2.4'
services:
archivebox:
image: ${DOCKER_IMAGE:-archivebox/archivebox:dev}
command: server --quick-init 0.0.0.0:8000
ports:
- 8600:8000
environment:
- ALLOWED_HOSTS=* # add any config options you want as env vars
- MEDIA_MAX_SIZE=750m
volumes:
- /srv/dev-disk-by-uuid-cda15581-b397-4ab7-8698-acea81fc1e9c/archivebox/data:/data
restart: unless-stopped