1
0
Fork 0
archivebox/docker-compose.yml

39 lines
960 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=*
- CHECK_SSL_VALIDITY=True
- MEDIA_MAX_SIZE=750m
- TIMEOUT=60
# Access control
- PUBLIC_INDEX=True
- PUBLIC_SNAPSHOTS=True
- PUBLIC_ADD_VIEW=False
# Admin
- ADMIN_USERNAME=admin
- ADMIN_PASSWORD=SomeSecretPassword
# 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