commit 537318863d6a5b3a68fbae447d5bb8de9e2af43e Author: stephane.david Date: Sat Mar 22 12:35:36 2025 +0100 First Version 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