2024-09-08 07:23:38 +00:00
|
|
|
# log-file: "/var/log/ente/museum.log"
|
2024-05-13 15:06:06 +00:00
|
|
|
|
|
|
|
# HTTP connection parameters
|
|
|
|
http:
|
2024-09-10 10:15:39 +00:00
|
|
|
# If true, bind to 443 and use TLS.
|
|
|
|
# By default, this is false, and museum will bind to 8080 without TLS.
|
|
|
|
# use-tls: true
|
2024-05-13 15:06:06 +00:00
|
|
|
|
|
|
|
# Specify the base endpoints for various apps
|
|
|
|
apps:
|
2024-09-10 10:15:39 +00:00
|
|
|
# Default is https://albums.ente.io
|
|
|
|
#
|
|
|
|
# If you're running a self hosted instance and wish to serve public links,
|
|
|
|
# set this to the URL where your albums web app is running.
|
|
|
|
public-albums: https://albums.ente.icb4dc0.de
|
2024-05-13 15:06:06 +00:00
|
|
|
|
2024-09-10 10:15:39 +00:00
|
|
|
cache:
|
|
|
|
type: redis
|
|
|
|
connectionString: redis://ente-musuem-cache:6379/0
|
2024-05-13 15:06:06 +00:00
|
|
|
|
|
|
|
# Various low-level configuration options
|
|
|
|
internal:
|
2024-09-10 10:15:39 +00:00
|
|
|
# If false (the default), then museum will notify the external world of
|
|
|
|
# various events. E.g, email users about their storage being full, send
|
|
|
|
# alerts to Discord, etc.
|
|
|
|
#
|
|
|
|
# It can be set to true when running a "read only" instance like a backup
|
|
|
|
# restoration test, where we want to be able to access data but otherwise
|
|
|
|
# minimize external side effects.
|
|
|
|
silent: false
|
|
|
|
# If provided, this external healthcheck url is periodically pinged.
|
|
|
|
health-check-url:
|
|
|
|
# Hardcoded verification codes, useful for logging in when developing.
|
|
|
|
#
|
|
|
|
# Uncomment this and set these to your email ID or domain so that you don't
|
|
|
|
# need to peek into the server logs for obtaining the OTP when trying to log
|
|
|
|
# into an instance you're developing on.
|
|
|
|
# hardcoded-ott:
|
|
|
|
# emails:
|
|
|
|
# - "example@example.org,123456"
|
|
|
|
# # When running in a local environment, hardcode the verification code to
|
|
|
|
# # 123456 for email addresses ending with @example.org
|
|
|
|
# local-domain-suffix: "@example.org"
|
|
|
|
# local-domain-value: 123456
|
|
|
|
# List of user IDs that can use the admin API endpoints.
|
|
|
|
admins:
|
|
|
|
- 1580559962386438
|
2024-05-13 15:06:06 +00:00
|
|
|
|
|
|
|
# Replication config
|
|
|
|
#
|
|
|
|
# If enabled, replicate each file to 2 other data centers after it gets
|
|
|
|
# successfully uploaded to the primary hot storage.
|
|
|
|
replication:
|
2024-09-10 10:15:39 +00:00
|
|
|
enabled: false
|
|
|
|
# The Cloudflare worker to use to download files from the primary hot
|
|
|
|
# bucket. Must be specified if replication is enabled.
|
|
|
|
worker-url:
|
|
|
|
# Number of go routines to spawn for replication
|
|
|
|
# This is not related to the worker-url above.
|
|
|
|
# Optional, default value is indicated here.
|
|
|
|
worker-count: 6
|
|
|
|
# Where to store temporary objects during replication v3
|
|
|
|
# Optional, default value is indicated here.
|
|
|
|
tmp-storage: tmp/replication
|
2024-05-13 15:06:06 +00:00
|
|
|
|
|
|
|
# Configuration for various background / cron jobs.
|
|
|
|
jobs:
|
2024-09-10 10:15:39 +00:00
|
|
|
cron:
|
|
|
|
# Instances run various cleanup, sending emails and other cron jobs. Use
|
|
|
|
# this flag to disable all these cron jobs.
|
|
|
|
skip: false
|
|
|
|
remove-unreported-objects:
|
|
|
|
# Number of go routines to spawn for object cleanup
|
|
|
|
# Optional, default value is indicated here.
|
|
|
|
worker-count: 1
|
|
|
|
clear-orphan-objects:
|
|
|
|
# By default, this job is disabled.
|
|
|
|
enabled: false
|
|
|
|
# If provided, only objects that begin with this prefix are pruned.
|
|
|
|
prefix: ""
|