2023-08-27 08:16:36 -04:00
|
|
|
version: '3.9'
|
2019-01-16 09:20:15 -05:00
|
|
|
|
|
|
|
services:
|
2023-08-24 16:30:06 -04:00
|
|
|
archivebox:
|
|
|
|
build: .
|
2023-08-25 05:58:12 -04:00
|
|
|
command: server --debug --reload --quick-init 0.0.0.0:8000
|
2023-08-24 16:30:06 -04:00
|
|
|
ports:
|
|
|
|
- 8000:8000
|
2023-08-27 08:16:36 -04:00
|
|
|
volumes:
|
|
|
|
- ./data:/data
|
|
|
|
- ./archivebox:/app/archivebox
|
2023-08-29 07:27:11 -04:00
|
|
|
- ./public:/app/public
|
2023-08-24 16:30:06 -04:00
|
|
|
environment:
|
|
|
|
- ALLOWED_HOSTS=*
|
2024-01-03 17:35:21 -05:00
|
|
|
- CHECK_SSL_VALIDITY=True
|
2023-08-24 16:30:06 -04:00
|
|
|
- MEDIA_MAX_SIZE=750m
|
2024-01-03 17:35:21 -05:00
|
|
|
- TIMEOUT=60
|
|
|
|
# Access control
|
|
|
|
- PUBLIC_INDEX=True
|
|
|
|
- PUBLIC_SNAPSHOTS=True
|
|
|
|
- PUBLIC_ADD_VIEW=False
|
2023-11-01 16:21:36 -04:00
|
|
|
# Admin
|
|
|
|
- ADMIN_USERNAME=admin
|
|
|
|
- ADMIN_PASSWORD=SomeSecretPassword
|
2023-08-27 07:59:58 -04:00
|
|
|
# Fix permissions
|
|
|
|
- PUID=1000
|
|
|
|
- PGID=1000
|
2023-08-29 09:32:44 -04:00
|
|
|
# Previews with fallbacks
|
|
|
|
- PREVIEW_ARCHIVE_DOT_ORG=True
|
|
|
|
- PREVIEW_ORIGINALS=True
|
|
|
|
# Previews without fallbacks
|
|
|
|
- PREVIEW_MEDIA=False
|
|
|
|
- PREVIEW_GIT=False
|
2023-08-25 03:56:46 -04:00
|
|
|
# Extractors
|
2023-08-24 16:30:06 -04:00
|
|
|
- USE_GIT=False
|
2023-08-28 15:39:34 -04:00
|
|
|
- USE_YOUTUBEDL=False
|
2023-08-24 16:30:06 -04:00
|
|
|
- SAVE_ARCHIVE_DOT_ORG=False
|
2023-08-28 15:39:34 -04:00
|
|
|
- SAVE_MEDIA=False
|
|
|
|
- SAVE_GIT=False
|