From b04e92681093faf5bfc90dd4a8a31c0c7778e7b7 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Wed, 29 Jul 2020 19:48:56 -0400 Subject: [PATCH] Add archivebox foreground scheduler to docker compose examples --- docker-compose.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index d7b0bbab..a4c9f1e2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -25,8 +25,19 @@ services: - ./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 # nginx: # image: nginx:alpine @@ -37,7 +48,7 @@ services: # - ./etc/nginx/nginx.conf:/etc/nginx/nginx.conf # - ./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: # image: linuxserver/wireguard # network_mode: 'service:archivebox'