From fc3098e316cd3c383da431708e70da624687843b Mon Sep 17 00:00:00 2001 From: cerberus Date: Tue, 27 Jan 2026 13:27:57 +0100 Subject: [PATCH] add copyparty --- copyparty/compose.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 copyparty/compose.yml diff --git a/copyparty/compose.yml b/copyparty/compose.yml new file mode 100644 index 0000000..ab84c2c --- /dev/null +++ b/copyparty/compose.yml @@ -0,0 +1,28 @@ +--- + +services: + copyparty: + image: copyparty/ac:latest + container_name: copyparty + user: "1000:1000" + ports: + - 3923:3923 + volumes: + - ./:/cfg:z + - /home/cerberus:/w:z + + environment: + LD_PRELOAD: /usr/lib/libmimalloc-secure.so.NOPE + # enable mimalloc by replacing "NOPE" with "2" for a nice speed-boost (will use twice as much ram) + + PYTHONUNBUFFERED: 1 + # ensures log-messages are not delayed (but can reduce speed a tiny bit) + + stop_grace_period: 15s # thumbnailer is allowed to continue finishing up for 10s after the shutdown signal + healthcheck: + # hide it from logs with "/._" so it matches the default --lf-url filter + test: ["CMD-SHELL", "wget --spider -q 127.0.0.1:3923/?reset=/._"] + interval: 1m + timeout: 2s + retries: 5 + start_period: 15s \ No newline at end of file