From 7fdd971c46f7134afff23a85acccdde13f9ee2bc Mon Sep 17 00:00:00 2001 From: Jay Rogers Date: Wed, 28 Aug 2024 21:06:20 -0500 Subject: [PATCH] Removed healthcheck --- README.md | 12 ------------ src/Dockerfile | 5 +---- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/README.md b/README.md index 9193e7e..44bc155 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,6 @@ The image is based on `ubuntu:24.04`, providing a stable and up-to-date environm - TLS encryption support - Customizable configuration via environment variables - Self-signed SSL certificate generation -- Health check for container status monitoring ## Environment Variables @@ -133,17 +132,6 @@ VALUES ( ); ``` -## Healthcheck - -The container includes a healthcheck that verifies if the ProFTPD server is running on port 21. The healthcheck configuration is as follows: - -```dockerfile -HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \ - CMD nc -z localhost 21 || exit 1 -``` - -This checks the ProFTPD service every 30 seconds, with a 10-second timeout and 3 retries before marking the container as unhealthy. - ## Resources - **[Discord](https://serversideup.net/discord)** for friendly support from the community and the team. - **[GitHub](https://github.com/serversideup/docker-proftpd)** for source code, bug reports, and project management. diff --git a/src/Dockerfile b/src/Dockerfile index 59afc7b..c1ea95d 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -53,7 +53,4 @@ RUN mkdir -p ${FTP_USERS_DIR} && \ EXPOSE 21 990 60000-60100 # Start ProFTPD -CMD ["proftpd", "--nodaemon"] - -HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \ - CMD nc -z localhost 21 || exit 1 \ No newline at end of file +CMD ["proftpd", "--nodaemon"] \ No newline at end of file