diff options
author | cbdev <cb@cbcdn.com> | 2021-10-30 00:29:27 +0200 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2021-10-30 00:29:27 +0200 |
commit | 689cdb8168b509887a459ea92d74280bc2fe8bbe (patch) | |
tree | 95904b1d137071b92b3a5ad31f84e938ac0df5e7 /backend/config.py | |
parent | b87909c9dd7aabe7b8f8bd63138876dff5cd2200 (diff) | |
download | cargohold-689cdb8168b509887a459ea92d74280bc2fe8bbe.tar.gz cargohold-689cdb8168b509887a459ea92d74280bc2fe8bbe.tar.bz2 cargohold-689cdb8168b509887a459ea92d74280bc2fe8bbe.zip |
Document config.py, add example nginx config and DB schema
Diffstat (limited to 'backend/config.py')
-rw-r--r-- | backend/config.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/backend/config.py b/backend/config.py index 3f70c39..effbf85 100644 --- a/backend/config.py +++ b/backend/config.py @@ -1,5 +1,10 @@ +# Default URL to redirect invalid accesses to homepage = "https://stumpf.es/" +# Base path for uploaded files fileroot = "/media/disk1/files.stumpf.es/" +# Global disk space limit global_limit = 0 +# Use per-user directories below the fileroot for individual storage user_subdirs = True +# Path to the backing database database = "cargohold.db3" |