1
0
Fork 0
mirror of synced 2024-06-29 19:41:05 +12:00

cleanup example configs

This commit is contained in:
Nick Sweeting 2022-03-22 20:55:17 -04:00 committed by GitHub
parent 0ec5ba0595
commit d268513877
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,9 +32,10 @@ services:
### Optional Addons: tweak these examples as needed for your specific use case ### Optional Addons: tweak these examples as needed for your specific use case
# To run the Sonic full-text search backend, first download the config file to sonic.cfg ### Example: To run the Sonic full-text search backend, first download the config file to sonic.cfg
# curl -O https://raw.githubusercontent.com/ArchiveBox/ArchiveBox/master/etc/sonic.cfg # curl -O https://raw.githubusercontent.com/ArchiveBox/ArchiveBox/master/etc/sonic.cfg
# after starting, backfill any existing Snapshots into the index: docker-compose run archivebox update --index-only # after starting, backfill any existing Snapshots into the index: docker-compose run archivebox update --index-only
# sonic: # sonic:
# image: valeriansaliou/sonic:v1.3.0 # image: valeriansaliou/sonic:v1.3.0
# expose: # expose:
@ -45,7 +46,10 @@ services:
# - ./sonic.cfg:/etc/sonic.cfg:ro # - ./sonic.cfg:/etc/sonic.cfg:ro
# - ./data/sonic:/var/lib/sonic/store # - ./data/sonic:/var/lib/sonic/store
# To run pihole in order to block ad/tracker requests during archiving, uncomment this block and set up pihole using its admin interface
### Example: To run pihole in order to block ad/tracker requests during archiving,
# uncomment this block and set up pihole using its admin interface
# pihole: # pihole:
# image: pihole/pihole:latest # image: pihole/pihole:latest
# ports: # ports:
@ -56,8 +60,10 @@ services:
# - ./data/pihole:/etc/pihole # - ./data/pihole:/etc/pihole
# - ./data/dnsmasq:/etc/dnsmasq.d # - ./data/dnsmasq:/etc/dnsmasq.d
# Example: Run scheduled imports in a docker instead of using cron on the
### Example: Run scheduled imports in a docker instead of using cron on the
# host machine, add tasks and see more info with archivebox schedule --help # host machine, add tasks and see more info with archivebox schedule --help
# scheduler: # scheduler:
# image: archivebox/archivebox:latest # image: archivebox/archivebox:latest
# command: schedule --foreground --every=day --depth=1 'https://getpocket.com/users/USERNAME/feed/all' # command: schedule --foreground --every=day --depth=1 'https://getpocket.com/users/USERNAME/feed/all'
@ -67,7 +73,9 @@ services:
# volumes: # volumes:
# - ./data:/data # - ./data:/data
# Example: Put Nginx in front of the ArchiveBox server for SSL termination
### Example: Put Nginx in front of the ArchiveBox server for SSL termination
# nginx: # nginx:
# image: nginx:alpine # image: nginx:alpine
# ports: # ports:
@ -77,7 +85,9 @@ services:
# - ./etc/nginx/nginx.conf:/etc/nginx/nginx.conf # - ./etc/nginx/nginx.conf:/etc/nginx/nginx.conf
# - ./data:/var/www # - ./data:/var/www
# Example: run all your ArchiveBox traffic through a WireGuard VPN tunnel
### Example: run all your ArchiveBox traffic through a WireGuard VPN tunnel
# wireguard: # wireguard:
# image: linuxserver/wireguard # image: linuxserver/wireguard
# network_mode: 'service:archivebox' # network_mode: 'service:archivebox'
@ -91,7 +101,9 @@ services:
# - /lib/modules:/lib/modules # - /lib/modules:/lib/modules
# - ./wireguard.conf:/config/wg0.conf:ro # - ./wireguard.conf:/config/wg0.conf:ro
# Example: Run PYWB in parallel and auto-import WARCs from ArchiveBox
### Example: Run PYWB in parallel and auto-import WARCs from ArchiveBox
# pywb: # pywb:
# image: webrecorder/pywb:latest # image: webrecorder/pywb:latest
# entrypoint: /bin/sh 'wb-manager add default /archivebox/archive/*/warc/*.warc.gz; wayback --proxy;' # entrypoint: /bin/sh 'wb-manager add default /archivebox/archive/*/warc/*.warc.gz; wayback --proxy;'