From 537318863d6a5b3a68fbae447d5bb8de9e2af43e Mon Sep 17 00:00:00 2001 From: "stephane.david" Date: Sat, 22 Mar 2025 12:35:36 +0100 Subject: [PATCH] First Version --- docker-compose.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..48788e8 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,22 @@ +services: + gomft: + image: drakkan/sftpgo:latest + container_name: SFTPGo + healthcheck: + test: ["CMD-SHELL", "nc -z 127.0.0.1 2022 || exit 1"] + interval: 10s + timeout: 5s + retries: 3 + start_period: 90s + ports: + - 2022:2022 + - 8280:8080 + volumes: + - /volume1/docker/sftpgo/data:/srv/sftpgo:rw + - /volume1/docker/sftpgo/home:/var/lib/sftpgo:rw + environment: + - TZ=Europe/Paris + - PUID=1000 + - PGID=1000 + - SFTPGO_GRACE_TIME=32 + restart: on-failure:5 \ No newline at end of file