Initial commit
This commit is contained in:
22
archivebox/docker-compose.yml
Normal file
22
archivebox/docker-compose.yml
Normal 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
|
Reference in New Issue
Block a user