Files
phylum/server/internal/command/config.defaults.yml
T
2025-06-26 15:32:38 +05:30

84 lines
1.5 KiB
YAML

db:
host: localhost
port: 5432
name: phylum
user: phylum
password: phylum # Probably need to change this
nomigrate: false # Do not auto-migrate schema (dev)
trace: false # Trace queries (dev)
storage:
root: storage
temp: tmp # relative to root, or absolute
core:
user: # Config for new users
basedir: /home
permission: 0x10 # Invite users
auth:
auto_create_domains:
- example.com
password:
backend: crypt
crypt:
hash: argon2
argon2:
memory: 2048
iterations: 6
parallelism: 4
salt: 32
key: 32
requirements:
length: 12
lower: 1
upper: 1
numeric: 1
symbols: 1
ldap:
debug: false
url: ldap://ldap.example.com:1389
starttls: false
connect_timeout: 30s
request_timeout: 30s
dn_template:
search:
bind_dn:
bind_password:
base_dn:
filter_template:
# openid_providers:
# - id: google
# name: Google
# issuer_url: https://accounts.google.com
# client_id:
# client_secret:
jobs:
workers: 5
timeout: 0 # In seconds
server:
host:
port: 2448
publinkpath: /pub
webdav:
enabled: true
path: /webdav
cors:
enabled: false
origins:
- "*"
mail:
smtp:
host:
port: 587
username:
password:
from:
name: Phylum Drive
email: phylum@example.com
instance: https://phylum.example.com # No trailing slash