1
0
Fork 0
mirror of synced 2024-06-22 04:10:30 +12:00
ArchiveBox/docker-compose.yml

47 lines
1.4 KiB
YAML
Raw Normal View History

# Usage:
# docker-compose up -d
2020-07-29 08:14:54 +12:00
# docker-ocmpose run archivebox init
2020-06-26 13:30:29 +12:00
# echo "https://example.com" | docker-compose run archivebox archivebox add
2020-07-29 08:14:54 +12:00
# docker-compose run archivebox add --depth=1 https://example.com/some/feed.rss
# docker-compose run archivebox config --set PUBLIC_INDEX=True
# Documentation:
# https://github.com/pirate/ArchiveBox/wiki/Docker#docker-compose
2020-06-26 09:46:11 +12:00
version: '3.7'
2019-01-17 03:20:15 +13:00
services:
archivebox:
2020-07-29 00:14:50 +12:00
# build: .
image: nikisweeting/archivebox:latest
2020-06-26 13:30:29 +12:00
command: server 0.0.0.0:8000
2019-01-17 03:20:15 +13:00
stdin_open: true
tty: true
2020-07-22 04:16:29 +12:00
ports:
- 8000:8000
2019-01-17 03:20:15 +13:00
environment:
2020-06-26 09:46:11 +12:00
- USE_COLOR=True
2019-01-17 03:20:15 +13:00
- SHOW_PROGRESS=False
2020-07-29 08:14:54 +12:00
# - HTTP_PROXY=http://pywb:8080 COMING SOON!
2019-01-17 03:20:15 +13:00
volumes:
- ./data:/data
# pywb:
# image: webrecorder/pywb:latest
# entrypoint: /bin/sh 'wb-manager add default /archivebox/archive/*/warc/*.warc.gz; wayback --proxy;'
# environment:
# - INIT_COLLECTION=archivebox
# ports:
# - 8080:8080
# volumes:
# ./data:/archivebox
# ./data/wayback:/webarchive
2020-07-22 04:16:29 +12:00
# nginx:
# image: nginx:alpine
# ports:
# - 443:443
# - 80:80
# volumes:
# - ./etc/nginx/nginx.conf:/etc/nginx/nginx.conf
# - ./data:/var/www