From ada70ea42c39b579b8aad248068b95c956a79a1c Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Wed, 22 Apr 2026 14:32:23 +0900 Subject: deploy copyparty MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- bundles/copyparty/files/copyparty.conf | 67 ++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 bundles/copyparty/files/copyparty.conf (limited to 'bundles/copyparty/files/copyparty.conf') diff --git a/bundles/copyparty/files/copyparty.conf b/bundles/copyparty/files/copyparty.conf new file mode 100644 index 0000000..a087c38 --- /dev/null +++ b/bundles/copyparty/files/copyparty.conf @@ -0,0 +1,67 @@ +# vim: ft=ini et sw=2: + +[global] + # enable colors in log messages (both in logfiles and stdout) + # ansi + # disable logging for more performance + q + + # trust traefik + rproxy: 1 + xff-src: 10.89.0.0/16 + + # use user/group from authelia middleware + idp-h-usr: remote-user + idp-h-grp: remote-groups + idp-login: https://login.gzr.im/?rd=https://cp.gzr.im{dst} + + + # df: 16 # stop accepting uploads if less than 16 GB free disk space + # 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 + + # enable the prometheus endpoint, but disable the dupes counter (too slow) + stats, nos-dup + + # make it harder for search engines to read your server + no-robots, force-js + + # panic and shutdown instead of just showing the warning + vc-exit + + html-head: + +[/] + /w + accs: + # read-write-move-delete-admin + rwmda: @admins + flags: + e2ds # enable file indexing & filesystem-scanning + e2ts # enable metadata indexing + +[/public] + /w/public + accs: + r: * + rw: nobody + # read-write-move-delete-admin + rwmda: @admins + +[/u] + /w/u + accs: + rwmda: @admins + +[/u/${u}] + /w/u/${u} + accs: + r: * + rwmda: ${u}, @admins + +[/www] + /var/www + accs: + rwmda: @admins -- cgit 1.4.1