Add copyparty.yaml
This commit is contained in:
@@ -0,0 +1,31 @@
|
|||||||
|
services:
|
||||||
|
copyparty:
|
||||||
|
image: copyparty/ac:latest
|
||||||
|
container_name: copyparty
|
||||||
|
restart: unless-stopped
|
||||||
|
user: "1001:1001"
|
||||||
|
ports:
|
||||||
|
- 3923:3923
|
||||||
|
volumes:
|
||||||
|
- /srv/docker/utilities/copyparty/conf/copyparty.conf:/cfg/config.conf:ro #config
|
||||||
|
- /srv/docker/utilities/copyparty/db:/cfg/hists #database files
|
||||||
|
- /mnt/raid1/data/sharefiles:/files #files being exposed to copyparty
|
||||||
|
environment:
|
||||||
|
LD_PRELOAD: /usr/lib/libmimalloc-secure.so.2 #makes download-as-zip 3x as fast, filesystem-indexing 1.5x as fast, etc.(will use twice as much ram)
|
||||||
|
PYTHONUNBUFFERED: 1 # ensures log-messages are not delayed (but can reduce speed a tiny bit)
|
||||||
|
TZ: America/Chicago
|
||||||
|
stop_grace_period: 10s # thumbnailer is allowed to continue finishing up for 10s after the shutdown signal
|
||||||
|
labels:
|
||||||
|
- homepage.group=Utilities
|
||||||
|
- homepage.name=Copyparty
|
||||||
|
- homepage.icon=copyparty.png
|
||||||
|
- homepage.href=http://192.168.0.131:3923
|
||||||
|
- homepage.description=File server with resumable uploads
|
||||||
|
- rackpeek.tags=utilities
|
||||||
|
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
|
||||||
Reference in New Issue
Block a user