Add archivebox foreground scheduler to docker compose examples

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

View file

@ -25,8 +25,19 @@ services:
- ./data:/data - ./data:/data
# Optional Addons # Optional Addons: tweak these examples as needed for your specific use case
# 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
# scheduler:
# image: nikisweeting/archivebox:latest
# command: schedule --foreground
# environment:
# - USE_COLOR=True
# - SHOW_PROGRESS=False
# volumes:
# - ./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
@ -37,7 +48,7 @@ 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 # 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'