1
0
Fork 0
mirror of synced 2024-05-18 03:12:51 +12:00

add archiving through VPN example to docker-compose

This commit is contained in:
Nick Sweeting 2020-07-29 18:37:34 -04:00 committed by GitHub
parent e08fa654a3
commit 83bfc580fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,10 +21,37 @@ services:
environment:
- USE_COLOR=True
- SHOW_PROGRESS=False
# - HTTP_PROXY=http://pywb:8080 COMING SOON!
volumes:
- ./data:/data
# Optional Addons
# Example: Put Nginx in front of the ArchiveBox server for SSL termination
# nginx:
# image: nginx:alpine
# ports:
# - 443:443
# - 80:80
# volumes:
# - ./etc/nginx/nginx.conf:/etc/nginx/nginx.conf
# - ./data:/var/www
# Example: run all your ArchiveBox traffic through a WireGuard VPN
# wireguard:
# image: linuxserver/wireguard
# network_mode: 'service:archivebox'
# cap_add:
# - NET_ADMIN
# - SYS_MODULE
# sysctls:
# - net.ipv4.conf.all.rp_filter=2
# - net.ipv4.conf.all.src_valid_mark=1
# volumes:
# - /lib/modules:/lib/modules
# - ./wireguard.conf:/config/wg0.conf:ro
# Example: Run PYWB in parallel and auto-import WARCs from ArchiveBox
# pywb:
# image: webrecorder/pywb:latest
# entrypoint: /bin/sh 'wb-manager add default /archivebox/archive/*/warc/*.warc.gz; wayback --proxy;'
@ -35,12 +62,3 @@ services:
# volumes:
# ./data:/archivebox
# ./data/wayback:/webarchive
# nginx:
# image: nginx:alpine
# ports:
# - 443:443
# - 80:80
# volumes:
# - ./etc/nginx/nginx.conf:/etc/nginx/nginx.conf
# - ./data:/var/www