-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathconfig.yaml.template
More file actions
166 lines (143 loc) · 5.11 KB
/
config.yaml.template
File metadata and controls
166 lines (143 loc) · 5.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
#
# Loguru logging level (ERROR, WARNING, INFO, DEBUG, TRACE)
#
log_level: INFO
#
# Database URL (runtime - unprivileged user)
# For SQLite: sqlite:///fileglancer.db
# For PostgreSQL: postgresql://username:password@hostname:port/database_name
#
db_url: sqlite:///fileglancer.db
#
# Database admin URL (migrations - privileged user)
# If not specified, db_url will be used for migrations
# For PostgreSQL: postgresql://admin_user:admin_password@hostname:port/database_name
#
# db_admin_url: postgresql://admin_user:admin_password@localhost/fileglancer
#
# Database connection pool settings (applies to non-SQLite databases)
# These settings control the connection pool size for database connections
#
# db_pool_size: 5 # Number of connections to keep in the pool
# db_max_overflow: 0 # Number of additional connections allowed beyond pool_size
# If true, use seteuid/setegid for file access
# Set to False for local testing
#
use_access_flags: False
#
# File share mount paths to view in the UI.
# If not set, defaults to the user's home directory
#
# file_share_mounts:
# - "~/"
# - /tmp
#
# To view paths from fileglancer.db, use:
#
# file_share_mounts: []
#
# Atlassian Cloud info. Used for retrieving JIRA tickets.
#
# atlassian_url: https://YOUR_ORG_ID.atlassian.net
# atlassian_username: your_email@example.com
# atlassian_token: your_api_token
#
# JIRA browse URL for constructing ticket links
# If not specified, defaults to {atlassian_url}/browse
#
# jira_browse_url: https://YOUR_ORG_ID.atlassian.net/browse
#
# External URL for proxied paths
#
external_proxy_url: http://localhost:7878/files
#
# Maximum size of the sharing key LRU cache
# This controls how many sharing key lookups are cached in memory
# Higher values use more memory but reduce database queries
#
sharing_key_cache_size: 1000
#
# OKTA OAuth/OIDC Authentication Settings
# Set enable_okta_auth to true to require OKTA authentication
# When false, the application uses the $USER environment variable
#
# enable_okta_auth: false
#
# OKTA domain (e.g., your-domain.okta.com)
#
# okta_domain: your-domain.okta.com
#
# OKTA OAuth application client ID
#
# okta_client_id: your_client_id
#
# OKTA OAuth application client secret
# IMPORTANT: Keep this secret! Consider using environment variables instead
#
# okta_client_secret: your_client_secret
#
# OKTA OAuth redirect URI (callback URL)
# This must match the redirect URI configured in your OKTA application
#
# okta_redirect_uri: https://<your_domain>/api/oauth_callback
#
# Session Management Settings
#
#
# Secret key for signing session cookies
# If not set, a random key will be generated on each server start (sessions won't persist across restarts)
# For production, set this to a strong random string to maintain sessions across restarts
# Generate with: python -c "import secrets; print(secrets.token_urlsafe(32))"
#
# session_secret_key: your-generated-secret-key-here
#
# Session expiry time in hours
#
session_expiry_hours: 24
#
# Name of the session cookie
#
session_cookie_name: fg_session
#
# Whether to use secure flag on session cookies
# Set to false for development with self-signed certificates
# Set to true for production with valid HTTPS certificates
#
session_cookie_secure: true
#
# Settings for the Apps feature
#
# apps:
# extra_paths: # Paths appended to $PATH in every job script
# - /opt/nextflow/bin # and used when verifying tool requirements
# - /opt/pixi/bin
# Cluster configuration
# Mirrors py-cluster-api ClusterConfig - all fields are optional
# See: https://github.com/JaneliaSciComp/py-cluster-api
#
cluster:
executor: local # "local" or "lsf"
# extra_paths: # Directories prepended to the server's PATH at
# - /opt/lsf/bin # startup so scheduler commands (bsub, bjobs,
# # bkill) are findable. Useful when running as a
# # systemd service with a minimal default PATH.
# extra_env: # Extra environment variables set at startup.
# LSF_ENVDIR: /misc/lsf/conf # Required for LSF to find lsf.conf.
# job_name_prefix: fg # Prefix for cluster job names. REQUIRED for job
# # reconnection after server restarts. Without this,
# # active jobs will not be re-tracked and will
# # eventually be marked FAILED by the zombie timeout.
# memory: "8 GB" # Default memory allocation
# walltime: "04:00" # Default walltime (HH:MM)
# cpus: 1 # Default CPU count
# queue: normal # LSF queue name
# poll_interval: 10.0 # Job status polling interval (seconds)
# lsf_units: MB # Memory units for LSF (KB, MB, GB)
# suppress_job_email: true # Suppress LSF job email notifications
# extra_directives: # Additional scheduler directives (prefix auto-added)
# - "-P your_account"
# extra_args: # Extra CLI args appended to submit command
# - "-P"
# - "your_project"
# script_prologue: # Commands to run before each job
# - "module load java/11"