diff --git a/bin/setup.sh b/bin/setup.sh index 3ca41a29..0dbb97c5 100755 --- a/bin/setup.sh +++ b/bin/setup.sh @@ -27,9 +27,9 @@ if (which docker-compose > /dev/null && docker pull archivebox/archivebox:latest if [ -f "./index.sqlite3" ]; then mv -i ~/archivebox/* ~/archivebox/data/ fi - curl -fsSL 'https://raw.githubusercontent.com/ArchiveBox/ArchiveBox/main/docker-compose.yml' > docker-compose.yml + curl -fsSL 'https://raw.githubusercontent.com/ArchiveBox/ArchiveBox/stable/docker-compose.yml' > docker-compose.yml mkdir -p ./etc - curl -fsSL 'https://raw.githubusercontent.com/ArchiveBox/ArchiveBox/main/etc/sonic.cfg' > ./etc/sonic.cfg + curl -fsSL 'https://raw.githubusercontent.com/ArchiveBox/ArchiveBox/stable/etc/sonic.cfg' > ./etc/sonic.cfg docker compose run --rm archivebox init --setup echo echo "[+] Starting ArchiveBox server using: docker compose up -d..." diff --git a/docker-compose.yml b/docker-compose.yml index 846b3ab7..39aa364c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -48,17 +48,17 @@ services: # $ docker compose restart archivebox_scheduler archivebox_scheduler: - image: archivebox/archivebox:latest - command: schedule --foreground --update --every=day - environment: - - TIMEOUT=120 # use a higher timeout than the main container to give slow tasks more time when retrying - # - PUID=502 # set to your host user's UID & GID if you encounter permissions issues - # - PGID=20 - volumes: - - ./data:/data - # cpus: 2 # uncomment / edit these values to limit scheduler container resource consumption - # mem_limit: 2048m - # restart: always + image: archivebox/archivebox:latest + command: schedule --foreground --update --every=day + environment: + - TIMEOUT=120 # use a higher timeout than the main container to give slow tasks more time when retrying + # - PUID=502 # set to your host user's UID & GID if you encounter permissions issues + # - PGID=20 + volumes: + - ./data:/data + # cpus: 2 # uncomment / edit these values to limit scheduler container resource consumption + # mem_limit: 2048m + # restart: always ### This runs the optional Sonic full-text search backend (much faster than default rg backend). @@ -72,7 +72,7 @@ services: # not needed after first run / if you have already have ./etc/sonic.cfg present dockerfile_inline: | FROM quay.io/curl/curl:latest AS config_downloader - RUN curl -fsSL 'https://raw.githubusercontent.com/ArchiveBox/ArchiveBox/main/etc/sonic.cfg' > /tmp/sonic.cfg + RUN curl -fsSL 'https://raw.githubusercontent.com/ArchiveBox/ArchiveBox/stable/etc/sonic.cfg' > /tmp/sonic.cfg FROM valeriansaliou/sonic:latest COPY --from=config_downloader /tmp/sonic.cfg /etc/sonic.cfg expose: @@ -99,7 +99,7 @@ services: # restricted to access from localhost by default because it has no authentication - 127.0.0.1:8080:8080 - + ### Example: Put Nginx in front of the ArchiveBox server for SSL termination and static file serving. # You can also any other ingress provider for SSL like Apache, Caddy, Traefik, Cloudflare Tunnels, etc. @@ -173,7 +173,7 @@ services: ### Example: run all your ArchiveBox traffic through a WireGuard VPN tunnel to avoid IP blocks. # You can also use any other VPN that works at the docker IP level, e.g. Tailscale, OpenVPN, etc. - + # wireguard: # image: linuxserver/wireguard:latest # network_mode: 'service:archivebox' diff --git a/docs b/docs index a1b69c51..f23abba9 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit a1b69c51ba9b249c0b2a6efd141dbb792fc36ad2 +Subproject commit f23abba9773b67ad9f2fd04d6f2e8e056dfa6521