mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2024-11-10 06:34:16 +00:00
add archiving through VPN example to docker-compose
This commit is contained in:
parent
e08fa654a3
commit
83bfc580fa
1 changed files with 28 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue