1
0
Fork 0
mirror of synced 2024-06-02 10:34:43 +12:00

Merge pull request #1159 from ArchiveBox/pirate-patch-1

This commit is contained in:
Nick Sweeting 2023-06-13 05:49:58 -07:00 committed by GitHub
commit 0e0b06bef1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,16 +13,16 @@ version: '2.4' # '3.9' or greater also works
services: services:
archivebox: archivebox:
# build: . # for developers working on archivebox # build: . # for developers working on archivebox
image: ${DOCKER_IMAGE:-archivebox/archivebox:master} image: ${DOCKER_IMAGE:-archivebox/archivebox:dev}
command: server --quick-init 0.0.0.0:8000 command: server --quick-init 0.0.0.0:8000
ports: ports:
- 8000:8000 - 8000:8000
environment: environment:
- ALLOWED_HOSTS=* # add any config options you want as env vars - ALLOWED_HOSTS=* # add any ArchiveBox config options you want as env vars
- MEDIA_MAX_SIZE=750m - MEDIA_MAX_SIZE=750m
# - SEARCH_BACKEND_ENGINE=sonic # uncomment these if you enable sonic below # - SEARCH_BACKEND_ENGINE=sonic # uncomment these if you enable sonic for better full-text search below
# - SEARCH_BACKEND_HOST_NAME=sonic # - SEARCH_BACKEND_HOST_NAME=sonic
# - SEARCH_BACKEND_PASSWORD=SecretPassword # - SEARCH_BACKEND_PASSWORD=SomeSecretPassword
# dns: # uncomment to use pihole below for ad/tracker blocking during archiving # dns: # uncomment to use pihole below for ad/tracker blocking during archiving
# - pihole # - pihole
volumes: volumes:
@ -37,11 +37,11 @@ services:
# 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.1 # image: valeriansaliou/sonic:latest
# expose: # expose:
# - 1491 # - 1491
# environment: # environment:
# - SEARCH_BACKEND_PASSWORD=SecretPassword # - SEARCH_BACKEND_PASSWORD=SomeSecretPassword
# volumes: # volumes:
# - ./sonic.cfg:/etc/sonic.cfg:ro # - ./sonic.cfg:/etc/sonic.cfg:ro
# - ./data/sonic:/var/lib/sonic/store # - ./data/sonic:/var/lib/sonic/store
@ -64,9 +64,9 @@ services:
### 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: # archivebox_scheduled_rss_task:
# image: archivebox/archivebox:latest # image: ${DOCKER_IMAGE:-archivebox/archivebox:dev}
# 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/SOME_USERNAME/feed/all'
# environment: # environment:
# - USE_COLOR=True # - USE_COLOR=True
# - SHOW_PROGRESS=False # - SHOW_PROGRESS=False
@ -89,7 +89,7 @@ services:
### 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:latest
# network_mode: 'service:archivebox' # network_mode: 'service:archivebox'
# cap_add: # cap_add:
# - NET_ADMIN # - NET_ADMIN