mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-09 12:21:57 -04:00
Update docker-compose.yml minor tweaks
Some checks failed
Build Debian package / build (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
Deploy static content to Pages / deploy (push) Has been cancelled
Build Homebrew package / build (push) Has been cancelled
Build GitHub Pages website / build (push) Has been cancelled
Run linters / lint (push) Has been cancelled
Build Pip package / build (push) Has been cancelled
Run tests / python_tests (ubuntu-22.04, 3.11) (push) Has been cancelled
Run tests / docker_tests (push) Has been cancelled
Build GitHub Pages website / deploy (push) Has been cancelled
Some checks failed
Build Debian package / build (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
Deploy static content to Pages / deploy (push) Has been cancelled
Build Homebrew package / build (push) Has been cancelled
Build GitHub Pages website / build (push) Has been cancelled
Run linters / lint (push) Has been cancelled
Build Pip package / build (push) Has been cancelled
Run tests / python_tests (ubuntu-22.04, 3.11) (push) Has been cancelled
Run tests / docker_tests (push) Has been cancelled
Build GitHub Pages website / deploy (push) Has been cancelled
This commit is contained in:
parent
6edcac6a40
commit
12f109b1be
1 changed files with 8 additions and 7 deletions
|
@ -1,10 +1,11 @@
|
||||||
# Usage:
|
# Usage:
|
||||||
|
# mkdir -p ~/archivebox/data && cd ~/archivebox
|
||||||
# curl -fsSL 'https://docker-compose.archivebox.io' > docker-compose.yml
|
# curl -fsSL 'https://docker-compose.archivebox.io' > docker-compose.yml
|
||||||
# docker compose up
|
|
||||||
# docker compose run archivebox version
|
# docker compose run archivebox version
|
||||||
# docker compose run -T archivebox add < urls_to_archive.txt
|
|
||||||
# docker compose run archivebox add --depth=1 'https://news.ycombinator.com'
|
|
||||||
# docker compose run archivebox config --set SAVE_ARCHIVE_DOT_ORG=False
|
# docker compose run archivebox config --set SAVE_ARCHIVE_DOT_ORG=False
|
||||||
|
# docker compose run archivebox add --depth=1 'https://news.ycombinator.com'
|
||||||
|
# docker compose run -T archivebox add < bookmarks.txt
|
||||||
|
# docker compose up -d && open 'https://localhost:8000'
|
||||||
# docker compose run archivebox help
|
# docker compose run archivebox help
|
||||||
# Documentation:
|
# Documentation:
|
||||||
# https://github.com/ArchiveBox/ArchiveBox/wiki/Docker#docker-compose
|
# https://github.com/ArchiveBox/ArchiveBox/wiki/Docker#docker-compose
|
||||||
|
@ -20,8 +21,8 @@ services:
|
||||||
environment:
|
environment:
|
||||||
# - ADMIN_USERNAME=admin # creates an admin user on first run with the given user/pass combo
|
# - ADMIN_USERNAME=admin # creates an admin user on first run with the given user/pass combo
|
||||||
# - ADMIN_PASSWORD=SomeSecretPassword
|
# - ADMIN_PASSWORD=SomeSecretPassword
|
||||||
- CSRF_TRUSTED_ORIGINS=https://archivebox.example.com # REQUIRED for auth, REST API, etc. to work
|
- ALLOWED_HOSTS=* # set this to the hostname(s) you're going to serve the site from!
|
||||||
- ALLOWED_HOSTS=* # set this to the hostname(s) from your CSRF_TRUSTED_ORIGINS
|
- CSRF_TRUSTED_ORIGINS=http://localhost:8000 # you MUST set this to the server's URL for admin login and the REST API to work
|
||||||
- PUBLIC_INDEX=True # set to False to prevent anonymous users from viewing snapshot list
|
- PUBLIC_INDEX=True # set to False to prevent anonymous users from viewing snapshot list
|
||||||
- PUBLIC_SNAPSHOTS=True # set to False to prevent anonymous users from viewing snapshot content
|
- PUBLIC_SNAPSHOTS=True # set to False to prevent anonymous users from viewing snapshot content
|
||||||
- PUBLIC_ADD_VIEW=False # set to True to allow anonymous users to submit new URLs to archive
|
- PUBLIC_ADD_VIEW=False # set to True to allow anonymous users to submit new URLs to archive
|
||||||
|
@ -29,8 +30,8 @@ services:
|
||||||
- SEARCH_BACKEND_HOST_NAME=sonic
|
- SEARCH_BACKEND_HOST_NAME=sonic
|
||||||
- SEARCH_BACKEND_PASSWORD=SomeSecretPassword
|
- SEARCH_BACKEND_PASSWORD=SomeSecretPassword
|
||||||
# - PUID=911 # set to your host user's UID & GID if you encounter permissions issues
|
# - PUID=911 # set to your host user's UID & GID if you encounter permissions issues
|
||||||
# - PGID=911 # UID/GIDs <500 may clash with existing users and are not recommended
|
# - PGID=911 # UID/GIDs lower than 500 may clash with system uids and are not recommended
|
||||||
# For options below, it's better to set using `docker compose run archivebox config --set SOME_KEY=someval` instead of setting here:
|
# For options below, it's better to set in data/ArchiveBox.conf or use `docker compose run archivebox config --set SOME_KEY=someval` instead of setting here:
|
||||||
# - MEDIA_MAX_SIZE=750m # increase this filesize limit to allow archiving larger audio/video files
|
# - MEDIA_MAX_SIZE=750m # increase this filesize limit to allow archiving larger audio/video files
|
||||||
# - TIMEOUT=60 # increase this number to 120+ seconds if you see many slow downloads timing out
|
# - TIMEOUT=60 # increase this number to 120+ seconds if you see many slow downloads timing out
|
||||||
# - CHECK_SSL_VALIDITY=True # set to False to disable strict SSL checking (allows saving URLs w/ broken certs)
|
# - CHECK_SSL_VALIDITY=True # set to False to disable strict SSL checking (allows saving URLs w/ broken certs)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue