# not actually YAML but lets pretend: # -*- mode: yaml -*- # vim: ft=yaml: [global] # enable file indexing and filesystem scanning e2dsa # enable multimedia indexing e2ts # enable colors in log messages (both in logfiles and stdout) ansi # q, lo: /cfg/log/%Y-%m%d.log # log to file instead of docker # p: 3939 # listen on another port # ipa: 10.89. # only allow connections from 10.89.* # ipa: 172.16.4.0/23 # ...or only 172.16.4.* and 172.16.5.* # ipa: lan # ...or allow LAN only; reject internet IPs # stop accepting uploads if less than 16 GB free disk space df: 16 # ver # show copyparty version in the controlpanel # grid # show thumbnails/grid-view by default # theme: 2 # monokai # name: datasaver # change the server-name that's displayed in the browser # stats, nos-dup # enable the prometheus endpoint, but disable the dupes counter (too slow) no-robots, force-js # make it harder for search engines to read your server # create users: [accounts] # Use format of: username: password admin: Co0302UM! craigwms: Co0302UM! sabrinawms: dec14191 # permissions key: # r (read): Allows browsing folder contents, downloading files, downloading as zip/tar files, and seeing file/directory keys # w (write): Allows uploading files and moving/copying files into the specified folder # m (move): Allows moving files/folders from the specific folder # d (delete): Allows deleting files/folders # a (admin): Grants administrative functions within that volume's scope, such as reloading the configuration from the control panel # create volumes: # allow admin to access everything [/] /w accs: rwmda: admin # allow everyone to read files but # logged in users can read and write [/public] /w/public accs: r: * rw: craigwms, sabrinawms # allow user craigwms only to access private files [/private] /w/private accs: rwmd: craigwms # allow everyone to upload files but browse not allowed unless logged in [/drop] /w/drop flags: nodir accs: w: * rwmda: craigwms, sabrinawms