diff --git a/docker-compose-files/copyparty/compose.yml b/docker-compose-files/copyparty/compose.yml new file mode 100644 index 0000000..e172ceb --- /dev/null +++ b/docker-compose-files/copyparty/compose.yml @@ -0,0 +1,20 @@ +version: '3' +services: + + copyparty: + image: copyparty/ac:latest + container_name: copyparty + user: "1000:1000" + ports: + - 3923:3923 + volumes: + - ./:/cfg:z + - /path/you/want/to/share/publicly:/w:z + + stop_grace_period: 15s # thumbnailer is allowed to continue finishing up for 10s after the shutdown signal + healthcheck: + test: ["CMD-SHELL", "wget --spider -q 127.0.0.1:3923/?reset"] + interval: 1m + timeout: 2s + retries: 5 + start_period: 15s