56 lines
1.9 KiB
Bash
56 lines
1.9 KiB
Bash
# Silo Docker deployment
|
|
# For the default docker compose setup, MEDIA_ROOT is the main value you need to set.
|
|
|
|
# Required for docker compose: host path to your media library.
|
|
# Example: MEDIA_ROOT=/srv/media
|
|
MEDIA_ROOT=/srv/media
|
|
|
|
# Container path where Silo sees MEDIA_ROOT. New installs can keep /mnt/media.
|
|
# Continuum migrations should set this to the old in-container library path if
|
|
# existing library records use that path.
|
|
MEDIA_CONTAINER_ROOT=/mnt/media
|
|
|
|
# Recommended server data root for bind mounts.
|
|
SILO_DATA_ROOT=/opt/silo
|
|
|
|
# Published application image. Override to pin a specific tag if needed.
|
|
SILO_IMAGE=ghcr.io/silo-server/silo-server:latest
|
|
|
|
# Quick-start bundled PostgreSQL settings used by docker-compose.yml.
|
|
POSTGRES_USER=silo
|
|
POSTGRES_PASSWORD=silo
|
|
POSTGRES_DB=silo
|
|
POSTGRES_SHM_SIZE=8gb
|
|
|
|
# PostgreSQL auto-tuning is enabled by default in docker-compose.yml. Silo
|
|
# applies pgtune-style OLTP recommendations through ALTER SYSTEM at startup.
|
|
# Set POSTGRES_TUNE=off if you manage PostgreSQL tuning yourself.
|
|
# POSTGRES_TUNE=off
|
|
# POSTGRES_TUNE_PROFILE=oltp
|
|
# POSTGRES_TUNE_MEMORY=auto
|
|
# POSTGRES_TUNE_MEMORY_BUDGET_PERCENT=75
|
|
# POSTGRES_TUNE_CPUS=auto
|
|
# POSTGRES_TUNE_STORAGE=ssd
|
|
# POSTGRES_TUNE_DB_SIZE=auto
|
|
# POSTGRES_TUNE_CONNECTIONS=100
|
|
|
|
# Optional host port overrides for docker-compose.yml.
|
|
# PORT=8090
|
|
# JF_PORT=8096
|
|
# PROXY_PORT=8083
|
|
# TRANSCODE_PORT=8082
|
|
|
|
# Run from source / advanced overrides
|
|
# Only DATABASE_URL is required when running Silo outside the default docker compose stack.
|
|
# DATABASE_URL=postgres://silo:password@localhost:5432/silo
|
|
|
|
# Optional Redis override when running from source or pointing workers at an external Redis.
|
|
# REDIS_URL=redis://localhost:6379
|
|
|
|
# Optional standalone worker identity settings for docker-compose.remote-transcode.yml.
|
|
# NODE_NAME=transcode-01
|
|
# NODE_URL=http://transcode-01.example.com:8082
|
|
|
|
# Optional server mode override for source runs or standalone worker nodes.
|
|
# MODE=integrated
|