30 lines
715 B
YAML
30 lines
715 B
YAML
version: '3.9'
|
|
|
|
services:
|
|
archivebox:
|
|
build: .
|
|
command: server --debug --reload --quick-init 0.0.0.0:8000
|
|
ports:
|
|
- 8000:8000
|
|
volumes:
|
|
- ./data:/data
|
|
- ./archivebox:/app/archivebox
|
|
- ./public:/app/public
|
|
environment:
|
|
- ALLOWED_HOSTS=*
|
|
- MEDIA_MAX_SIZE=750m
|
|
# Fix permissions
|
|
- PUID=1000
|
|
- PGID=1000
|
|
# Previews with fallbacks
|
|
- PREVIEW_ARCHIVE_DOT_ORG=True
|
|
- PREVIEW_ORIGINALS=True
|
|
# Previews without fallbacks
|
|
- PREVIEW_MEDIA=False
|
|
- PREVIEW_GIT=False
|
|
# Extractors
|
|
- USE_GIT=False
|
|
- USE_YOUTUBEDL=False
|
|
- SAVE_ARCHIVE_DOT_ORG=False
|
|
- SAVE_MEDIA=False
|
|
- SAVE_GIT=False
|